v1103
This commit is contained in:
7
ServerExt/Classes/DLCWeapDef_Mine_Reconstructor.uc
Normal file
7
ServerExt/Classes/DLCWeapDef_Mine_Reconstructor.uc
Normal file
@ -0,0 +1,7 @@
|
||||
class DLCWeapDef_Mine_Reconstructor extends KFWeapDef_Mine_Reconstructor
|
||||
abstract;
|
||||
|
||||
DefaultProperties
|
||||
{
|
||||
SharedUnlockId=SCU_None
|
||||
}
|
7
ServerExt/Classes/DLCWeapDef_Minigun.uc
Normal file
7
ServerExt/Classes/DLCWeapDef_Minigun.uc
Normal file
@ -0,0 +1,7 @@
|
||||
class DLCWeapDef_Minigun extends KFWeapDef_Minigun
|
||||
abstract;
|
||||
|
||||
DefaultProperties
|
||||
{
|
||||
SharedUnlockId=SCU_None
|
||||
}
|
@ -563,7 +563,7 @@ function bool CanNotBeGrabbed()
|
||||
{
|
||||
return (CurrentPerk!=None ? !CurrentPerk.bCanBeGrabbed : false);
|
||||
}
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out byte MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out int MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
{
|
||||
if( CurrentPerk!=None )
|
||||
CurrentPerk.ModifyMagSizeAndNumber(KFW,MagazineCapacity,WeaponPerkClass,bSecondary,WeaponClassname);
|
||||
|
@ -1271,7 +1271,7 @@ function bool ModifyHealAmount( out float HealAmount )
|
||||
HealAmount*=Modifiers[9];
|
||||
return false;
|
||||
}
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out byte MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out int MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
{
|
||||
if( MagazineCapacity>2 && (KFW==None ? WeaponPerkClass.Find(BasePerk)>=0 : IsWeaponOnPerk(KFW)) ) // Skip boomstick for this.
|
||||
MagazineCapacity = Min(MagazineCapacity*Modifiers[10],255);
|
||||
|
@ -26,7 +26,7 @@ simulated function ModifyDamageGiven( out int InDamage, optional Actor DamageCau
|
||||
Super.ModifyDamageGiven(InDamage, DamageCauser, MyKFPM, DamageInstigator, DamageType, HitZoneIdx);
|
||||
}
|
||||
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out byte MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
simulated function ModifyMagSizeAndNumber( KFWeapon KFW, out int MagazineCapacity, optional array< Class<KFPerk> > WeaponPerkClass, optional bool bSecondary=false, optional name WeaponClassname )
|
||||
{
|
||||
if( MagazineCapacity>2 && (KFW==None ? WeaponPerkClass.Find(BasePerk)>=0 : IsWeaponOnPerk(KFW)) ) // Skip boomstick for this.
|
||||
MagazineCapacity = Min(MagazineCapacity*Modifiers[10], bSecondary ? 150 : 255);
|
||||
|
Reference in New Issue
Block a user