From d3cd89958294ac7b600f3e5c667d03ee1cad9299 Mon Sep 17 00:00:00 2001 From: He-Man Date: Fri, 16 Feb 2018 16:41:44 +0100 Subject: [PATCH] Less money drops --- Server_Install_Pack/@epochhive/epochconfig.hpp | 2 +- Sources/epoch_server_settings/EpochEvents/MoneyDrop.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server_Install_Pack/@epochhive/epochconfig.hpp b/Server_Install_Pack/@epochhive/epochconfig.hpp index 19ed1b1e..d249291e 100644 --- a/Server_Install_Pack/@epochhive/epochconfig.hpp +++ b/Server_Install_Pack/@epochhive/epochconfig.hpp @@ -19,7 +19,7 @@ forceRestartTime = 14400; // 4 hour restarts { 900, "ChangeWeather", 1 , 1, -1, {} ,{"VR"}}, { 1200, "ContainerSpawner", 0 , 1, -1, {} ,{"VR"}}, { 1440, "GardenManager", 0 , 1, -1, {} ,{"VR"}}, - { 600, "MoneyDrop", 0 , 1 , -1, {} ,{"VR"}}, //No comma on last Entry + { 900, "MoneyDrop", 0 , 1 , -1, {} ,{"VR"}}, //No comma on last Entry { 300, "PlantSpawner", 0 , 1 , -1, {} ,{"VR"}} //No comma on last Entry }; diff --git a/Sources/epoch_server_settings/EpochEvents/MoneyDrop.sqf b/Sources/epoch_server_settings/EpochEvents/MoneyDrop.sqf index 6a85cba6..7ad4eded 100644 --- a/Sources/epoch_server_settings/EpochEvents/MoneyDrop.sqf +++ b/Sources/epoch_server_settings/EpochEvents/MoneyDrop.sqf @@ -36,7 +36,7 @@ for "_i" from 0 to 100 step 1 do { if ((count _position) == 2) then{ _playersNearEpicenter = _position nearEntities[["Epoch_Male_F", "Epoch_Female_F"], 1000]; // decrease chance with more players - _chance = 0.2 + (linearConversion [1, 100, (count allPlayers), 0, 0.5, true]); + _chance = 0.1 + (linearConversion [1, 100, (count allPlayers), 0, 0.5, true]); if ((random 1) < _chance) then { _values = getArray(_cfgEpoch >> "MoneyDropValues");