本地gm,四灵跳关
parent
484298240c
commit
01457210b5
|
@ -28,5 +28,6 @@ public interface GlobalGm {
|
|||
// int TECNOLOGY_MAX = 21;//科技树一键满级
|
||||
// int POKEMAN_MAX = 22;//一键获得所有满级异妖
|
||||
int HARD_STAGE =25;//一键通关山河社稷图特定关卡之前的所有关卡
|
||||
int FOUR_SPIRITS =26;//一键通关山河社稷图特定关卡之前的所有关卡
|
||||
|
||||
}
|
||||
|
|
|
@ -97,9 +97,9 @@ public class GMRequestHandler extends BaseHandler{
|
|||
MessageUtil.sendMessage(iSession, 1, MessageTypeProto.MessageType.GM_RESPONSE_VALUE, gmBuilder.build(), true);
|
||||
return;
|
||||
}
|
||||
if(!GameApplication.serverProperties.isDebug()){
|
||||
throw new ErrorCodeException("In a formal setting");
|
||||
}
|
||||
// if(!GameApplication.serverProperties.isDebug()){
|
||||
// throw new ErrorCodeException("In a formal setting");
|
||||
// }
|
||||
if (!command.contains("#") || command.split("#").length < 3) {
|
||||
LOGGER.error("wrong command :" + command);
|
||||
return;
|
||||
|
@ -456,6 +456,12 @@ public class GMRequestHandler extends BaseHandler{
|
|||
HardStageLogic.test(cUser,id);
|
||||
HardStageLogic.sendHardStageIndication(cUser);
|
||||
break;
|
||||
case GlobalGm.FOUR_SPIRITS:
|
||||
//四灵试炼跳关
|
||||
prarm1 = Integer.parseInt(commandArray[1]);
|
||||
prarm2 = Integer.parseInt(commandArray[2]);
|
||||
cUser.getPlayerInfoManager().updateFourChallengeByIndex(prarm1, prarm2);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue