diff --git a/README.md b/README.md index afa6794e..72c2c864 100644 --- a/README.md +++ b/README.md @@ -218,6 +218,7 @@ * Increases bullet damage by 50% ### Stamin-Up +* Increased cost from 2000 to 2500 * Move faster (normally only sprint faster) ### Deadshot Daiquiri diff --git a/scripts/zm/replaced/_zm_perks.gsc b/scripts/zm/replaced/_zm_perks.gsc index 7b479585..5e9d8d4e 100644 --- a/scripts/zm/replaced/_zm_perks.gsc +++ b/scripts/zm/replaced/_zm_perks.gsc @@ -248,7 +248,6 @@ perk_set_max_health_if_jugg( perk, set_premaxhealth, clamp_health_to_max_health } } -// modifying this function because it is right before perk_machine_spawn_init and has a lot less code initialize_custom_perk_arrays() { if(!isDefined(level._custom_perks)) @@ -256,6 +255,9 @@ initialize_custom_perk_arrays() level._custom_perks = []; } + level._custom_perks["specialty_longersprint"] = spawnStruct(); + level._custom_perks["specialty_longersprint"].cost = 2500; + struct = spawnStruct(); struct.script_noteworthy = "specialty_longersprint"; struct.scr_zm_ui_gametype = "zstandard";