Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Boon of Lathander in Script

$
0
0
Hi there, I am trying to write a script in which my character, a priest of lathander/mage dual class, automatically casts some buffing spells on himself. Very basic script, it looks like this so far (haven´t done the clerical spells yet)

IF
ActionListEmpty()
HaveSpell(WIZARD_IMPROVED_ALUCRITY)
HaveSpell(WIZARD_PROTECTION_FROM_EVIL)
HaveSpell(WIZARD_MIRROR_IMAGE)
HaveSpell(WIZARD_BLUR)
HaveSpell(WIZARD_STONE_SKIN)
HaveSpell(WIZARD_IMPROVED_INVISIBILITY)
HaveSpell(WIZARD_IMPROVED_HASTE)
THEN
RESPONSE #100
Spell(Myself,WIZARD_IMPROVED_ALUCRITY)
Spell(Myself,WIZARD_PROTECTION_FROM_EVIL)
Spell(Myself,WIZARD_MIRROR_IMAGE)
Spell(Myself,WIZARD_BLUR)
Spell(Myself,WIZARD_STONE_SKIN)
Spell(Myself,WIZARD_IMPROVED_INVISIBILITY)
Spell(Myself,WIZARD_IMPROVED_HASTE)
END


Now the problem I encouter is that if I try to add the innate boon of lathander spell to this script, I get an error message telling me "boon of lathander not found in spell IDs". Is there a way I could successfully add said spell to this script?

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images