1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-19 19:48:53 -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

@ -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 );