mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Possible fix for #1645
This commit is contained in:
@@ -56,7 +56,8 @@ if (_unit == player) then
|
||||
{!_isPZombie});
|
||||
_humanityHit = 0;
|
||||
|
||||
if (!_punishment) then {
|
||||
if (!_punishment && {(DayZ_LastHumanityChange + 5) > diag_tickTime}) then {
|
||||
DayZ_LastHumanityChange = diag_tickTime;
|
||||
_myKills = 200 - (((player getVariable ["humanKills",0]) / 3) * 150);
|
||||
// how many non bandit players have I (the shot/damaged player) killed?
|
||||
// punish my killer 200 for shooting a surivor
|
||||
|
||||
@@ -360,6 +360,7 @@ PVDZ_obj_Publish = []; // Used for eventhandler to spawn a mirror of players ten
|
||||
PVCDZ_obj_HideBody = objNull;
|
||||
|
||||
//DayZ settings
|
||||
DayZ_LastHumanityChange = diag_tickTime;
|
||||
dayz_maxAnimals = 5;
|
||||
dayz_maxPlants = 3;
|
||||
dayz_animalDistance = 600;
|
||||
|
||||
Reference in New Issue
Block a user