1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-09 05:18:17 -05:00

Decrease solo last stand pistol ammo

This commit is contained in:
Jbleezy
2023-04-13 23:31:48 -07:00
parent 4639e1bfe1
commit 746be798a0

View File

@ -1947,10 +1947,12 @@ last_stand_pistol_swap()
}
}
curclip = self getweaponammoclip(self.laststandpistol);
ammoclip = weaponclipsize( self.laststandpistol );
doubleclip = ammoclip * 2;
if(weapondualwieldweaponname(self.laststandpistol) != "none")
{
curclip += self getweaponammoclip(weapondualwieldweaponname(self.laststandpistol));
ammoclip += weaponclipsize(weapondualwieldweaponname(self.laststandpistol));
doubleclip = ammoclip;
}
@ -1959,11 +1961,11 @@ last_stand_pistol_swap()
{
self._special_solo_pistol_swap = 0;
self.hadpistol = 0;
self setweaponammostock( self.laststandpistol, doubleclip );
self setweaponammostock( self.laststandpistol, doubleclip - curclip );
}
else if ( flag( "solo_game" ) && self.laststandpistol == level.default_solo_laststandpistol )
{
self setweaponammostock(self.laststandpistol, doubleclip);
self setweaponammostock(self.laststandpistol, doubleclip - curclip);
}
else if ( self.laststandpistol == level.default_laststandpistol )
{