mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-08 04:48:13 -05:00
PaP: remove re-PaP cost
This commit is contained in:
@ -350,6 +350,7 @@
|
|||||||
* Stink areas no longer activate while the player is standing
|
* Stink areas no longer activate while the player is standing
|
||||||
|
|
||||||
## Pack-a-Punch
|
## Pack-a-Punch
|
||||||
|
* No longer costs 2000 points to change attachments on an upgraded weapon
|
||||||
* Decreased weapon pickup time from 15 seconds to 12 seconds
|
* Decreased weapon pickup time from 15 seconds to 12 seconds
|
||||||
|
|
||||||
## Powerups
|
## Powerups
|
||||||
|
@ -227,7 +227,7 @@ vending_weapon_upgrade()
|
|||||||
if ( player maps\mp\zombies\_zm_pers_upgrades_functions::is_pers_double_points_active() )
|
if ( player maps\mp\zombies\_zm_pers_upgrades_functions::is_pers_double_points_active() )
|
||||||
current_cost = player maps\mp\zombies\_zm_pers_upgrades_functions::pers_upgrade_double_points_cost( current_cost );
|
current_cost = player maps\mp\zombies\_zm_pers_upgrades_functions::pers_upgrade_double_points_cost( current_cost );
|
||||||
|
|
||||||
if ( player.score < current_cost )
|
if ( !upgrade_as_attachment && player.score < current_cost )
|
||||||
{
|
{
|
||||||
self playsound( "deny" );
|
self playsound( "deny" );
|
||||||
|
|
||||||
@ -246,7 +246,12 @@ vending_weapon_upgrade()
|
|||||||
player maps\mp\zombies\_zm_stats::increment_player_stat( "use_pap" );
|
player maps\mp\zombies\_zm_stats::increment_player_stat( "use_pap" );
|
||||||
self thread destroy_weapon_in_blackout( player );
|
self thread destroy_weapon_in_blackout( player );
|
||||||
self thread destroy_weapon_on_disconnect( player );
|
self thread destroy_weapon_on_disconnect( player );
|
||||||
player maps\mp\zombies\_zm_score::minus_to_player_score( current_cost, 1 );
|
|
||||||
|
if ( !upgrade_as_attachment )
|
||||||
|
{
|
||||||
|
player maps\mp\zombies\_zm_score::minus_to_player_score( current_cost, 1 );
|
||||||
|
}
|
||||||
|
|
||||||
sound = "evt_bottle_dispense";
|
sound = "evt_bottle_dispense";
|
||||||
playsoundatposition( sound, self.origin );
|
playsoundatposition( sound, self.origin );
|
||||||
self thread maps\mp\zombies\_zm_audio::play_jingle_or_stinger( "mus_perks_packa_sting" );
|
self thread maps\mp\zombies\_zm_audio::play_jingle_or_stinger( "mus_perks_packa_sting" );
|
||||||
|
Reference in New Issue
Block a user