🧪 test(gvg): 添加gvg激战期debug接口

This commit is contained in:
luying
2023-03-06 20:22:06 +08:00
parent 10df130ae5
commit 457baa6d08
4 changed files with 115 additions and 4 deletions

View File

@@ -2003,6 +2003,9 @@ export function checkRouteParam(route: string, msg: any) {
case "guild.gvgProduceHandler.debugAdjustHarvest":
case "guild.gvgFightHandler.debugSetMyRank":
case "guild.gvgFightHandler.debugSetMyOpp":
case "guild.gvgBattleHandler.debugAddRobots":
case "guild.gvgBattleHandler.debugMoveRobots":
case "guild.gvgBattleHandler.debugStopMoveRobot":
{
if (msg.magicWord !== DEBUG_MAGIC_WORD || !isDevelopEnv()) return false;