Browse Source

Allow incresed charger capacity in coop

gravgun
mittorn 8 years ago
parent
commit
d627ff1528
  1. 7
      dlls/multiplay_gamerules.cpp

7
dlls/multiplay_gamerules.cpp

@ -265,7 +265,8 @@ void CHalfLifeMultiplay::RefreshSkillData( void )
// override some values for multiplay. // override some values for multiplay.
// suitcharger // suitcharger
gSkillData.suitchargerCapacity = 30; if( !mp_coop.value )
gSkillData.suitchargerCapacity = 30;
// Crowbar whack // Crowbar whack
gSkillData.plrDmgCrowbar = 25; gSkillData.plrDmgCrowbar = 25;
@ -1296,12 +1297,12 @@ Vector CHalfLifeMultiplay::VecAmmoRespawnSpot( CBasePlayerAmmo *pAmmo )
//========================================================= //=========================================================
float CHalfLifeMultiplay::FlHealthChargerRechargeTime( void ) float CHalfLifeMultiplay::FlHealthChargerRechargeTime( void )
{ {
return 60; return cvar_iresptime.value * 2;
} }
float CHalfLifeMultiplay::FlHEVChargerRechargeTime( void ) float CHalfLifeMultiplay::FlHEVChargerRechargeTime( void )
{ {
return 30; return cvar_iresptime.value;
} }
//========================================================= //=========================================================

Loading…
Cancel
Save