no pain effect in zeus camera

This commit is contained in:
SzwedzikPL 2015-07-02 13:56:56 +02:00
parent cabddf89b7
commit c2e4ee431f

View File

@ -174,7 +174,8 @@ GVAR(lastHeartBeatSound) = ACE_time;
if ((ACE_time > GVAR(lastHeartBeat) + _interval)) then { if ((ACE_time > GVAR(lastHeartBeat) + _interval)) then {
GVAR(lastHeartBeat) = ACE_time; 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 = (_pain - (ACE_player getvariable [QGVAR(painSuppress), 0])) max 0;
_strength = _strength * (ACE_player getVariable [QGVAR(painCoefficient), GVAR(painCoefficient)]); _strength = _strength * (ACE_player getVariable [QGVAR(painCoefficient), GVAR(painCoefficient)]);
if (GVAR(painEffectType) == 1) then { if (GVAR(painEffectType) == 1) then {
@ -224,6 +225,7 @@ GVAR(lastHeartBeatSound) = ACE_time;
}; };
}; };
}; };
};
if (GVAR(level) >= 2 && {_heartRate > 0}) then { if (GVAR(level) >= 2 && {_heartRate > 0}) then {
_minTime = 60 / _heartRate; _minTime = 60 / _heartRate;