mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Increase "basic medication" effectiveness of morphine
This commit is contained in:
parent
74fefb6f69
commit
8c5da66c43
@ -19,7 +19,7 @@ TRACE_3("params",_target,_className,_partIndex);
|
||||
|
||||
if (!EGVAR(medical,advancedMedication)) exitWith {
|
||||
if (_className == "Morphine") exitWith {
|
||||
#define MORPHINEHEAL 0.4
|
||||
#define MORPHINEHEAL 0.8
|
||||
private _pain = 0 max ((_target getVariable [QEGVAR(medical,pain), 0]) - MORPHINEHEAL);
|
||||
_target setVariable [QEGVAR(medical,pain), _pain, true];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user