ac8435dc2a
9mm and MedPistol is perked for all now and used by Rack'em Up Standart pistol has unlimited ammo without reloading
32 lines
656 B
Ucode
32 lines
656 B
Ucode
class ExtWeap_Pistol_MedicS extends KFWeap_Pistol_Medic;
|
|
|
|
defaultproperties
|
|
{
|
|
bCanThrow=false
|
|
|
|
SpareAmmoCapacity[0]=-1
|
|
InitialSpareMags[0]=0
|
|
|
|
bInfiniteSpareAmmo=True
|
|
|
|
InstantHitDamageTypes(DEFAULT_FIREMODE)=class'ExtDT_Ballistic_Pistol_Medic'
|
|
}
|
|
|
|
simulated static function bool AllowedForAllPerks()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
simulated function ConsumeAmmo( byte FireModeNum )
|
|
{
|
|
if(FireModeNum == ALTFIRE_FIREMODE)
|
|
super.ConsumeAmmo(FireModeNum);
|
|
}
|
|
|
|
simulated static event class<KFPerk> GetWeaponPerkClass( class<KFPerk> InstigatorPerkClass )
|
|
{
|
|
if(InstigatorPerkClass != None)
|
|
return InstigatorPerkClass;
|
|
|
|
return default.AssociatedPerkClasses[0];
|
|
} |