The HP drain damage type in the skills tab allows the caster to absorb the amount of damage dealt. This would be OP for what I want, so I would like to be able to have e.g. 50% or 25%. I have played around with the damage formula and as far as I can see, I would have to specify the damage calculation, then have something like a.hp += (that damage times 0.5). However, I can't get my head around the syntax.
Can anyone enlighten me?
Thanks.
Can anyone enlighten me?
Thanks.

