kaboo
New Member
- Reaction score
- 45
Trigger:
- charge 1
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to charge
- Actions
- Unit - Move (Casting unit) instantly to (Position of (Casting unit)), facing (Target point of ability being cast)
- Unit - Pause (Casting unit)
- Set charge_start = (Position of (Casting unit))
- For each (Integer A) from 1 to 30, do (Actions)
- Loop - Actions
- Unit - Move (Casting unit) instantly to (charge_start offset by ((Real((Integer A))) x 20.00) towards (Facing of (Casting unit)) degrees)
- Unit - Turn collision for (Casting unit) Off
- Unit Group - Pick every unit in (Units within 200.00 of (Position of (Casting unit)) matching ((((Owner of (Matching unit)) is an ally of (Owner of (Casting unit))) Equal to False) and ((Casting unit) Not equal to (Matching unit)))) and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Picked unit) is in charge_used_targets) Equal to False
- Then - Actions
- Unit - Cause (Casting unit) to damage (Picked unit), dealing 300.00 damage of attack type Hero and damage type Normal
- Unit Group - Add (Picked unit) to charge_used_targets
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Wait 0.01 seconds
- Loop - Actions
- Unit - Unpause (Casting unit)
- Unit Group - Remove all units from charge_used_targets
- Events
works almost perfectly, the only problem with it is that its moving too slowly so the move looks a bit strange. anyone knows how to increase the speed?