关闭旧公会战
parent
f8a2ad6a32
commit
ae4d30761e
|
@ -598,7 +598,8 @@ public class GuildFightLogic {
|
|||
* @throws Exception
|
||||
*/
|
||||
public static void familyFightStatus() throws Exception {
|
||||
if(!GameApplication.serverProperties.isGuildFight()){
|
||||
int isOpen = SSpecialConfig.getIntegerValue(SSpecialConfig.GUILD_WAR_ISOPEN);
|
||||
if(isOpen==0){
|
||||
return;
|
||||
}
|
||||
if (status == 2 && startMatching) {
|
||||
|
|
|
@ -65,6 +65,7 @@ public class SSpecialConfig implements BaseConfig {
|
|||
public static final String EXPEDITION_REBORN = "expedition_reborn";// 大闹天宫复活道具id
|
||||
public static final String REWARD_OF_WORSHIP = "reward_of_worship";//膜拜获得金币奖励
|
||||
public static final String DISCOUNT_LEVEL= "discount_level";//限时折扣推送等级#推送间隔等级
|
||||
public static final String GUILD_WAR_ISOPEN = "Guild_war_isopen";//老公会战是否开启
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
||||
|
|
Loading…
Reference in New Issue