Only one unit hit by multi-shockwave

PsychoticX

New Member
Reaction score
0
I have an ability casting 8 shockwaves away from a unit in different directions. If a unit gets hit by any one of them, they shouldn't take any more damage from that instance of the ability. How can I make any unit which receives damage from this immune to it for the rest of the instance?

As it stands, a unit standing in melee range will get hit 3 or 4 times...
 

Rainther

I guess I should write something of value here...
Reaction score
61
I'd take to use triggers for it.
Set the shockwaves to do 0 damage and make a growing call GroupEnumInRange()
And every time an enemy unit is caught within the range it gets injured and added to a group in structs which can't be affected any more by this spell.

Do you need codes? And do you have JassNewGen?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top