Fix Spread not working on shotguns

This commit is contained in:
unknown 2021-08-21 09:56:06 -07:00
parent d36068787a
commit b550ba56e7
2 changed files with 10 additions and 0 deletions

View File

@ -894,6 +894,11 @@ simulated function float GetPenetrationModifier(byte Level, class<KFDamageType>
return (Ext_PerkSupport(CurrentPerk)!=None ? Ext_PerkSupport(CurrentPerk).GetPenetrationModifier(Level, DamageType, bForce) : 0.f); return (Ext_PerkSupport(CurrentPerk)!=None ? Ext_PerkSupport(CurrentPerk).GetPenetrationModifier(Level, DamageType, bForce) : 0.f);
} }
simulated function float GetTightChokeModifier()
{
return (CurrentPerk!=None ? CurrentPerk.GetTightChokeModifier() : 1.f);
}
// Other // Other
function ApplySkillsToPawn() function ApplySkillsToPawn()
{ {

View File

@ -1475,6 +1475,11 @@ simulated function float GetZedTimeExtensions(byte Level)
return 1.f; return 1.f;
} }
simulated function float GetTightChokeModifier()
{
return Modifiers[3];
}
defaultproperties defaultproperties
{ {
CurrentConfigVer=14 CurrentConfigVer=14