Skye Posted September 24, 2015 Share Posted September 24, 2015 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
lynx Posted September 24, 2015 Share Posted September 24, 2015 check what parameters the fireshields use. Link to comment
Magus Posted September 24, 2015 Share Posted September 24, 2015 The spell should be instant to not get interrupted Link to comment
Skye Posted September 24, 2015 Author Share Posted September 24, 2015 Gah, my spell's range was too small. It worked fine after I changed it from 1 to 30. Thanks, lynx. Comparing my spell and fireshield allowed me to quickly spot all the differences. Link to comment
Fiann of the Silver Hand Posted September 24, 2015 Share Posted September 24, 2015 Happened to me until I just started building the spells from scratch instead of cloning and altering. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.