• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

How to make an efficency VS a Certain Unit

Status
Not open for further replies.
Level 5
Joined
Jun 25, 2013
Messages
52
Like reduce damage taken by a certain unit by (X)%
I'd need the whole thing as a Spell. Basically what I want to do is that whenever the soldier goes into DEF it reduces the damage taken by a certain unit(not all).

I would then just add / remove the spell with the ability being activated deactivated. I am thankful though if there is a way to simple integrate it into the soldier def ability itself.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,275
Give them more armor and a magic resistance ability.

Armor reduces damage to a minimum of 1 (before type modifiers).
Magic resistance reduces damage taken as an additive percentage, to the point that 101% will even heal you 1% when damaged.

Armor works by raising equivalent hitpoints for all attack damage (not ability) by the percentage defined by gameplay constants (default 6%). The damage reduction is diminishing however but you can compensate by scaling the armor amount added (simple equation re-arrange).

Abilities like defend and the one arcane shield thing item can reduce certain types of damage by a percentage. If the unit has mana you can use a ultra efficient mana shield to reduce damage taken by a percentage (so efficient the man used is trivial).
 
Status
Not open for further replies.
Top