mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Grief: add stun points
This commit is contained in:
@ -230,5 +230,6 @@
|
||||
* Every player starts with 10000 points
|
||||
* Decreased stun time by enemy players from 0.75 seconds to 0.5 seconds
|
||||
* Players can be stunned by enemy players while already stunned
|
||||
* Points awarded for stunning enemy players that are damaged
|
||||
* Teams win rounds by getting all enemy players down
|
||||
* First team to win 3 rounds wins the game
|
@ -401,6 +401,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
|
||||
}
|
||||
}
|
||||
|
||||
self thread add_grief_score(eattacker);
|
||||
self thread do_game_mode_shellshock();
|
||||
self playsound( "zmb_player_hit_ding" );
|
||||
}
|
||||
@ -411,6 +412,14 @@ do_game_mode_shellshock()
|
||||
self shellshock( "grief_stab_zm", 0.5 );
|
||||
}
|
||||
|
||||
add_grief_score(attacker)
|
||||
{
|
||||
if(is_player_valid(attacker) && self.health < self.maxhealth)
|
||||
{
|
||||
attacker maps/mp/zombies/_zm_score::add_to_player_score(10);
|
||||
}
|
||||
}
|
||||
|
||||
unlimited_zombies()
|
||||
{
|
||||
while(1)
|
||||
|
Reference in New Issue
Block a user