• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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