KF2-Server-Extension/ServerExt/Classes/ExtWeap_Pistol_Dual9mm.uc

32 lines
617 B
Ucode
Raw Normal View History

class ExtWeap_Pistol_Dual9mm extends KFWeap_Pistol_Dual9mm;
defaultproperties
{
SpareAmmoCapacity[0]=-1
InitialSpareMags[0]=0
2023-05-14 02:49:12 +00:00
bInfiniteSpareAmmo=True
SingleClass=class'ExtWeap_Pistol_9mm'
InstantHitDamageTypes(DEFAULT_FIREMODE)=class'ExtDT_Ballistic_9mm' // KFDT_Ballistic_9mm
}
simulated static function bool AllowedForAllPerks()
{
2020-11-28 19:53:57 +00:00
return true;
}
2020-11-28 20:04:55 +00:00
simulated function ConsumeAmmo(byte FireModeNum)
{
2023-05-14 02:49:12 +00:00
}
2020-11-28 20:04:55 +00:00
simulated static event class<KFPerk> GetWeaponPerkClass(class<KFPerk> InstigatorPerkClass)
{
2020-11-28 20:12:58 +00:00
if (InstigatorPerkClass != None)
return InstigatorPerkClass;
return default.AssociatedPerkClasses[0];
2023-05-14 02:49:12 +00:00
}