- Joined
- Mar 6, 2014
- Messages
- 203
-
Great Cleave
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-

Actions
-


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



If - Conditions
-




And - All (Conditions) are true
-





Conditions
-






(GDD_DamageSource has buff Great Cleave ) Equal to True
-






(Unit-type of GDD_DamageSource) Equal to (Unit-type of Beastmaster 0023 <gen>)
-
-
-
-



Then - Actions
-




Set GC_AtkCount = (GC_AtkCount + 1)
-




Set GC_TargetLoc = (Position of GDD_DamagedUnit)
-




Set GC_Group = (Units within GC_AoE of GC_TargetLoc matching (((Matching unit) belongs to an enemy of (Owner of GDD_DamageSource)) Equal to True))
-




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





If - Conditions
-






GC_AtkCount Equal to GC_AtkReq
-
-





Then - Actions
-






Trigger - Turn off (This trigger)
-






Custom script: set bj_wantDestroyGroup = true
-






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







Loop - Actions
-








Set GC_Targets = (Picked unit)
-








Unit - Cause GDD_DamageSource to damage GC_Targets, dealing GC_Damage[GC_Increaser] damage of attack type Hero and damage type Normal
-
-
-






Set GC_AtkCount = 0
-






Custom script: call RemoveLocation (udg_GC_TargetLoc)
-
-





Else - Actions
-
-




Trigger - Turn on (This trigger)
-
-



Else - Actions
-
-
-
please help me ASAP










