抽卡:修改细节

This commit is contained in:
luying
2022-05-20 14:28:00 +08:00
parent 14788c23b5
commit 64dd20b38c
2 changed files with 1 additions and 8 deletions

View File

@@ -54,9 +54,6 @@ export class GachaHandler {
const sid: string = session.get('sid');
const serverId: number = session.get('serverId');
let { lv } = await RoleModel.findByRoleId(roleId);
let dicGacha = gameData.gacha.get(gachaId);
if (!dicGacha) return resResult(STATUS.DIC_DATA_NOT_FOUND);
if (!dicGacha.count.includes(count)) return resResult(STATUS.WRONG_PARMS);