Skip to content

need a little help with ShapeShifter AI

Why am i not turning back into HumanForm?All the rest works in order so my shifter casts one spell of each before morphing but dosnt go back to human :(



IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
HaveSpell(CLERIC_ALICORN_LANCE) // SPPR218.SPL (Alicorn Lance)
THEN
RESPONSE #100
Spell(NearestEnemyOf(Myself),CLERIC_ALICORN_LANCE) // SPPR218.SPL (Alicorn Lance)
Continue()
END

IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
HaveSpell(CLERIC_SUNSCORCH) // SPPR115.SPL (Sunscorch)
THEN
RESPONSE #100
Spell(NearestEnemyOf(Myself),CLERIC_SUNSCORCH) // SPPR115.SPL (Sunscorch)
Continue()
END

IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
HaveSpell(SHAPESHIFTER_SHAPESHIFT_WEREWOLF) // SPCL643.SPL (Shapeshift: Werewolf)
THEN
RESPONSE #100
Spell(Myself,SHAPESHIFTER_SHAPESHIFT_WEREWOLF) // SPCL643.SPL (Shapeshift: Werewolf)
END

IF
ActionListEmpty()
See(NearestEnemyOf(Myself))
THEN
RESPONSE #100
Attack(NearestEnemyOf(Myself))
END

IF
ActionListEmpty()
HaveSpell(SHAPESHIFTER_SHAPESHIFT_NATURAL_FORM) // SPIN124.SPL (Shapeshift: Natural Form)
THEN
RESPONSE #100
Spell(Myself,SHAPESHIFTER_SHAPESHIFT_NATURAL_FORM) // SPIN124.SPL (Shapeshift: Natural Form)
END
Sign In or Register to comment.