Jump to content

Problems with Opcode 232 (Cast Spell on Condition)


Recommended Posts

I'm trying to set up a passive effect where a creature will cast a spell at anyone who hits it.


Opcode 232 seems to suggest that you can set up HitBy() as condition and LastHitter as target, but all I get when hit is, "One of the spells has failed." Presumably, that happens because it gets interrupted by damage? I tried setting the "no failure" flag on the spell, but it doesn't change anything. The targetting is a simple "one crature" with the single effect set to "pre-target", so that shouldn't be the problem.


Any clues as to what could be wrong? Or is it just not doable this way?


I can do the same thing with a script, but I figured if there's already an effect for it...

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...