任务:宝石相关任务系统达成条件修改

This commit is contained in:
luying
2022-10-08 16:03:21 +08:00
parent d1766a33a5
commit c064341bc1
5 changed files with 75 additions and 70 deletions
+2 -1
View File
@@ -487,7 +487,8 @@ export function checkRouteParam(route: string, msg: any) {
case "battle.comBattleHandler.sendTeamMsg":
{
let { teamCode, type, content, targetRoleId, targetMsgCode } = msg;
if(!checkNaturalStrings(teamCode, content, targetRoleId, targetMsgCode)) return false;
if(!checkNaturalStrings(teamCode, content)) return false;
if(!checkStringIfExist(targetRoleId, targetMsgCode)) return false;
if(!checkNaturalNumbers(type)) return false;
break;
}