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