- Joined
- Dec 12, 2012
- Messages
- 1,007
Hello all,
I was woundering if there is a way to deal a certain amount of damage to a unit with completly ignoring its armortypes/resistances/customized damage table/everything.
Of course it could be done with
BUT if the unit dies, the damager wont get any xp (as there is no damager).
Is there a way?
Greetings,
lfh
I was woundering if there is a way to deal a certain amount of damage to a unit with completly ignoring its armortypes/resistances/customized damage table/everything.
Of course it could be done with
JASS:
call SetUnitState(target,UNIT_STATE_LIFE,GetUnitState(target,UNIT_STATE_LIFE) - amount)
BUT if the unit dies, the damager wont get any xp (as there is no damager).
Is there a way?
Greetings,
lfh