X.Terror.X
New Member
- Reaction score
- 10
Its not working
Trigger:
- Events
- Time - Every 0.15 seconds of game time
- Conditions
- Actions
- For each (Integer Pudgy_combo[1]) from 1 to 10, do (Actions)
- Loop - Actions
- Set Pudgy_Point_Left = ((Center of CL1 <gen>) offset by (((Distance between (Position of Pudgy_unit[1]) and Lightning_target[1]) x (Real(Pudgy_combo[1]))) / 10.00) towards (Angle from (Center of CL1 <gen>) to Lightning_target[1]) degrees)
- Unit Group - Pick every unit in (Units within 70.00 of Pudgy_Point_Left) and do (Actions)
- Loop - Actions
- Unit Group - Add (Picked unit) to Pudgy_Damage_Able_Unit
- Loop - Actions
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- And - All (Conditions) are true
- Conditions
- (Number of units in Pudgy_Damage_Able_Unit) Not equal to 0
- (Unit-type of (Matching unit)) Equal to Demon Hunter
- Conditions
- And - All (Conditions) are true
- Then - Actions
- Unit - Cause none.mdl 0010 <gen> to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal
- Else - Actions
- If - Conditions
- For each (Integer Pudgy_combo[1]) from 1 to 10, do (Actions)