From 046833ccc10739d9c0374764ed402e48be351324 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Wed, 13 Jun 2018 13:38:23 +0200 Subject: [PATCH] Make biorifle damage proportional to square of sludge scale. Tweaked the timing of the Enforcer and Dual Enforcers. --- zscript/biorifle.zsc | 4 ++-- zscript/enforcer.zsc | 21 ++++++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/zscript/biorifle.zsc b/zscript/biorifle.zsc index 6a91cd8..e7b1a6a 100644 --- a/zscript/biorifle.zsc +++ b/zscript/biorifle.zsc @@ -402,7 +402,7 @@ Class BioGel : Actor s.args[3] = int(s.args[3]*Scale.x); invoker.deadtimer = -2; if ( invoker.atline ) invoker.atline.RemoteActivate(target,invoker.atside,SPAC_Impact,pos); - A_Explode(int(Random[GES](20,40)*Scale.x),Min(150,int(Scale.x*25))); + A_Explode(int(Random[GES](10,20)*Scale.x*Scale.x),Min(150,int(Scale.x*25))); A_PlaySound("ges/explode",CHAN_VOICE); int numpt = Min(300,int(Scale.x*30))+Random[GES](-10,10); for ( int i=0; i