mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-28 16:10:24 -05:00
Encounter: upgraded weapons stun longer
This commit is contained in:
@ -503,7 +503,9 @@
|
|||||||
* Only sprinting zombies
|
* Only sprinting zombies
|
||||||
* Unlimited powerups
|
* Unlimited powerups
|
||||||
* Unlimited barrier rebuild points
|
* Unlimited barrier rebuild points
|
||||||
* Decreased stun time of weapons from 0.75 seconds to 0.375 seconds
|
* Unupgraded weapons stun enemy players for 0.375 seconds
|
||||||
|
* Upgraded weapons stun enemy players for 0.5 seconds
|
||||||
|
* Melee weapons stun enemy players for 0.75 seconds
|
||||||
* Meleeing enemy players that are crouched pushes 25% less
|
* Meleeing enemy players that are crouched pushes 25% less
|
||||||
* Meleeing enemy players that are prone pushes 50% less
|
* Meleeing enemy players that are prone pushes 50% less
|
||||||
* Meleeing enemy players that are reviving pushes 50% less
|
* Meleeing enemy players that are reviving pushes 50% less
|
||||||
|
@ -1864,7 +1864,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
|||||||
self.stun_fx_ind = (self.stun_fx_ind + 1) % stun_fx_amount;
|
self.stun_fx_ind = (self.stun_fx_ind + 1) % stun_fx_amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
self thread do_game_mode_shellshock(is_melee, is_reviving);
|
self thread do_game_mode_shellshock(is_melee, is_weapon_upgraded(sweapon));
|
||||||
self playsound( "zmb_player_hit_ding" );
|
self playsound( "zmb_player_hit_ding" );
|
||||||
|
|
||||||
score = 50;
|
score = 50;
|
||||||
@ -1884,7 +1884,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_game_mode_shellshock(is_melee, is_reviving)
|
do_game_mode_shellshock(is_melee, is_upgraded)
|
||||||
{
|
{
|
||||||
self notify( "do_game_mode_shellshock" );
|
self notify( "do_game_mode_shellshock" );
|
||||||
self endon( "do_game_mode_shellshock" );
|
self endon( "do_game_mode_shellshock" );
|
||||||
@ -1895,6 +1895,10 @@ do_game_mode_shellshock(is_melee, is_reviving)
|
|||||||
{
|
{
|
||||||
time = 0.75;
|
time = 0.75;
|
||||||
}
|
}
|
||||||
|
else if (is_upgraded)
|
||||||
|
{
|
||||||
|
time = 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
self._being_shellshocked = 1;
|
self._being_shellshocked = 1;
|
||||||
self._being_pushed = is_melee;
|
self._being_pushed = is_melee;
|
||||||
|
Reference in New Issue
Block a user