Erupt
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Erupt (Slayer)
Actions
Set EruptPoint = (Units within 300.00 of (Position of (Attacked unit)))
Unit Group - Pick every unit in EruptPoint and do (Unit - Move (Random unit from EruptPoint) instantly to ((Position of (Casting unit)) offset by 300.00 towards (Angle from (Position of (Casting unit)) to (Position of (Target unit of ability being cast))) degrees), facing Default building facing degrees)
im trying to make a unit that pushes surrounding enemy units from casting unit except this trigger work partial but the main problem is that it moves casting unit from point how do i make it so it doesn't?
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Erupt (Slayer)
Actions
Set EruptPoint = (Units within 300.00 of (Position of (Attacked unit)))
Unit Group - Pick every unit in EruptPoint and do (Unit - Move (Random unit from EruptPoint) instantly to ((Position of (Casting unit)) offset by 300.00 towards (Angle from (Position of (Casting unit)) to (Position of (Target unit of ability being cast))) degrees), facing Default building facing degrees)
im trying to make a unit that pushes surrounding enemy units from casting unit except this trigger work partial but the main problem is that it moves casting unit from point how do i make it so it doesn't?