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

damages problem

Status
Not open for further replies.
Hello
I need an ability that allows to the unit to give more damages to somes units. I dont want percentage but number (+5, +8, +15 instead of 125%, 133%, 150%)
I know that the attacks type and defense type must be the same for all unit and the attacks type must deals 100% damages to the defense type.
I need another ability that reduce the damages received. The amount must be calculate in number instead of percentage too (-3, -4, -6 instead of -11%, -15%, -30%)
thanks to answer as soon as possible ;)
 
try looking into the "do damage to target" action in triggers. they have many different types of damage you haven't even seen before in conventional warcraft like "fire" and "divine".

to add damage to a particular type of enemy, first define the "race" of the enemy (i.e. human/demon/commoner/creep). Then, set event to be when a unit is attacked and use the condition "race comparison" (say triggering unit race equals to naga) and then add the damage action (say do 20 chaos damage of divine type) to the triggering unit
 
You can use that passive aura Paladin has, it gives armor. Just set it to have range of 0 to effect only the owner...
Oh, and about attack increase... not sure, but... right, you can use the passive abilities items have! You just have to edit the abilities of items like claws of attack and change damage and who ability efects and damage added, and add it to the unit.
 
Status
Not open for further replies.
Back
Top