• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Reduced damage while under spell effect

Status
Not open for further replies.
Level 10
Joined
Jun 6, 2007
Messages
392
I'm making a spell in vJass, which periodically damages enemy units in a line while channelling. That part is done, now I'd like to expand the spell: the damage of all units within that line is reduced by X%. My plan is to add a modified command aura to units (in periodical loop) if they don't have it already, but removing the ability when the unit is no longer under the spell effect causes problems. It's not very difficult to do, but I'm looking for a simple and efficient way. All my solutions contain unit group handling, which may be very inefficient.
 
Status
Not open for further replies.
Back
Top