How can i make this skill wont work ( not able to cast it ) if my life points is lover than 1001 ?
Code:
Events
Last Wish
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Last Wish
Actions
Unit - Cause (Triggering unit) to damage (Triggering unit), dealing 1000.00 damage of attack type Chaos and damage type Divine
Unit - Set life of (Target unit of ability being cast) to 100.00%
Unit - Set mana of (Target unit of ability being cast) to 100.00%
Unit - Remove Negative buffs from (Target unit of ability being cast)