mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - Fix typo caridac to cardiac (#9900)
This commit is contained in:
parent
613fc36385
commit
19e0064730
@ -19,7 +19,7 @@ if (isNil QUOTE(BLOOD_LOSS_KNOCK_OUT_THRESHOLD)) then {BLOOD_LOSS_KNOCK_OUT_THRE
|
|||||||
if (isNil QUOTE(PAIN_FADE_TIME)) then {PAIN_FADE_TIME = PAIN_FADE_TIME_DEFAULT};
|
if (isNil QUOTE(PAIN_FADE_TIME)) then {PAIN_FADE_TIME = PAIN_FADE_TIME_DEFAULT};
|
||||||
if (isNil QUOTE(LIMPING_DAMAGE_THRESHOLD)) then {LIMPING_DAMAGE_THRESHOLD = LIMPING_DAMAGE_THRESHOLD_DEFAULT};
|
if (isNil QUOTE(LIMPING_DAMAGE_THRESHOLD)) then {LIMPING_DAMAGE_THRESHOLD = LIMPING_DAMAGE_THRESHOLD_DEFAULT};
|
||||||
if (isNil QUOTE(FRACTURE_DAMAGE_THRESHOLD)) then {FRACTURE_DAMAGE_THRESHOLD = FRACTURE_DAMAGE_THRESHOLD_DEFAULT};
|
if (isNil QUOTE(FRACTURE_DAMAGE_THRESHOLD)) then {FRACTURE_DAMAGE_THRESHOLD = FRACTURE_DAMAGE_THRESHOLD_DEFAULT};
|
||||||
if (isNil QUOTE(CARIDAC_OUTPUT_MIN)) then {CARIDAC_OUTPUT_MIN = CARIDAC_OUTPUT_MIN_DEFAULT};
|
if (isNil QUOTE(CARDIAC_OUTPUT_MIN)) then {CARDIAC_OUTPUT_MIN = CARDIAC_OUTPUT_MIN_DEFAULT};
|
||||||
// Derive the alternate fatal damage coefficents
|
// Derive the alternate fatal damage coefficents
|
||||||
if (isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_K) || isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_L)) then {
|
if (isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_K) || isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_L)) then {
|
||||||
private _x1 = 0.5;
|
private _x1 = 0.5;
|
||||||
|
@ -109,8 +109,8 @@
|
|||||||
#define FRACTURE_DAMAGE_THRESHOLD_DEFAULT 0.50
|
#define FRACTURE_DAMAGE_THRESHOLD_DEFAULT 0.50
|
||||||
|
|
||||||
// Minimum cardiac output
|
// Minimum cardiac output
|
||||||
#define CARIDAC_OUTPUT_MIN EGVAR(medical,const_minCardiacOutput)
|
#define CARDIAC_OUTPUT_MIN EGVAR(medical,const_minCardiacOutput)
|
||||||
#define CARIDAC_OUTPUT_MIN_DEFAULT 0.05
|
#define CARDIAC_OUTPUT_MIN_DEFAULT 0.05
|
||||||
|
|
||||||
// Minimum body part damage required for blood effect on uniform
|
// Minimum body part damage required for blood effect on uniform
|
||||||
#define VISUAL_BODY_DAMAGE_THRESHOLD 0.35
|
#define VISUAL_BODY_DAMAGE_THRESHOLD 0.35
|
||||||
|
@ -23,4 +23,4 @@ if (_woundBleeding == 0) exitWith {0};
|
|||||||
private _cardiacOutput = [_unit] call FUNC(getCardiacOutput);
|
private _cardiacOutput = [_unit] call FUNC(getCardiacOutput);
|
||||||
|
|
||||||
// even if heart stops blood will still flow slowly (gravity)
|
// even if heart stops blood will still flow slowly (gravity)
|
||||||
(_woundBleeding * (_cardiacOutput max CARIDAC_OUTPUT_MIN) * EGVAR(medical,bleedingCoefficient))
|
(_woundBleeding * (_cardiacOutput max CARDIAC_OUTPUT_MIN) * EGVAR(medical,bleedingCoefficient))
|
||||||
|
Loading…
Reference in New Issue
Block a user