1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 23:27:57 -05:00

Paralyzer: decrease max fly height

This commit is contained in:
Jbleezy
2023-04-01 21:44:14 -07:00
parent 3f209683c1
commit cc0c2ad237
3 changed files with 22 additions and 1 deletions

View File

@ -77,7 +77,7 @@
* All body shot kills award 50 points
### Denizens
* Changed maximum amount that can be spawned at once from 2 total to 1 per player in the fog
* Changed max amount that can be spawned at once from 2 total to 1 per player in the fog
* Decreased number of melees to kill from 5 to 3
* Decreased number of melees to kill with Bowie Knife from 3 to 2
* Decreased number of melees to kill with Galvaknuckles from 2 to 1
@ -225,6 +225,7 @@
### Paralyzer
* Kills on any round
* Decreased max player fly height
### Blundergat
* Kills on any round

View File

@ -91,6 +91,25 @@ zombie_paralyzed( player, upgraded )
self zombie_slow_for_time( 0.2 );
}
player_slow_for_time( time )
{
self notify( "player_slow_for_time" );
self endon( "player_slow_for_time" );
self endon( "disconnect" );
if ( !is_true( self.slowgun_flying ) )
self thread player_fly_rumble();
self setclientfieldtoplayer( "slowgun_fx", 1 );
self set_anim_rate( 0.2 );
wait( time );
self set_anim_rate( 1.0 );
self setclientfieldtoplayer( "slowgun_fx", 0 );
self.slowgun_flying = 0;
}
watch_reset_anim_rate()
{
self set_anim_rate( 1 );

View File

@ -32,6 +32,7 @@ main()
replaceFunc(maps\mp\zombies\_zm_perk_vulture::_is_player_in_zombie_stink, scripts\zm\replaced\_zm_perk_vulture::_is_player_in_zombie_stink);
replaceFunc(maps\mp\zombies\_zm_weap_slowgun::init, scripts\zm\replaced\_zm_weap_slowgun::init);
replaceFunc(maps\mp\zombies\_zm_weap_slowgun::zombie_paralyzed, scripts\zm\replaced\_zm_weap_slowgun::zombie_paralyzed);
replaceFunc(maps\mp\zombies\_zm_weap_slowgun::player_slow_for_time, scripts\zm\replaced\_zm_weap_slowgun::player_slow_for_time);
replaceFunc(maps\mp\zombies\_zm_weap_slowgun::watch_reset_anim_rate, scripts\zm\replaced\_zm_weap_slowgun::watch_reset_anim_rate);
replaceFunc(maps\mp\zombies\_zm_banking::init, scripts\zm\replaced\_zm_banking::init);
replaceFunc(maps\mp\zombies\_zm_banking::bank_deposit_box, scripts\zm\replaced\_zm_banking::bank_deposit_box);