2017-10-20 07:02:53 +00:00
|
|
|
class ExtWeap_Pistol_MedicS extends KFWeap_Pistol_Medic;
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
|
|
|
bCanThrow=false
|
2023-05-14 02:49:12 +00:00
|
|
|
|
2017-10-20 07:02:53 +00:00
|
|
|
SpareAmmoCapacity[0]=-1
|
|
|
|
InitialSpareMags[0]=0
|
|
|
|
bInfiniteSpareAmmo=True
|
2020-06-21 19:06:43 +00:00
|
|
|
|
2020-06-23 12:48:24 +00:00
|
|
|
// Remove weight bcs of replacing 9mm
|
|
|
|
InventorySize=0
|
2023-05-14 02:49:12 +00:00
|
|
|
|
2020-06-21 19:06:43 +00:00
|
|
|
InstantHitDamageTypes(DEFAULT_FIREMODE)=class'ExtDT_Ballistic_Pistol_Medic'
|
2020-07-06 21:12:25 +00:00
|
|
|
|
|
|
|
WeaponUpgrades[1]=(Stats=((Stat=EWUS_Damage0, Scale=1.7f), (Stat=EWUS_HealFullRecharge, Scale=0.9f)))
|
|
|
|
WeaponUpgrades[2]=(Stats=((Stat=EWUS_Damage0, Scale=2.0f), (Stat=EWUS_HealFullRecharge, Scale=0.8f)))
|
|
|
|
WeaponUpgrades[3]=(Stats=((Stat=EWUS_Damage0, Scale=2.55f), (Stat=EWUS_HealFullRecharge, Scale=0.7f)))
|
|
|
|
WeaponUpgrades[4]=(Stats=((Stat=EWUS_Damage0, Scale=3.0f), (Stat=EWUS_HealFullRecharge, Scale=0.6f)))
|
2020-06-21 19:06:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
simulated static function bool AllowedForAllPerks()
|
|
|
|
{
|
2020-11-28 19:53:57 +00:00
|
|
|
return true;
|
2020-06-21 19:06:43 +00:00
|
|
|
}
|
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
simulated function ConsumeAmmo(byte FireModeNum)
|
2020-06-21 19:06:43 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (FireModeNum == ALTFIRE_FIREMODE)
|
2020-06-21 19:06:43 +00:00
|
|
|
super.ConsumeAmmo(FireModeNum);
|
|
|
|
}
|
|
|
|
|
2020-11-28 20:04:55 +00:00
|
|
|
simulated static event class<KFPerk> GetWeaponPerkClass(class<KFPerk> InstigatorPerkClass)
|
2020-06-21 19:06:43 +00:00
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (InstigatorPerkClass != None)
|
2020-06-21 19:06:43 +00:00
|
|
|
return InstigatorPerkClass;
|
|
|
|
|
|
|
|
return default.AssociatedPerkClasses[0];
|
2020-06-23 12:48:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
simulated function KFPerk GetPerk()
|
|
|
|
{
|
2020-11-28 20:12:58 +00:00
|
|
|
if (KFPlayer != None)
|
2020-06-23 12:48:24 +00:00
|
|
|
return KFPlayer.GetPerk();
|
|
|
|
return super.GetPerk();
|
2023-05-14 02:49:12 +00:00
|
|
|
}
|