Heloes Hive Workshop
I have a slight problem. I'd like to make a triggered damage reduction. Let's say I want a footman to take less damage than he would, even after taking armor to consideration. The only idea I have is to heal the unit by a percentage of damage taken after it happens, but then lethal demage, which are to be reduced to non-lethal via the trigger, would still kill the unit.
Let me use an example.
I have a footman with 200 max hp, he now has 20 left. Some unit causes him damage, which, after being reduced by footman's armor, would still make him lose 25 points, which would leave him with -5 hp and dead.
Let's say I have a Magic Armor spell which, when affecting a unit, make it take 50% less damage (after the unit's armor reduction) so, if the foorman would take given 25 dmgs, he would take only 12.5 when having Magic Armor buff on and resulting in surviving given hit.
With my idea he would lose 25 hps and the be healed by 12.5, but it would not matter, as he would already be dead, right? Correct me if I'm wrong, maybe the 'dead' is some abstract state in Warcraft, I never checked and now I unable to.
But still, if my idea wouldn't work (as I believe is true), any other ones?
I have a slight problem. I'd like to make a triggered damage reduction. Let's say I want a footman to take less damage than he would, even after taking armor to consideration. The only idea I have is to heal the unit by a percentage of damage taken after it happens, but then lethal demage, which are to be reduced to non-lethal via the trigger, would still kill the unit.
Let me use an example.
I have a footman with 200 max hp, he now has 20 left. Some unit causes him damage, which, after being reduced by footman's armor, would still make him lose 25 points, which would leave him with -5 hp and dead.
Let's say I have a Magic Armor spell which, when affecting a unit, make it take 50% less damage (after the unit's armor reduction) so, if the foorman would take given 25 dmgs, he would take only 12.5 when having Magic Armor buff on and resulting in surviving given hit.
With my idea he would lose 25 hps and the be healed by 12.5, but it would not matter, as he would already be dead, right? Correct me if I'm wrong, maybe the 'dead' is some abstract state in Warcraft, I never checked and now I unable to.
But still, if my idea wouldn't work (as I believe is true), any other ones?