1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 04:30:32 -05:00

Race: increase zombie starting move speed

This commit is contained in:
Jbleezy
2022-02-05 01:21:44 -08:00
parent 4ada49f53c
commit 204dc9a703

View File

@ -2225,6 +2225,9 @@ race_think()
setroundsplayed(level.round_number); setroundsplayed(level.round_number);
level.zombie_move_speed = 35;
level.zombie_starting_move_speed = 35;
level.brutus_health = int(level.brutus_health_increase * level.round_number); level.brutus_health = int(level.brutus_health_increase * level.round_number);
level.brutus_expl_dmg_req = int(level.brutus_explosive_damage_increase * level.round_number); level.brutus_expl_dmg_req = int(level.brutus_explosive_damage_increase * level.round_number);
@ -2241,7 +2244,7 @@ race_think()
maps/mp/zombies/_zm::ai_calculate_health(level.round_number); maps/mp/zombies/_zm::ai_calculate_health(level.round_number);
level.zombie_move_speed = level.round_number * level.zombie_vars["zombie_move_speed_multiplier"]; level.zombie_move_speed = level.zombie_starting_move_speed + (level.round_number * level.zombie_vars["zombie_move_speed_multiplier"]);
level.zombie_vars["zombie_spawn_delay"] *= 0.95; level.zombie_vars["zombie_spawn_delay"] *= 0.95;
if(level.zombie_vars["zombie_spawn_delay"] < 0.08) if(level.zombie_vars["zombie_spawn_delay"] < 0.08)
@ -2259,8 +2262,6 @@ race_think()
{ {
for(i = 0; i < zombies.size; i++) for(i = 0; i < zombies.size; i++)
{ {
zombies[i] set_zombie_run_cycle();
if(zombies[i].health == zombies[i].maxhealth) if(zombies[i].health == zombies[i].maxhealth)
{ {
zombies[i].maxhealth = level.zombie_health; zombies[i].maxhealth = level.zombie_health;