2017-10-20 07:02:53 +00:00
|
|
|
class ExtWeap_Pistol_9mm extends KFWeap_Pistol_9mm;
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
SpareAmmoCapacity[0]=-1
|
|
|
|
InitialSpareMags[0]=0
|
|
|
|
|
|
|
|
bInfiniteSpareAmmo=True
|
|
|
|
|
2020-06-23 12:48:24 +00:00
|
|
|
// DualClass=class'ServerExt.ExtWeap_Pistol_MedicS'
|
2020-06-21 19:06:43 +00:00
|
|
|
|
|
|
|
InstantHitDamageTypes(DEFAULT_FIREMODE)=class'ExtDT_Ballistic_9mm'
|
|
|
|
}
|
|
|
|
|
|
|
|
simulated static function bool AllowedForAllPerks()
|
|
|
|
{
|
2020-11-28 19:53:57 +00:00
|
|
|
return true;
|
2017-10-20 07:02:53 +00:00
|
|
|
}
|
|
|
|
|
2020-06-21 19:06:43 +00:00
|
|
|
simulated function ConsumeAmmo( byte FireModeNum )
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
simulated static event class<KFPerk> GetWeaponPerkClass( class<KFPerk> InstigatorPerkClass )
|
|
|
|
{
|
|
|
|
if(InstigatorPerkClass != None)
|
|
|
|
return InstigatorPerkClass;
|
|
|
|
|
|
|
|
return default.AssociatedPerkClasses[0];
|
|
|
|
}
|
|
|
|
|
|
|
|
simulated function KFPerk GetPerk()
|
|
|
|
{
|
|
|
|
if(KFPlayer != None)
|
|
|
|
return KFPlayer.GetPerk();
|
|
|
|
return super.GetPerk();
|
|
|
|
}
|