商店:修复名将擂台限制
This commit is contained in:
@@ -160,7 +160,7 @@ export async function checkShopItemCanBuy(activityId: number, shopItemId: number
|
|||||||
}
|
}
|
||||||
if(dicShopItem.ranklimit) {
|
if(dicShopItem.ranklimit) {
|
||||||
let ladder = await LadderMatchModel.findByRoleId(roleId);
|
let ladder = await LadderMatchModel.findByRoleId(roleId);
|
||||||
if(ladder.historyRank < dicShopItem.ranklimit) {
|
if(ladder.historyRank > dicShopItem.ranklimit) {
|
||||||
return STATUS.LADDER_LV_LIMIT;
|
return STATUS.LADDER_LV_LIMIT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user