From e8b5adb01d0f11050e652d39988bea8af31df59d Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 26 Oct 2026 17:06:39 +0000 Subject: [PATCH] Threat card names the dragon or raid band Co-Authored-By: Claude Opus 5.5 --- game.py | 1 + static/app.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/game.py b/game.py index 67ad401..2db55aa 100644 --- a/game.py +++ b/game.py @@ -6087,6 +6087,7 @@ PATCH_NOTES = [ ("new", "Guild Roster shows player activity."), ("new", "Make X: \"Make one\" takes a count (1–1,000), then back to what you were doing."), ("new", "Fittings: ✓ Fitted on ones the town has (✓ Paused while damaged)."), + ("fix", "Council threat card names the dragon or raid band, not always \"Raiders\"."), ]}, {"date": "2026-10-25", "title": "Titles", "notes": [ ("new", "🏆 Achievements (under You): 127. Patterns, uniques, titles, emblems, looks, home. Tracks only, awards nothing."), diff --git a/static/app.js b/static/app.js index 81c54d3..d00dfb7 100644 --- a/static/app.js +++ b/static/app.js @@ -2142,7 +2142,8 @@ function council() { ${ev.recon_full && ev.intel < 3 ? boostBar(ev.recon, ev.recon_full, S.favours.informant.boost, "Informant: this stretch scouts twice as fast") : ""}`; if (threat) { const strength = ev.strength ?? (ev.range ? `${ev.range[0]}–${ev.range[1]}` : "?"); - html += `
Our defence${fmt(city.defence.total)}
vs
Raiders${strength}
`; + const foe = (ev.group || (ev.kind === "dragon" ? "dragon" : "raiders")).replace(/^\w/, (c) => c.toUpperCase()); + html += `
Our defence${fmt(city.defence.total)}
vs
${esc(foe)}${strength}
`; } html += ``; }