Move medic SMGs to demolitionist perk
This commit is contained in:
parent
796b699825
commit
ed4d67dc1c
@ -1,4 +1,4 @@
|
|||||||
class NiceDamTypeMedicDart extends NiceDamageTypeVetCommando
|
class NiceDamTypeMedicDart extends NiceDamageTypeVetDemolitions
|
||||||
abstract;
|
abstract;
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
@ -39,12 +39,13 @@ static function int AddDamage(KFPlayerReplicationInfo KFPRI, KFMonster Injured,
|
|||||||
perkDamage = float(InDamage);
|
perkDamage = float(InDamage);
|
||||||
if(DmgType == class'NiceDamTypeDemoExplosion')
|
if(DmgType == class'NiceDamTypeDemoExplosion')
|
||||||
return 1.6 * perkDamage;
|
return 1.6 * perkDamage;
|
||||||
if(IsPerkedPickup(pickupClass))
|
if(IsPerkedPickup(pickupClass) && class<NiceDamTypeDemoExplosion>(DmgType) != none)
|
||||||
perkDamage *= 1.25;
|
perkDamage *= 1.25;
|
||||||
else if( pickupClass != none && pickupClass.default.weight <= class'NiceSkillDemoOffperk'.default.weightBound
|
else if( pickupClass != none && pickupClass.default.weight <= class'NiceSkillDemoOffperk'.default.weightBound
|
||||||
&& HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillDemoOffperk') )
|
&& HasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillDemoOffperk') )
|
||||||
perkDamage *= class'NiceSkillDemoOffperk'.default.damageBonus;
|
perkDamage *= class'NiceSkillDemoOffperk'.default.damageBonus;
|
||||||
if( KFPRI != none && class<NiceDamTypeDemoBlunt>(DmgType) != none
|
if( KFPRI != none && class<NiceDamTypeDemoExplosion>(DmgType) == none
|
||||||
|
&& IsPerkedPickup(pickupClass)
|
||||||
&& SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillDemoOnperk') )
|
&& SomeoneHasSkill(NicePlayerController(KFPRI.Owner), class'NiceSkillDemoOnperk') )
|
||||||
perkDamage *= class'NiceSkillDemoOnperk'.default.damageBonus;
|
perkDamage *= class'NiceSkillDemoOnperk'.default.damageBonus;
|
||||||
return perkDamage;
|
return perkDamage;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class NiceDamTypeKrissM extends NiceDamageTypeVetCommando
|
class NiceDamTypeKrissM extends NiceDamageTypeVetDemolitions
|
||||||
abstract;
|
abstract;
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ defaultproperties
|
|||||||
AmmoItemName="45. ACP Ammo"
|
AmmoItemName="45. ACP Ammo"
|
||||||
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||||
EquipmentCategoryID=3
|
EquipmentCategoryID=3
|
||||||
CorrespondingPerkIndex=3
|
CorrespondingPerkIndex=6
|
||||||
InventoryType=class'NiceKrissMMedicGun'
|
InventoryType=class'NiceKrissMMedicGun'
|
||||||
PickupMessage="You got the KRISS Vector Medic Gun"
|
PickupMessage="You got the KRISS Vector Medic Gun"
|
||||||
PickupSound=Sound'KF_KrissSND.Handling.KF_WEP_KRISS_Handling_Pickup'
|
PickupSound=Sound'KF_KrissSND.Handling.KF_WEP_KRISS_Handling_Pickup'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class NiceDamTypeM7A3M extends NiceDamageTypeVetCommando
|
class NiceDamTypeM7A3M extends NiceDamageTypeVetDemolitions
|
||||||
abstract;
|
abstract;
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ defaultproperties
|
|||||||
AmmoItemName="7.6x40mm Ammo"
|
AmmoItemName="7.6x40mm Ammo"
|
||||||
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||||
EquipmentCategoryID=3
|
EquipmentCategoryID=3
|
||||||
CorrespondingPerkIndex=3
|
CorrespondingPerkIndex=6
|
||||||
InventoryType=class'NiceM7A3MMedicGun'
|
InventoryType=class'NiceM7A3MMedicGun'
|
||||||
PickupMessage="You got the M7A3 Medic Gun"
|
PickupMessage="You got the M7A3 Medic Gun"
|
||||||
PickupSound=Sound'KF_M7A3Snd.M7A3_Pickup'
|
PickupSound=Sound'KF_M7A3Snd.M7A3_Pickup'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class NiceDamTypeMP5M extends NiceDamageTypeVetCommando
|
class NiceDamTypeMP5M extends NiceDamageTypeVetDemolitions
|
||||||
abstract;
|
abstract;
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ defaultproperties
|
|||||||
AmmoItemName="9x19mm Ammo"
|
AmmoItemName="9x19mm Ammo"
|
||||||
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||||
EquipmentCategoryID=3
|
EquipmentCategoryID=3
|
||||||
CorrespondingPerkIndex=3
|
CorrespondingPerkIndex=6
|
||||||
VariantClasses(0)=Class'KFMod.CamoMP5MPickup'
|
VariantClasses(0)=Class'KFMod.CamoMP5MPickup'
|
||||||
InventoryType=class'NiceMP5MMedicGun'
|
InventoryType=class'NiceMP5MMedicGun'
|
||||||
PickupMessage="You got the MP5M Medic Gun"
|
PickupMessage="You got the MP5M Medic Gun"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class NiceDamTypeMP7M extends NiceDamageTypeVetCommando
|
class NiceDamTypeMP7M extends NiceDamageTypeVetDemolitions
|
||||||
abstract;
|
abstract;
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ defaultproperties
|
|||||||
AmmoItemName="4.6x30mm Ammo"
|
AmmoItemName="4.6x30mm Ammo"
|
||||||
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
AmmoMesh=StaticMesh'KillingFloorStatics.L85Ammo'
|
||||||
EquipmentCategoryID=3
|
EquipmentCategoryID=3
|
||||||
CorrespondingPerkIndex=3
|
CorrespondingPerkIndex=6
|
||||||
InventoryType=class'NiceMP7MMedicGun'
|
InventoryType=class'NiceMP7MMedicGun'
|
||||||
PickupMessage="You got the MP7M Medic Gun"
|
PickupMessage="You got the MP7M Medic Gun"
|
||||||
PickupSound=Sound'KF_MP7Snd.MP7_Pickup'
|
PickupSound=Sound'KF_MP7Snd.MP7_Pickup'
|
||||||
|
Loading…
Reference in New Issue
Block a user