🐞 fix(镇念塔): 跳关前判断当前所在层
This commit is contained in:
@@ -304,6 +304,7 @@ export class TowerBattleHandler {
|
||||
|
||||
let role = await RoleModel.findByRoleId(roleId);
|
||||
let oldTowerLv = role.towerLv;
|
||||
if(toLv <= oldTowerLv) return resResult(STATUS.TOWER_CANNOT_SKIP);
|
||||
let dicTower = gameData.tower.get(oldTowerLv);
|
||||
if(!dicTower.canSkip) {
|
||||
return resResult(STATUS.TOWER_CANNOT_SKIP);
|
||||
|
||||
Reference in New Issue
Block a user