How do you reduce damage a unit take?

J3T

Valued Member!
Hey there,
i was wondering, whether we can somehow reduce the damage a unit take or expand the damage the unit can take by just using the init line.

I guess it's done via evenhandler, i tried a bit but can someone tell me whether this will work or not (my first time working with EH).
Code:
this addEventHandler ["HandleDamage", {(_this select 2)/2}];

thanks J3T
 
Back
Top