抽卡:添加提示和限制
This commit is contained in:
@@ -62,7 +62,7 @@ export class GachaHandler {
|
||||
|
||||
dicGacha = getDicGachaByGachaCnt(dicGacha, historyCount);
|
||||
if (!dicGacha) return resResult(STATUS.DIC_DATA_NOT_FOUND);
|
||||
if (!dicGacha.count.includes(count)) return resResult(STATUS.WRONG_PARMS);
|
||||
if (!dicGacha.count.includes(count)) return resResult(STATUS.GACHA_IS_LOCK);
|
||||
|
||||
let gachaPull = new GachaPull(dicGacha, userGacha);
|
||||
let userHeroes = await HeroModel.findByRole(roleId);
|
||||
|
||||
Reference in New Issue
Block a user