diff --git a/scripts/zm/_zm_reimagined.gsc b/scripts/zm/_zm_reimagined.gsc index 90ab1d56..c3ae7be4 100644 --- a/scripts/zm/_zm_reimagined.gsc +++ b/scripts/zm/_zm_reimagined.gsc @@ -64,6 +64,7 @@ main() init() { level.using_solo_revive = 0; + level.player_starting_health = 150; setscoreboardcolumns_gametype(); set_lethal_grenade_init(); @@ -285,7 +286,7 @@ wait_and_set_max_health() { wait 0.05; - self setMaxHealth(150); + self setMaxHealth(level.player_starting_health); } health_bar_hud() diff --git a/scripts/zm/replaced/_zm_perks.gsc b/scripts/zm/replaced/_zm_perks.gsc index 6ed275a9..de2b80e6 100644 --- a/scripts/zm/replaced/_zm_perks.gsc +++ b/scripts/zm/replaced/_zm_perks.gsc @@ -218,14 +218,14 @@ perk_set_max_health_if_jugg( perk, set_premaxhealth, clamp_health_to_max_health } else { - max_total_health = 100; + max_total_health = level.player_starting_health; } } else { if ( perk == "health_reboot" ) { - max_total_health = 100; + max_total_health = level.player_starting_health; } } if ( isDefined( max_total_health ) )