mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Update inits
This commit is contained in:
@@ -66,12 +66,7 @@ private["_plyr","_brtns","_lightPcnt","_target"];
|
||||
_plyr = _this select 0;
|
||||
_target = _this select 1;
|
||||
|
||||
if(isNil "dayz_fullMoonNights")then{dayz_fullMoonNights = false;};
|
||||
if(dayz_fullMoonNights)then{
|
||||
_brtns = 0.024;
|
||||
}else{
|
||||
_brtns = 0.018;
|
||||
};
|
||||
_brtns = if (dayz_ForcefullmoonNights) then {0.024} else {0.018};
|
||||
_brtns = _brtns + ((_brtns/100) * ((_plyr distance _target)/15)); //Add percentage of brightness based on distance from player
|
||||
//Min / Max Levels
|
||||
//if (_brtns > 0.025)then{_brtns = 0.025;};
|
||||
|
||||
Reference in New Issue
Block a user