(913d93c32) Setup new skills: initiative and courage. Not yet implemented.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:23:03 +03:00
parent 8f8ff7f1a9
commit abd19f614f
8 changed files with 379 additions and 68 deletions
@@ -1320,6 +1320,10 @@ namespace Barotrauma
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
if (!broken)
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
if (body == null || !body.Enabled || !inWater || ParentInventory != null || Removed) { return; }