mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-18 19:18:23 -05:00
Grief: meat powerup able to drop when players are down
This commit is contained in:
@ -149,6 +149,7 @@ set_grief_vars()
|
||||
level.zombie_vars["zombie_health_increase"] = 0;
|
||||
level.zombie_vars["zombie_health_increase_multiplier"] = 0;
|
||||
level.zombie_vars["zombie_spawn_delay"] = 0.5;
|
||||
level.zombie_powerups["meat_stink"].func_should_drop_with_regular_powerups = ::func_should_drop_meat;
|
||||
level.brutus_health = 20000;
|
||||
level.brutus_expl_dmg_req = 12000;
|
||||
level.global_damage_func = ::zombie_damage;
|
||||
@ -1594,6 +1595,25 @@ handle_post_board_repair_rewards( cost, zbarrier )
|
||||
}
|
||||
}
|
||||
|
||||
func_should_drop_meat()
|
||||
{
|
||||
players = get_players();
|
||||
foreach(player in players)
|
||||
{
|
||||
if(player getCurrentWeapon() == "meat_zm")
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if(isDefined(level.item_meat) || is_true(level.meat_on_ground))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
borough_move_quickrevive_machine()
|
||||
{
|
||||
if (level.scr_zm_map_start_location != "street")
|
||||
|
Reference in New Issue
Block a user