zm_nuked_patch/maps/mp/zm_nuked_perks.gsc Added a missing return and fixed a type.

zm_nuked_perks.gsc moved to No Known Errors.
This commit is contained in:
JezuzLizard 2021-02-07 05:11:22 -08:00
parent b6c9c8c81d
commit e4f1b3350d
2 changed files with 3 additions and 2 deletions

View File

@ -91,6 +91,7 @@ init_nuked_perks() //checked changed to match cerberus output
#/ #/
*/ */
} }
return;
} }
level.override_perk_targetname = "zm_perk_machine_override"; level.override_perk_targetname = "zm_perk_machine_override";
random_perk_structs = []; random_perk_structs = [];
@ -262,7 +263,7 @@ bring_perk_landing_damage() //checked partially changed to match cerberus output
if ( distancesquared( players[ i ].origin, self.origin ) <= ( player_prone_damage_radius * player_prone_damage_radius ) ) if ( distancesquared( players[ i ].origin, self.origin ) <= ( player_prone_damage_radius * player_prone_damage_radius ) )
{ {
players[ i ] setstance( "prone" ); players[ i ] setstance( "prone" );
players[ i ] shellshock( "default", 1,5 ); players[ i ] shellshock( "default", 1.5 );
radiusdamage( players[ i ].origin, player_prone_damage_radius / 2, 10, 5, undefined, "MOD_EXPLOSIVE" ); radiusdamage( players[ i ].origin, player_prone_damage_radius / 2, 10, 5, undefined, "MOD_EXPLOSIVE" );
} }
} }

View File

@ -2,6 +2,7 @@
``` ```
zm_nuked_patch/maps/mp/gametypes_zm/zstandard.gsc zm_nuked_patch/maps/mp/gametypes_zm/zstandard.gsc
zm_nuked_patch/maps/mp/zm_nuked.gsc zm_nuked_patch/maps/mp/zm_nuked.gsc
zm_nuked_patch/maps/mp/zm_nuked_perks.gsc
``` ```
### The following scripts compile and run successfully with minor errors: ### The following scripts compile and run successfully with minor errors:
@ -22,7 +23,6 @@ zm_nuked_patch/maps/mp/zombies/_zm_weap_tazer_knuckles.gsc
zm_nuked_patch/maps/mp/zm_nuked_ffotd.gsc zm_nuked_patch/maps/mp/zm_nuked_ffotd.gsc
zm_nuked_patch/maps/mp/zm_nuked_fx.gsc zm_nuked_patch/maps/mp/zm_nuked_fx.gsc
zm_nuked_patch/maps/mp/zm_nuked_gamemodes.gsc zm_nuked_patch/maps/mp/zm_nuked_gamemodes.gsc
zm_nuked_patch/maps/mp/zm_nuked_perks.gsc
zm_nuked_patch/maps/mp/zm_nuked_standard.gsc zm_nuked_patch/maps/mp/zm_nuked_standard.gsc
``` ```