mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Decrease zombie health cap
This commit is contained in:
@ -53,7 +53,7 @@
|
||||
* Removed enemy player name fade in time
|
||||
|
||||
## Zombies
|
||||
* Health capped at 1 million
|
||||
* Health capped at 100,000
|
||||
* Removed walkers in high rounds
|
||||
* Neck counts as headshot
|
||||
|
||||
|
@ -221,7 +221,7 @@ post_all_players_spawned()
|
||||
level thread buildbuildables();
|
||||
level thread buildcraftables();
|
||||
|
||||
level thread zombie_health_fix();
|
||||
level thread zombie_health_cap();
|
||||
|
||||
level thread wallbuy_dynamic_update();
|
||||
|
||||
@ -4298,17 +4298,19 @@ electric_cherry_unlimited()
|
||||
}
|
||||
}
|
||||
|
||||
zombie_health_fix()
|
||||
zombie_health_cap()
|
||||
{
|
||||
max_health = 100000;
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
level waittill( "start_of_round" );
|
||||
|
||||
wait 0.05;
|
||||
|
||||
if(level.zombie_health > 1000000)
|
||||
if(level.zombie_health > max_health)
|
||||
{
|
||||
level.zombie_health = 1000000;
|
||||
level.zombie_health = max_health;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user