- Joined
- Oct 7, 2014
- Messages
- 2,209
Hello Hive I'm asking if anyone could help with this trigger.
I want to target one enemy unit but also damages the two nearest enemy units with this spell.
I want to target one enemy unit but also damages the two nearest enemy units with this spell.
-
Ancestral Flame
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Ancestral Flame
-
-
Actions
-
Set AF_Target = (Target unit of ability being cast)
-
Set AF_Damage[1] = (Real(((Intelligence of (Triggering unit) (Include bonuses)) x 10)))
-
Set AF_Damage[2] = (Real(((Intelligence of (Triggering unit) (Include bonuses)) x 12)))
-
Set AF_Damage[3] = (Real(((Intelligence of (Triggering unit) (Include bonuses)) x 15)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Ancestral Flame for (Triggering unit)) Equal to 1
-
-
Then - Actions
-
Unit - Cause (Triggering unit) to damage AF_Target, dealing AF_Damage[1] damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Ancestral Flame for (Triggering unit)) Equal to 2
-
-
Then - Actions
-
Unit - Cause (Triggering unit) to damage AF_Target, dealing AF_Damage[2] damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Ancestral Flame for (Triggering unit)) Equal to 3
-
-
Then - Actions
-
Unit - Cause (Triggering unit) to damage AF_Target, dealing AF_Damage[3] damage of attack type Spells and damage type Normal
-
-
Else - Actions
-
-
-