From 04a6824ca8531d1517a7aeddb5a3a4e5d9e097f7 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 21 Dec 2021 11:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E5=AF=BC=E6=8A=BD=E5=8D=A1=EF=BC=9A?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=BF=9D=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/activity/handler/gachaHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/activity/handler/gachaHandler.ts b/game-server/app/servers/activity/handler/gachaHandler.ts index ebdbc0e0f..3791fd9ff 100644 --- a/game-server/app/servers/activity/handler/gachaHandler.ts +++ b/game-server/app/servers/activity/handler/gachaHandler.ts @@ -381,7 +381,7 @@ export class GachaHandler { } let gachaPull = new GachaPull(gachaId, 0, []); - gachaPull.setByUserGacha(dicGacha, userGacha); + gachaPull.setByUserGacha({...dicGacha, floorReward: 0}, userGacha); let { resultList } = gachaPull.pull(count); userGacha = await UserGachaModel.updateInfo(roleId, gachaId, 0, { guideResultList: resultList, guideCount: guideCount + 1 })