roadmap fix: no dearic city invasion if lifeday is on

This commit is contained in:
AconiteGodOfSWG
2020-06-12 08:51:35 -05:00
parent a05279872a
commit 97dafdf4cf

View File

@@ -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