- Joined
- Dec 22, 2007
- Messages
- 102
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Fire Shield

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Fire Shield

Actions


Set Daemon = (Triggering Unit)


Set FireShieldTarget = (Target unit of ability being cast)


Set TargetMana = (Mana of FireShieldTarget)


Unit - Add Fire Shield (Bundle) to FireShieldTarget


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Level of Fire Shield for Daemon) Equal to 2



Then - Actions




Unit - Set level of Fire Shield (Effect) for FireShieldTarget to 2




Unit - Set level of Fire Shield Armor for FireShieldTarget to 2



Else - Actions



If (All Conditions are True) then do (Then Actions) else do (Else Actions)




If - Conditions





FireShieldTarget Equal to Daemon




Then - Actions





Unit - Set mana of FireShieldTarget to (TargetMana - 100)




Else - Actions





Unit - Set mana of FireShieldTarget to TargetMana



Unit Group - Add FireShieldTarget to FireShieldTargets



Trigger - Turn on Fire Shield Targets <gen>
If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If - Conditions


(Level of Fire Shield for Daemon) Equal to 2

Then - Actions


Unit - Set level of Fire Shield (Effect) for FireShieldTarget to 2


Unit - Set level of Fire Shield Armor for FireShieldTarget to 2

Else - Actions
Actions

Unit - Set level of Fire Shield (Effect) for FireShieldTarget to (Level of Fire Shield for (Triggering unit))

Unit - Set level of Fire Shield Armor for FireShieldTarget to (Level of Fire Shield for (Triggering unit))