diff --git a/paydayHealth.cs b/paydayHealth.cs index 2da2a60..e385116 100644 --- a/paydayHealth.cs +++ b/paydayHealth.cs @@ -42,6 +42,12 @@ namespace pdHealth //if (pl.Health > overrideHealth) { Player.MaxHealth = overrideHealth; pl.Health = overrideHealth; } if (pl.Health > overrideHealth) { pl.Health = overrideHealth; } } + + if (overrideArmor != -1) { + //if (pl.Armor > overrideArmor) { Player.MaxArmor = overrideArmor; pl.Armor = overrideArmor; } + if (pl.Armor > overrideArmor) { pl.Armor = overrideArmor; } + } + if (pl.isAlive == false) { armorVal = -1; healthVal = -1;