关卡:添加等级限制
This commit is contained in:
@@ -56,7 +56,9 @@ export class NormalBattleHandler {
|
||||
if (ap < warInfo.cost) {
|
||||
return resResult(STATUS.BATTLE_ACTION_POINT_LACK);
|
||||
}
|
||||
|
||||
if(role.lv < warInfo.lvLimited) {
|
||||
return resResult(STATUS.COM_BATTLE_LV_NOT_ENOUGH);
|
||||
}
|
||||
// 前置关卡是否挑战过
|
||||
let previousGk = warInfo.previousGk;
|
||||
if (previousGk) {
|
||||
|
||||
Reference in New Issue
Block a user