Need Explanation (scripting help)
Igneos_Eructid
Member Posts: 11
IF
See(NearestEnemyOf(Myself))
HaveSpell(WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,25,SPELLFAILUREMAGE)
CheckStatLT(Myself,1,WIZARD_SPELL_IMMUNITY)
THEN
RESPONSE #100
Spell(Myself,WIZARD_SPELL_IMMUNITY_CONJURATION)
END
I need explanation why this doesn't work. If I use SpellNoDec, then it works, but I do not wish to cheat.
See(NearestEnemyOf(Myself))
HaveSpell(WIZARD_SPELL_IMMUNITY)
CheckStatLT(Myself,25,SPELLFAILUREMAGE)
CheckStatLT(Myself,1,WIZARD_SPELL_IMMUNITY)
THEN
RESPONSE #100
Spell(Myself,WIZARD_SPELL_IMMUNITY_CONJURATION)
END
I need explanation why this doesn't work. If I use SpellNoDec, then it works, but I do not wish to cheat.
1
Comments
RESPONSE#100
RemoveSpell(Myself,WIZARD_SPELL_IMMUNITY)
SpellNoDec(Myself,WIZARD_SPELL_IMMUNITY_CONJURATION)
END