diff --git a/game-server/app/services/activity/gachaService.ts b/game-server/app/services/activity/gachaService.ts index 811d6fc53..7909ce5c1 100644 --- a/game-server/app/services/activity/gachaService.ts +++ b/game-server/app/services/activity/gachaService.ts @@ -475,7 +475,8 @@ export class GachaPull { if (this.gachaType == GACHA_TYPE.ARTIFACT) gachaResult.setItem(hopeHero, 1); } } - this.player.setUserHope(gachaResult.hid); // 设置心愿单中了没有 + if (this.gachaType == GACHA_TYPE.NORMAL) this.player.setUserHope(gachaResult.hid); // 设置心愿单中了没有 + if (this.gachaType == GACHA_TYPE.ARTIFACT) this.player.setUserHope(gachaResult.id); // 设置心愿单中了没有 } }