From 6e327a2d4cd5d05e141e55d16e138ec8afa3d1b1 Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 1 Jul 2021 17:28:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=8D=A1=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=B4=AB=E5=8D=A1=E4=BF=9D=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/activity/gachaService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/activity/gachaService.ts b/game-server/app/services/activity/gachaService.ts index 84d5a0f31..dc0ca8dca 100644 --- a/game-server/app/services/activity/gachaService.ts +++ b/game-server/app/services/activity/gachaService.ts @@ -302,7 +302,7 @@ export class GachaPull { } private getPurpleFloor(count: number, index: number, contentId: number, resultList: GachaResult[]) { - if(count == 10 && index == count - 1) { // 10连到最后一抽 + if(this.gachaType == GACHA_ID.NORMAL && count == 10 && index == count - 1) { // 10连到最后一抽 let { type, param } = gameData.gachaContent.get(contentId); if(type != GACHA_CONTENT_TYPE.HERO || param[0] < HERO_QUALITY_TYPE.PURPLE) { let hasPurple = false;