mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
no pain effect in zeus camera
This commit is contained in:
parent
cabddf89b7
commit
c2e4ee431f
@ -174,7 +174,8 @@ GVAR(lastHeartBeatSound) = ACE_time;
|
||||
if ((ACE_time > GVAR(lastHeartBeat) + _interval)) then {
|
||||
GVAR(lastHeartBeat) = ACE_time;
|
||||
|
||||
// Pain effect
|
||||
// Pain effect, no pain effect in zeus camera
|
||||
if (isNull (findDisplay 312)) then {
|
||||
_strength = (_pain - (ACE_player getvariable [QGVAR(painSuppress), 0])) max 0;
|
||||
_strength = _strength * (ACE_player getVariable [QGVAR(painCoefficient), GVAR(painCoefficient)]);
|
||||
if (GVAR(painEffectType) == 1) then {
|
||||
@ -224,6 +225,7 @@ GVAR(lastHeartBeatSound) = ACE_time;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
if (GVAR(level) >= 2 && {_heartRate > 0}) then {
|
||||
_minTime = 60 / _heartRate;
|
||||
|
Loading…
Reference in New Issue
Block a user