I tried to make this spell but the time i cast a spell on the unit that has 50% life goes to 80% let me show the trigger
Pls tell how to arrange the spell?
Code:
Events
Unit starts the effect of an ability
Conditions
(Ability being cast) Equal to Demi
Actions
Set c = (Casting unit)
Set t = (Target unit of ability being cast)
If ((Level of Demi for c) Equal to 1) then do (Unit - Set life of t to 80.00%) else do (Do nothing)
If ((Level of Demi for c) Equal to 2) then do (Unit - Set life of t to 60.00%) else do (Do nothing)
If ((Level of Demi for c) Equal to 3) then do (Unit - Set life of t to 40.00%) else do (Do nothing)