Merge pull request #33 from secretagentjr/test1

Fix Spread not working on shotguns(Support,Medic) etc
This commit is contained in:
GenZmeY 2021-08-24 01:49:53 +03:00 committed by GitHub
commit 597dd74851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
simulated function float GetTightChokeModifier()
{
return (CurrentPerk!=None ? CurrentPerk.GetTightChokeModifier() : 1.f);
}
// Other
function ApplySkillsToPawn()
{

View File

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