docs(web): correct the victory-refresh comment about what combat grants
The comment claimed the server had granted "silver and renown" on a combat win. It does not: grantVictoryRewards adds silver and item drops, and nothing in apps/api/src/combat or apps/api/src/rewards touches renown at all. Renown comes from milestones only. Introduced when I committed Task 15's staged work after its agent was cut off mid-step; caught by the task review. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -105,8 +105,9 @@ export class CombatPageComponent implements OnInit {
|
||||
}
|
||||
|
||||
if (after.status === 'WON') {
|
||||
// The server already granted silver and renown; pull the authoritative
|
||||
// character so the HUD matches (spec §35).
|
||||
// The server already granted silver and any item drops; pull the
|
||||
// authoritative character so the HUD matches (spec §35). Renown is
|
||||
// not granted here -- it comes from milestones only.
|
||||
void this.worldStore.refreshCharacter();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user