From 97dafdf4cf7e4c4ca0ded314d1c4b1d2531686c3 Mon Sep 17 00:00:00 2001 From: AconiteGodOfSWG Date: Fri, 12 Jun 2020 08:51:35 -0500 Subject: [PATCH] roadmap fix: no dearic city invasion if lifeday is on --- sku.0/sys.server/compiled/game/script/library/gcw.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sku.0/sys.server/compiled/game/script/library/gcw.java b/sku.0/sys.server/compiled/game/script/library/gcw.java index e7b7796b5..001985edf 100755 --- a/sku.0/sys.server/compiled/game/script/library/gcw.java +++ b/sku.0/sys.server/compiled/game/script/library/gcw.java @@ -2691,6 +2691,10 @@ public class gcw extends script.base_script CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not configured to run a city invasion. Function returning False."); return false; } + if (city == "dearic" && Boolean.parseBoolean(getConfigSetting("GameServer", "lifeday")) == true) { + CustomerServiceLog("gcw_city_invasion", "gcw.gcwIsInvasionCityOn: GCW City: " + city + " is not running because life day is turned on."); + return false; + } return true; } public static int gcwGetNextInvasionHour(String cityName) throws InterruptedException