Advanced Fatigue consumes SwayFactor setting again (#7680)

This commit is contained in:
Michael Warr 2020-05-07 17:31:46 +01:00 committed by GitHub
parent 7311e644a2
commit ab3af34be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -82,6 +82,7 @@ Ferenzi
FFAAMOD <modffaa@gmail.com> FFAAMOD <modffaa@gmail.com>
Filip Basara <filip.basara93@googlemail.com> Filip Basara <filip.basara93@googlemail.com>
fr89k <kaschitoku@web.de> fr89k <kaschitoku@web.de>
Fragment
FreeZbe <freeseb@gmail.com> FreeZbe <freeseb@gmail.com>
geraldbolso1899 geraldbolso1899
Ghost Ghost

View File

@ -8,13 +8,13 @@ if (!hasInterface) exitWith {};
switch (stance _unit) do { switch (stance _unit) do {
case ("CROUCH"): { case ("CROUCH"): {
1.0 + _fatigue ^ 2 * 0.1 (1.0 + _fatigue ^ 2 * 0.1) * GVAR(swayFactor)
}; };
case ("PRONE"): { case ("PRONE"): {
1.0 + _fatigue ^ 2 * 2.0 (1.0 + _fatigue ^ 2 * 2.0) * GVAR(swayFactor)
}; };
default { default {
1.5 + _fatigue ^ 2 * 3.0 (1.5 + _fatigue ^ 2 * 3.0) * GVAR(swayFactor)
}; };
}; };
}] call EFUNC(common,arithmeticSetSource); }] call EFUNC(common,arithmeticSetSource);