Chocobo
White-Flower
- Reaction score
- 409
I'm requesting a simple way to cancel damage (with damage event).
ex : footman (100 hp) takes 200 dmg -> footman block -> footman remains 100 hp
My current try is a set of 100 "local" triggers which allows to block 100 times in a very short time, but it appears to bug when I come at damages with interval of 0.16s (I use trigger execute count for indexing), the unit just fully heals after taking damage in that time (and never dies).
note : no vjass or anything like that, I just want simple JASS script
(such as call DamageCancel(GetTriggerUnit(),<somedmg>))
ex : footman (100 hp) takes 200 dmg -> footman block -> footman remains 100 hp
My current try is a set of 100 "local" triggers which allows to block 100 times in a very short time, but it appears to bug when I come at damages with interval of 0.16s (I use trigger execute count for indexing), the unit just fully heals after taking damage in that time (and never dies).
note : no vjass or anything like that, I just want simple JASS script
(such as call DamageCancel(GetTriggerUnit(),<somedmg>))