• 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.

Looking for taken damange increase/decrease

Status
Not open for further replies.
Level 4
Joined
Dec 3, 2014
Messages
64
Hi guys iwant to make a spell for a hero which targets a unit and causes it to take more damage from attacks and spells by x%. I preffer a buff but i noticed that elunes grace doesn't work because it's a passive. Is there any thing like that except the berserk-ability that can do something like that because i don't that do stack the same effect multipletimes. Thanks for your help :)
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
You do have to trigger the buff.
Maybe create a dummy unit that casts a dummy spell on the target creating the (null-behavior) buff.
Then you can use a DDS and check if the damaged unit has that buff, if so, change the damage multiplier. (I hope Bribe has already implemented that one.)

You might need a unit indexer to keep track of the exact percentage to increase/decrease the damage.
 
Status
Not open for further replies.
Top