• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Help with my spell (spell immunity problem)

Status
Not open for further replies.
Level 2
Joined
Jul 22, 2004
Messages
30
My spell is petrify where it turns a unit into stone (just turns grey and freezes the target) but I am having problems. You are able to cast it again on the unit that you targeted and it does the same thing!! I tryed giving the unit spell immunity but you can still cast petrify on it. I still want to have spell immunity because stones reflect magic.I even changed the base ability but it STILL doesn't work. If you know what is wrong please post it here and tell me.

Thank You.
 
Level 3
Joined
Mar 25, 2004
Messages
51
Well... I dunno the problem, but I think I know a solution to the recasting problem.

When it turns a unit grey, add that unit to a unit group
When the trigger is called, check to make sure the unit is not in the unit group.
When the effect ends, remove that unot frpm the unit group.

Or just make the cooldown longer then the effect.
 
Status
Not open for further replies.
Top