- Joined
- Jun 10, 2013
- Messages
- 472
hey I've been trying to make a custom cleaving attack that deals 25% (plus an additional 5% on level 2 and 3 (25/30/35%)) of the attacking units dealt damage to units around the attacked unit however I can't seem to get it working.
-
Battle Rage
-

Events
-


Game - GDD_Event becomes Equal to 0.00
-
-

Conditions
-

Actions
-


Set tempGroup1 = (Units within 200.00 of TempPoint matching (((Matching unit) belongs to an enemy of (Owner of GDD_DamageSource)) Equal to True))
-


Set TempPoint = (Position of GDD_DamagedUnit)
-


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



Loop - Actions
-




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





If - Conditions
-






(GDD_DamageSource has buff Battle Rage ) Equal to True
-
-





Then - Actions
-






Unit - Cause GDD_DamageSource to damage (Picked unit), dealing (GDD_Damage x (0.20 + (0.05 x (Real((Level of Battle Rage for GDD_DamageSource)))))) damage of attack type Normal and damage type Universal
-
-





Else - Actions
-
-
-
-
-







