mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 20:52:56 +03:00
Update Humanity System
This updates the humanity system. It removes the OpenTarget from Dayz Mod which is not needed for Epoch and more confusing as it helps to understand why a player gets a humanity drop or not. The new system gives players always humanity. Survivor killed Survivor = Negative Humanity Survivor killed Bandit = Positive Humanity Survivor killed Hero = Negative Humanity Hero killed Bandit = Positive Humanity Hero killed Hero = Negative Humanity Hero killed Survivor = Negative Humanity Bandit killed Bandit = Negative Humanity Bandit killed Hero = Negative Humanity Bandit killed Survivor = Negative Humanity The values are strict and have no longer a complicated calculation based on a kill counter. This change needs more testing in the beta state of this update.
This commit is contained in:
@@ -67,7 +67,7 @@ call {
|
||||
};
|
||||
|
||||
if (_variable == "Humanity") exitWith {
|
||||
PVCDZ_plr_Humanity = _arraytosend;
|
||||
PVCDZ_plr_Humanity = _arraytosend select 0;
|
||||
_owner publicVariableClient "PVCDZ_plr_Humanity";
|
||||
//diag_log ("Humanity" +str(PVCDZ_plr_Humanity));
|
||||
};
|
||||
@@ -118,12 +118,6 @@ call {
|
||||
_owner publicVariableClient "PVCDZ_plr_Legs";
|
||||
};
|
||||
|
||||
if (_variable == "OpenTarget") exitWith {
|
||||
_unit setVariable ["OpenTarget",true,true];
|
||||
PVCDZ_OpenTarget_Reset = true;
|
||||
_owner publicVariableClient "PVCDZ_OpenTarget_Reset";
|
||||
};
|
||||
|
||||
if (_variable == "tagFriendly") exitWith {
|
||||
PVDZE_plr_FriendRQ = _arraytosend;
|
||||
_owner publicVariableClient "PVDZE_plr_FriendRQ";
|
||||
|
||||
Reference in New Issue
Block a user