From c934882ac1478b090f4d15ff79a3985380bd93e8 Mon Sep 17 00:00:00 2001 From: ElectricWarr Date: Sun, 3 May 2020 22:37:45 +0100 Subject: [PATCH] Advanced Fatigue consumes SwayFactor setting again --- AUTHORS.txt | 1 + addons/advanced_fatigue/XEH_postInit.sqf | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 84c431446b2..953b5221b41 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -82,6 +82,7 @@ Ferenzi FFAAMOD Filip Basara fr89k +Fragment FreeZbe geraldbolso1899 Ghost diff --git a/addons/advanced_fatigue/XEH_postInit.sqf b/addons/advanced_fatigue/XEH_postInit.sqf index 78027fd3f52..9a45c1f2803 100644 --- a/addons/advanced_fatigue/XEH_postInit.sqf +++ b/addons/advanced_fatigue/XEH_postInit.sqf @@ -8,13 +8,13 @@ if (!hasInterface) exitWith {}; switch (stance _unit) do { case ("CROUCH"): { - 1.0 + _fatigue ^ 2 * 0.1 + (1.0 + _fatigue ^ 2 * 0.1) * GVAR(swayFactor) }; case ("PRONE"): { - 1.0 + _fatigue ^ 2 * 2.0 + (1.0 + _fatigue ^ 2 * 2.0) * GVAR(swayFactor) }; default { - 1.5 + _fatigue ^ 2 * 3.0 + (1.5 + _fatigue ^ 2 * 3.0) * GVAR(swayFactor) }; }; }] call EFUNC(common,arithmeticSetSource);