From cc7893ec8fa84702389dcaf9b461e6e1c425f3b8 Mon Sep 17 00:00:00 2001 From: Tetardtek Date: Tue, 28 Apr 2026 17:47:18 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20multi-combat=20n'=C3=A9mettait=20pas=20q?= =?UTF-8?q?uest.progress=20kill=5Fmonster?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le combat x5 émettait kill_any mais pas kill_monster — les quêtes ciblant un monstre spécifique ne progressaient pas en batch. --- src/combat/combat.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/combat/combat.service.ts b/src/combat/combat.service.ts index 1a5d809..1c9b724 100644 --- a/src/combat/combat.service.ts +++ b/src/combat/combat.service.ts @@ -467,6 +467,7 @@ export class CombatService { this.eventEmitter.emit('community.contribute', { characterId: cid, type: 'total_monsters_killed', increment: txResult.totals.wins }); this.eventEmitter.emit('community.contribute', { characterId: cid, type: 'total_gold_earned', increment: txResult.totals.gold }); this.eventEmitter.emit('quest.progress', { characterId: cid, type: 'kill_any', increment: txResult.totals.wins, zone: monster.zone }); + this.eventEmitter.emit('quest.progress', { characterId: cid, type: 'kill_monster', targetId: monster.id, increment: txResult.totals.wins, zone: monster.zone }); for (const matId of txResult.lootedMaterialIds) { this.eventEmitter.emit('quest.progress', { characterId: cid, type: 'gather_material', targetId: matId, increment: 1 }); }