1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 12:40:20 -05:00

Sliquifier upgraded: increase chain explosion radius

This commit is contained in:
Jbleezy
2023-04-24 22:03:45 -07:00
parent dbb04f5475
commit 0c4da8f050
2 changed files with 6 additions and 6 deletions

View File

@ -248,7 +248,7 @@
* Continues to chain while put away * Continues to chain while put away
* Removed player damage * Removed player damage
* Upgraded: increases slippery spot duration by 50% * 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 * 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 standing up means weapon is not available from Mystery Box
* Teddy bear lying down means weapon is available from Mystery Box * Teddy bear lying down means weapon is available from Mystery Box

View File

@ -109,6 +109,11 @@ explode_into_goo( player, chain_depth )
self.goo_chain_depth = chain_depth; self.goo_chain_depth = chain_depth;
chain_radius = level.zombie_vars["slipgun_chain_radius"]; 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 ); 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"]; minchainwait = level.zombie_vars["slipgun_chain_wait_min"];
maxchainwait = level.zombie_vars["slipgun_chain_wait_max"]; maxchainwait = level.zombie_vars["slipgun_chain_wait_max"];
if (is_true(goo_upgraded))
{
minchainwait /= 1.5;
maxchainwait /= 1.5;
}
rsquared = radius * radius; rsquared = radius * radius;
tag = "J_Head"; tag = "J_Head";