Skip to content

Commit

Permalink
move cloned monsters a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kromm committed Dec 25, 2019
1 parent ca72727 commit 70f9b3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cvarinfo.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
server int x5_multiplier = 100;
server bool x5_raise_divided = false;
server int x5_thrust = 2;
2 changes: 2 additions & 0 deletions zscript/x5_EventHandler.zs
Original file line number Diff line number Diff line change
Expand Up @@ -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: ////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 70f9b3b

Please sign in to comment.