2012-03-03, 17:23:00
Well no, that's not the case.
That's all there is happening. It's either one of them, but it cannot be both.
Code:
if (IsUnitType(target, UNIT_TYPE_HERO)) then
call SetUnitState(target,UNIT_STATE_LIFE, GetUnitState(target,UNIT_STATE_LIFE)*1.02)
else
call SetUnitState(target,UNIT_STATE_LIFE, GetUnitState(target,UNIT_STATE_LIFE)+90)
endif
That's all there is happening. It's either one of them, but it cannot be both.
This post has been brought to you by Sand - it's everywhere, get used to it.