diff --git a/game-server/app/services/activity/gachaService.ts b/game-server/app/services/activity/gachaService.ts index 355484fe8..811d6fc53 100644 --- a/game-server/app/services/activity/gachaService.ts +++ b/game-server/app/services/activity/gachaService.ts @@ -470,7 +470,10 @@ export class GachaPull { let { dic: { id: randHopePosition } } = getRandEelmWithWeight(gameData.gachaHope); if(randHopePosition > 0) { // 按玩家设置的心愿单塞 let hopeHero = this.player.getHopeHero(randHopePosition) - if(hopeHero > 0) gachaResult.setHero(hopeHero, 1); + if(hopeHero > 0) { + if (this.gachaType == GACHA_TYPE.NORMAL) gachaResult.setHero(hopeHero, 1); + if (this.gachaType == GACHA_TYPE.ARTIFACT) gachaResult.setItem(hopeHero, 1); + } } this.player.setUserHope(gachaResult.hid); // 设置心愿单中了没有 }