mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Infection changes
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
[FIXED] Fixed client crash when player has chainsaw due to corrupt RTM file. @vbawol
|
||||
|
||||
[CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade
|
||||
|
||||
[INFO] dayz_epoch1051.bikey found in client files "Keys" folder.
|
||||
[INFO] Server admins should add requiredSecureId = 2; to their server.cfg to prevent uid spoofing.
|
||||
[INFO] Models/textures by Paul Tomany. @Sequisha.
|
||||
|
||||
@@ -9,7 +9,11 @@ if (_unit == player) then {
|
||||
_selfTransValues = _this select 1;
|
||||
r_player_blood = r_player_blood + (_selfTransValues select 0);
|
||||
if (r_player_blood > 12000) then {r_player_blood = 12000;};
|
||||
_TransfusionInfection = ((random (_selfTransValues select 1)) < 1);
|
||||
if ((_selfTransValues select 1) < 0) then {
|
||||
_TransfusionInfection = false;
|
||||
} else {
|
||||
_TransfusionInfection = ((random (_selfTransValues select 1)) < 1);
|
||||
};
|
||||
} else {
|
||||
r_player_blood = r_player_bloodTotal;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user