mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Move clean wounds warning to rollingMessages
Vanilla commit:
49d9b6ff3c
This commit is contained in:
@@ -158,7 +158,6 @@ fnc_usec_calculateBloodPerSec = {
|
|||||||
_time = ((_time - 900) max 1) min 900;
|
_time = ((_time - 900) max 1) min 900;
|
||||||
_bloodLossPerSec = _bloodLossPerSec + (_time / 450) + 1;
|
_bloodLossPerSec = _bloodLossPerSec + (_time / 450) + 1;
|
||||||
_bloodLossPerSec = _bloodLossPerSec - (_bloodLossPerSec % 1);
|
_bloodLossPerSec = _bloodLossPerSec - (_bloodLossPerSec % 1);
|
||||||
//hintSilent (format["SetupMedFNCS: Blood Level: %2/12000 bloodLossPerSec %1",_bloodLossPerSec,r_player_blood]);
|
|
||||||
} else {
|
} else {
|
||||||
r_player_Sepsis = [false, 0];
|
r_player_Sepsis = [false, 0];
|
||||||
r_player_infected = true;
|
r_player_infected = true;
|
||||||
@@ -168,8 +167,8 @@ fnc_usec_calculateBloodPerSec = {
|
|||||||
|
|
||||||
if ((_time < 1) and (isNil "sepsisStarted")) then {
|
if ((_time < 1) and (isNil "sepsisStarted")) then {
|
||||||
//if (isNil "sepsisStarted") then {
|
//if (isNil "sepsisStarted") then {
|
||||||
//localize "str_medical_sepsis_warning" call dayz_rollingMessages;
|
localize "str_medical_sepsis_warning" call dayz_rollingMessages;
|
||||||
systemChat (localize "str_medical_sepsis_warning");
|
//systemChat (localize "str_medical_sepsis_warning");
|
||||||
player setVariable ["sepsisStarted", _time];
|
player setVariable ["sepsisStarted", _time];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user