Trigger:
- Untitled Trigger 002
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to YOUR ABILITY
- Actions
- Set TargetHP = (Life of (Target unit of ability being cast))
- Unit - Set life of (Target unit of ability being cast) to (TargetHP - ((Max life of (Target unit of ability being cast)) x 0.04))
Just change the 0,04 to the percentage that you want it to remove.
TargetHP = Real variable
Myt.
It would be better to cause triggering unit to damage target unit of ability. Setting the life like this, the damage source will not be the caster.
Hi everyone... I'm trying to create spell that should do this:
When hit someone it will deal 4/8/12/16% of unit being hit max life?
How can i do this ?