- Joined
- Aug 31, 2018
- Messages
- 167
When i don't have 10 stacks of [item - soul] i deal 1000 damage [like in the trigger] but when i have 10 stacks i deal 200 + 1000 damage (both damage triggers apply) Why? It should only deal 200 damage if i have 10 stacks.
-
AoE Thunder Clap
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-

Actions
-


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



If - Conditions
-




(Ability being cast) Equal to Thunder Clap
-
-



Then - Actions
-




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





If - Conditions
-






((Triggering unit) has an item of type Souls) Equal to True
-






((Charges remaining in (Item carried by (Triggering unit) of type Souls)) + (Charges remaining in (Item carried by (Triggering unit) in slot (Integer A)))) Equal to 10
-
-





Then - Actions
-






Set TempPoint = (Position of (Triggering unit))
-






Set Temp_Group = (Units within 500.00 of TempPoint matching ((Matching unit) Not equal to (Triggering unit)))
-






Unit Group - Pick every unit in Temp_Group and do (Actions)
-







Loop - Actions
-








Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((Strength of (Triggering unit) (Include bonuses)))) + 200.00) damage of attack type Spells and damage type Normal
-








Custom script: call RemoveLocation(udg_TempPoint)
-








Custom script: call DestroyGroup(udg_Temp_Group)
-
-
-
-





Else - Actions
-
-




Set TempPoint = (Position of (Triggering unit))
-




Set Temp_Group = (Units within 500.00 of TempPoint matching ((Matching unit) Not equal to (Triggering unit)))
-




Unit Group - Pick every unit in Temp_Group and do (Actions)
-





Loop - Actions
-






Unit - Cause (Triggering unit) to damage (Picked unit), dealing ((Real((Strength of (Triggering unit) (Include bonuses)))) + 1000.00) damage of attack type Spells and damage type Normal
-






Custom script: call RemoveLocation(udg_TempPoint)
-






Custom script: call DestroyGroup(udg_Temp_Group)
-
-
-
-



Else - Actions
-
-
-



