From 4abd831f2092de29b5b24e650a13603d50161e2b Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 21 Mar 2023 21:03:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E6=8A=BD=E5=8D=A1):=20?= =?UTF-8?q?=E6=96=B0=E6=AD=A6=E5=B0=86=E6=8A=BD=E5=8D=A1=E4=BC=9A=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E5=A4=9A=E4=B8=AA=E5=8D=A1=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/activity/handler/gachaHandler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/game-server/app/servers/activity/handler/gachaHandler.ts b/game-server/app/servers/activity/handler/gachaHandler.ts index d40afad90..982fe77f5 100644 --- a/game-server/app/servers/activity/handler/gachaHandler.ts +++ b/game-server/app/servers/activity/handler/gachaHandler.ts @@ -66,6 +66,7 @@ export class GachaHandler { let resultList: GachaResultIndb[] = [], heroInfo: CreateHeroParam[] = [], items: RewardInter[] = [], consume: ItemInter[] = []; for(let { dic, min, max } of getDicGachas(dicGacha.gachaType, historyCount, count)) { + if(dicGacha.gachaType != GACHA_TYPE.NORMAL && dic.id != gachaId) continue; // console.log('##########', dic, min, max) let _count = max + 1 - min; let gachaPull = new GachaPull(dic, { hope, floor, pickHero });