mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Make use of EFUNC(medical,getPainLevel)
This commit is contained in:
parent
57cacf63fa
commit
04b720f5bc
@ -22,8 +22,8 @@ private _bleedingStrength = [ACE_player] call EFUNC(medical,getBloodloss);
|
||||
private _bleeding = _bleedingStrength > 0;
|
||||
private _bloodVolume = ACE_player getVariable [QEGVAR(medical,bloodVolume), DEFAULT_BLOOD_VOLUME];
|
||||
private _unconscious = ACE_player getVariable [QEGVAR(medical,isUnconscious), false];
|
||||
private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), 70];
|
||||
private _pain = ACE_player getVariable [QEGVAR(medical,pain), 0];
|
||||
private _heartRate = ACE_player getVariable [QEGVAR(medical,heartRate), DEFAULT_HEART_RATE];
|
||||
private _pain = [ACE_player] call EFUNC(medical,getPainLevel);
|
||||
|
||||
// - Visual effects -----------------------------------------------------------
|
||||
[_unconscious, 2] call FUNC(effectUnconscious);
|
||||
|
Loading…
Reference in New Issue
Block a user