mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-15 08:32:41 +00:00
Adds resolveArenaBoss(userID, ArenaBossEncounter) — a single-round combat path that routes through runZoneCombat + renderBossOutcome so arena fights surface the same staged narration zone bosses use: intro line, RenderCombatLog phases, Nat20/Nat1 mood lines, phase-two barb on T3+ (ZoneArena routing), BossDeath/PlayerDeath flavor, dice summary, arena-styled headline. Behind ARENA_BOSS_FLOW env var (arenaBossFlowEnabled). Side-effect free — no ArenaRun mutation, no payout, no history rows. The dispatch into resolveArenaRound lands in step 4b once the surrounding economic glue (rewards, achievements, helmet drops, death flag) is plumbed for the new combat result shape. Smoke tests cover (a) end-to-end arena round produces non-empty intro/phases/outcome with the right headline, (b) bad tier/round returns an error, (c) phase-two thresholds match the design doc, (d) every tier×round arenaBosses entry has positive stats. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>