- Joined
- Oct 11, 2012
- Messages
- 711
When I set the udg_DmageEventAmout like this:
The incoming damage was modified to the correct amount, but it seems the Cheat Death Ability (DamageBlockingAbility) was given to the unit every time when it was attacked and the unit's HP never dropped...
Why is this happening ?
JASS:
if ( ( GetUnitTypeId(udg_DamageEventTarget) == 'H00Q' ) ) then
set udg_DamageEventAmount = (udg_DamageEventAmount*0.10)
endif
The incoming damage was modified to the correct amount, but it seems the Cheat Death Ability (DamageBlockingAbility) was given to the unit every time when it was attacked and the unit's HP never dropped...
Why is this happening ?