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

any way to convert damage taken to 0?

Status
Not open for further replies.
Why not make a hardened skin and set these settings?
attachment.php


It also works on unit with 10 hp.
I tested with a peasant having 10 hp getting damaged by a hero with 200-250 damage. The peasant receives 0 damage.
However, I am not sure whether to put the minimum damage to complete zero or 0.01.

If you want the ability to be invisible, simply put it in a spellbook and disable it.
 

Attachments

  • Clipboard01.jpg
    Clipboard01.jpg
    119.6 KB · Views: 297
Level 28
Joined
Jan 26, 2007
Messages
4,789
That won't work for damage that would normally kill it.
Damage is only dealt after a trigger that fires with the event "A unit takes damage".
This means that if you increase HP upon detection, the unit will not die.

There are, however, some problems:
1) If the unit is at max HP, healing doesn't work and damage is received normally.
2) If an attack overkills a unit (e.g.: unit has 10HP, attack deals 15 damage), the unit will still die.

However, Damage Engine accounts for all those problems (by using a +500k HP ability).

In short: this trigger works (reduces all incoming damage to 0).
  • On Damage
    • Events
      • Game - DamageModifierEvent becomes Equal to 1.00
    • Conditions
    • Actions
      • Set DamageEventAmount = 0.00
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
How about as what UgoUgo said, add a Hardened Skin that perfectly blocks all damage and for the magic, Resistant skin that perfectly blocks magic spells. You will just have to configure those abilities to block all possible damages.
 
Status
Not open for further replies.
Top