hi again guys! 
another spell, another problem
i want to make a spell for an ad-carry champ that pushes all of the heroes enemies away from him that stand inside an aimed cone, i hope you understand; if you don't, please tell me.
i've based it off of pandaren firebreath, made the ability deal zero damage. then i went for three triggers, but at some point i went completely confused.
i've got no clue how to go on, so please, if you got fitting ideas, post them.
another spell, another problem
i want to make a spell for an ad-carry champ that pushes all of the heroes enemies away from him that stand inside an aimed cone, i hope you understand; if you don't, please tell me.
i've based it off of pandaren firebreath, made the ability deal zero damage. then i went for three triggers, but at some point i went completely confused.
-
Gravity Wave
-
Ereignisse
-
Einheit - A unit Startet den Effekt einer Fähigkeit
-
-
Bedingungen
-
(Ability being cast) Gleich Gravity Wave (triggered)
-
-
Aktionen
-
Set GravWaveCaster = (Casting unit)
-
Set GravWaveCasterPosition = (Position of (Casting unit))
-
Set GravWaveTarget = (Target unit of ability being cast)
-
Set GravWaveTargetPoint = (Target point of ability being cast)
-
Set GravWave_Angle = ((Angle from GravWaveCasterPosition to GravWaveTargetPoint) + 180.00)
-
Set GraveWaveDistance_Real = (Distance between GravWaveCasterPosition and GravWaveTargetPoint)
-
-
-
Gravity Wave Movement
-
Ereignisse
-
Zeit - Every 0.10 seconds of game time
-
-
Bedingungen
-
Aktionen
-
Einheit - Move GravWaveTarget instantly to (GravWaveCasterPosition offset by (GraveWaveDistance_Real / 10.00) towards GravWave_Angle degrees)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
-
GraveWaveDistance_Real Gleich ((Distance between GravWaveCasterPosition and GravWaveTargetPoint) / 10.00)
-
-
'THEN'-Aktionen
-
Custom script: call RemoveLocation(udg_GravWaveCasterPosition)
-
Custom script: call RemoveLocation(udg_GravWaveTargetPosition)
-
Auslöser - Turn off (This trigger)
-
-
'ELSE'-Aktionen
-
Set GravWave_Angle = (Angle from GravWaveCasterPosition to GravWaveTargetPoint)
-
Set GraveWaveDistance_Real = (Distance between GravWaveCasterPosition and GravWaveTargetPoint)
-
-
-
-
-
Gravity Wave Target Group Marker
-
Ereignisse
-
Bedingungen
-
((Triggering unit) has buff Hit by a Gravity Wave ) Gleich True
-
-
Aktionen
-
Einheitengruppe - Add (Triggering unit) to GravWaveTargetGroup
-
-
i've got no clue how to go on, so please, if you got fitting ideas, post them.