I'm trying to alter a script in which you inflict dammage to a nearby Unit.
In the script it sets dammage = 1 on the target. But I want it to just subtract 0.5 from
the dammage. So that every time you use the script the targets dammage is reduced
by 0.5.
I tried something like this.
var = getdammage _target
_target setdammage var-0.5
The original was:
_target setdammage 1
But it won't do the trick.. Any ideas?