View Full Version : Shieldbreaker + Shroud
Connect
04-19-2011, 03:38 PM
Is the -armor taken into account before damage is dealt when using shrouds bonus damage?
It adds the -armor before, the Shroud damage is deal with your auto-attack.
<onattackpredamage propagatetoillusions="false" >
<compare a="combat_attackability" b="0" op="eq">
<cantarget targetscheme="enemy_units">
<condition test="bounce_count lt 2">
<applystate name="State_Item3B" duration="5000"/>
</condition>
</cantarget>
</compare>
</onattackpredamage>
Connect
04-19-2011, 04:35 PM
Perfect. Thanks buddy!
supitsLoki
04-19-2011, 11:50 PM
i'm a little tired so this is probably a stupid question, but i've always wondered and would just like some clarification.
shieldbreaker's effect (-6 armor) is applied before the damage of the attack is?
so the first attack that applies the debuff deals the same amount of damage as an attack against someone who already has the debuff?
i hope that makes sense.
Edit: just reread the code and i'm sure that the answer is yes, but don't know how to delete posts lol.
^Again, it adds the -armor "pre-damage".
supitsLoki
04-20-2011, 06:46 PM
yeah that's why i tried to delete my post lol.