Feast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Feast
Actions
Game - Display to (All players) the text: (Current HP = + (String((Life of (Triggering unit)))))
Set FeastReal = (FeastDamage[(Level of (Ability being cast) for (Triggering unit))] - (Life of (Target unit of ability being cast)))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
FeastReal Greater than 0.00
Then - Actions
Else - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + FeastDamageHP[(Level of (Ability being cast) for (Triggering unit))])
Game - Display to (All players) the text: (HP = + (String((Life of (Triggering unit)))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Target unit of ability being cast) is Summoned) Equal to True
Then - Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing FeastDamageSummoned damage of attack type Magic and damage type Magic
Else - Actions
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing FeastDamage[(Level of (Ability being cast) for (Triggering unit))] damage of attack type Magic and damage type Magic