diff --git a/cvarinfo.txt b/cvarinfo.txt index 5b5c87e..9315a1f 100644 --- a/cvarinfo.txt +++ b/cvarinfo.txt @@ -1,2 +1,3 @@ server int x5_multiplier = 100; server bool x5_raise_divided = false; +server int x5_thrust = 2; diff --git a/zscript/x5_EventHandler.zs b/zscript/x5_EventHandler.zs index 9669432..124bf01 100644 --- a/zscript/x5_EventHandler.zs +++ b/zscript/x5_EventHandler.zs @@ -172,6 +172,8 @@ class x5_EventHandler : EventHandler spawned.target = original.target; spawned.tracer = original.tracer; spawned.CopyFriendliness(original, false); + + spawned.Thrust(x5_thrust, random(0, 360)); } // private: ////////////////////////////////////////////////////////////////////