Fixed a few bools being reset by the base perk system

This commit is contained in:
Forrest Keller 2017-10-29 11:03:58 -05:00
parent 235e02cbb0
commit b3e3831db5

View File

@ -773,6 +773,21 @@ simulated function float GetPenetrationModifier( byte Level, class<KFDamageType>
return (Ext_PerkSupport(CurrentPerk)!=None ? Ext_PerkSupport(CurrentPerk).GetPenetrationModifier(Level, DamageType, bForce) : 0.f);
}
// Other
function ApplySkillsToPawn()
{
if( CheckOwnerPawn() )
{
OwnerPawn.UpdateGroundSpeed();
OwnerPawn.bMovesFastInZedTime = false;
if( MyPRI == none )
MyPRI = KFPlayerReplicationInfo(OwnerPawn.PlayerReplicationInfo);
ApplyWeightLimits();
}
}
defaultproperties
{
bTickIsDisabled=false