mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fire - Increase effectiveness of rolling for putting out fire (#9016)
* Increase effectiveness of rolling for putting out fire * Use same value for rolling and pat down
This commit is contained in:
parent
20fb895b31
commit
78f0262e10
@ -223,8 +223,8 @@ if (_isBurning) exitWith {};
|
||||
};
|
||||
} else {
|
||||
if ((animationState _unit) in PRONE_ROLLING_ANIMS) then {
|
||||
// decrease intensity of burn, but if its too high this wont do anything substantial
|
||||
_intensity = _intensity - (1 / _intensity);
|
||||
// decrease intensity of burn
|
||||
_intensity = _intensity * INTENSITY_DECREASE_MULT_ROLLING;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -19,5 +19,5 @@
|
||||
params ["_medic", "_patient"];
|
||||
|
||||
private _intensity = _patient getVariable [QGVAR(intensity), 0];
|
||||
_intensity = _intensity * (4/5);
|
||||
_intensity = _intensity * INTENSITY_DECREASE_MULT_PAT_DOWN;
|
||||
_patient setVariable [QGVAR(intensity), _intensity, true];
|
||||
|
@ -30,3 +30,6 @@
|
||||
"amovppnemstpsoptwbindnon_amovppnemevasoptwbindl",\
|
||||
"amovppnemstpsoptwbindnon_amovppnemevasoptwbindr"\
|
||||
]
|
||||
|
||||
#define INTENSITY_DECREASE_MULT_PAT_DOWN 0.8
|
||||
#define INTENSITY_DECREASE_MULT_ROLLING INTENSITY_DECREASE_MULT_PAT_DOWN
|
||||
|
Loading…
Reference in New Issue
Block a user