mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Fix hunger and thirst "working" hits way too high
By default this was multiplying all "Working" hunger and thirst hits by
10 @icomrade because (1 min 0.1) always picks 0.1. For example:
dayz_thirst = dayz_thirst + (5 / 0.1)
dayz_thirst = dayz_thirst + 50
A config variable isn't really needed for this, since it is only used in
one file. It can be easily configured in compiles.sqf which most servers
already overwrite anyway.
This reverts 62b7c21.
This commit is contained in:
@@ -18,7 +18,7 @@ if (_ammo isKindOf "Melee") exitWith {
|
||||
if (_ammo != "Chainsaw_Swing_Ammo") then {
|
||||
// Added Nutrition-Factor for work
|
||||
//[Type,Blood[Calories,Hunger,Thrist,Temp]
|
||||
["Working",0,[0,3,5,0]] call dayz_NutritionSystem;
|
||||
["Working",0,[0,1,1,0]] call dayz_NutritionSystem;
|
||||
_unit playActionNow "GestureSwing";
|
||||
};
|
||||
_this call player_harvest; // harvest wood check
|
||||
|
||||
Reference in New Issue
Block a user