✨ feat(稷下学宫): c67747d87到5ff932e83
This commit is contained in:
@@ -913,10 +913,10 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
|
||||
case "battle.rougeHandler.battleEnd":
|
||||
{
|
||||
let { gameCode, detailCode, battleCode, warId, status, round, rougeDamage, isAp, isRound } = msg;
|
||||
let { gameCode, detailCode, battleCode, warId, status, round, rougeDamage } = msg;
|
||||
if (!checkNaturalStrings(gameCode, detailCode, battleCode)) return false;
|
||||
if (!checkNaturalNumbers(warId, round, status)) return false;
|
||||
if (!checkBooleanIfExist(isAp, isRound)) return false;
|
||||
// if (!checkBooleanIfExist(isAp, isRound)) return false;
|
||||
if (!isArray(rougeDamage) || rougeDamage.length == 0) return false;
|
||||
let charaCodes: string[] = [];
|
||||
for (let { charaCode } of rougeDamage) {
|
||||
|
||||
Reference in New Issue
Block a user