feelthless
New Member
- Reaction score
- 1
Trigger:
- Volley 0
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Volley of Spears
- Actions
- Set volley_current = 0
- Set volley_number = (6 + (2 x (Level of Volley of Spears for volley_caster)))
- Set volley_caster = (Casting unit)
- Set volley_point = (Target point of ability being cast)
- Animation - Play volley_caster's attack animation
- Animation - Change volley_caster's animation speed to 200.00% of its original speed
- Unit - Create 1 VolleyOfArrowsDummy for (Owner of volley_caster) at ((Position of volley_caster) offset by 50.00 towards (Angle from (Position of volley_caster) to volley_point) degrees) facing Default building facing degrees
- Set volley_dummy = (Last created unit)
- For each (Integer A) from 1 to volley_number, do (Actions)
- Loop - Actions
- Set volley_current = (volley_current + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- volley_current Greater than volley_number
- Then - Actions
- Unit - Kill volley_dummy
- Custom script: call RemoveLocation(udg_volley_point)
- Custom script: call DestroyGroup(udg_volley_unitsbeingdamaged)
- Else - Actions
- Unit - Order volley_dummy to Attack Ground (volley_point offset by (Real((Random integer number between 1 and 222))) towards (Real((Random integer number between 1 and 359))) degrees)
- Set volley_unitsbeingdamaged = (Units within 200.00 of volley_point matching ((((Matching unit) belongs to an enemy of (Owner of volley_caster)) Equal to True) and (((Matching unit) is alive) Equal to True)))
- Unit Group - Pick every unit in volley_unitsbeingdamaged and do (Actions)
- Loop - Actions
- Unit - Cause volley_caster to damage (Picked unit), dealing 25.00 damage of attack type Spells and damage type Normal
- Loop - Actions
- Wait 0.06 seconds
- If - Conditions
- Loop - Actions
- Events
You can easily find what this trigger does
the problem is
when the volley_number attacks are made the dummy starts to attack-ground a point and never stops
any suggestions