Fixed the Heavy Armor trait
This commit is contained in:
parent
43186c5e28
commit
aec79de0d4
@ -9,6 +9,14 @@ static function TraitDeActivate( Ext_PerkBase Perk, byte Level, optional Ext_Tra
|
|||||||
Perk.bHeavyArmor = false;
|
Perk.bHeavyArmor = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static function ApplyEffectOn( KFPawn_Human Player, Ext_PerkBase Perk, byte Level, optional Ext_TraitDataStore Data )
|
||||||
|
{
|
||||||
|
if( Level <= 1 )
|
||||||
|
return;
|
||||||
|
|
||||||
|
Level == 2 ? Player.AddArmor(50) : Player.AddArmor(Player.MaxArmor);
|
||||||
|
}
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
TraitName="Heavy Armor"
|
TraitName="Heavy Armor"
|
||||||
|
Loading…
Reference in New Issue
Block a user