diff --git a/README.md b/README.md index 25a2a5e7..1bc769f8 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ * Continues to chain while put away * Removed player damage * Upgraded: increases slippery spot duration by 50% -* Upgraded: decreases delay between chain kills by 33% +* Upgraded: increases chain explosion radius by 50% * Added teddy bear to buildable table after weapon is taken from it * Teddy bear standing up means weapon is not available from Mystery Box * Teddy bear lying down means weapon is available from Mystery Box diff --git a/scripts/zm/replaced/_zm_weap_slipgun.gsc b/scripts/zm/replaced/_zm_weap_slipgun.gsc index a089fcfd..f9098869 100644 --- a/scripts/zm/replaced/_zm_weap_slipgun.gsc +++ b/scripts/zm/replaced/_zm_weap_slipgun.gsc @@ -109,6 +109,11 @@ explode_into_goo( player, chain_depth ) self.goo_chain_depth = chain_depth; chain_radius = level.zombie_vars["slipgun_chain_radius"]; + if ( is_true( self.goo_upgraded ) ) + { + chain_radius *= 1.5; + } + level thread explode_to_near_zombies( player, self.origin, chain_radius, self.goo_chain_depth, self.goo_upgraded ); } @@ -122,11 +127,6 @@ explode_to_near_zombies( player, origin, radius, chain_depth, goo_upgraded ) minchainwait = level.zombie_vars["slipgun_chain_wait_min"]; maxchainwait = level.zombie_vars["slipgun_chain_wait_max"]; - if (is_true(goo_upgraded)) - { - minchainwait /= 1.5; - maxchainwait /= 1.5; - } rsquared = radius * radius; tag = "J_Head";