B
bio-zombie
Guest
hello, i need help on one of my spell. When i cast this trigger spell on a target, and when the damages is higher than the target's health, they just killed without give me exp. what is the problem with the trigger? or should i add anything to the trigger?
here is the trigger:
events
Unit - A unit Begins casting an ability
conditions
(Ability being cast) Equal to my spell
actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - ((Real((Strength of (Casting unit) (Exclude bonuses)))) x 0.60))
here is the trigger:
events
Unit - A unit Begins casting an ability
conditions
(Ability being cast) Equal to my spell
actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) - ((Real((Strength of (Casting unit) (Exclude bonuses)))) x 0.60))


