• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Recode Death & Decay damage

Status
Not open for further replies.
Level 13
Joined
Aug 19, 2014
Messages
1,111
Hello guys is it possible to recode the damage of the Death & Decay ability? Like turn its damaged into piercing, normal, siege etc. If so can someone show me how? Also what kind of damage does default WC3 spells do?
 
Also what kind of damage does default WC3 spells do?

Uhm... spells damage? It's a whole category by itself which normally deals 100% to all armours except on heroes which is just a 75% and divine which is just a mere 5%.
As for your main question, you can change the damage into piercing using triggers but I don't know how to pick the units within death and decay :/ I'm unable to pick the units in the AoE of a skill (yeah, those skills with a circle before you cast them).
 
You would have to redo the whole spell with triggers. Ones like these are sort of complicated since you have to keep track of a bunch of variables over time (can get messy with GUI if you are not used to it).

If you use JASS, you could use a timer that damages all the units in the area every interval as long as the hero is still channelling the spell. You calculate the damage you need to deal based on each unit's maximum health and then deal that much damage with the damage type you want. You would have the radius in the timer function and you would just have to make it match the spell's radius.

In GUI, you could build it with two triggers. One to check when a unit casts the spell and another one to do the periodic effect. It would work basically the same as the JASS version except you would have to keep track of all the units casting it properly so that you don't break it when lots of units are casting it.
 
Status
Not open for further replies.
Back
Top