Recon caps at the threat's total; leads kept once fully scouted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-19 15:39:02 +01:00
parent b248a030ea
commit 43b7a3a193
3 changed files with 23 additions and 6 deletions

View file

@ -501,7 +501,9 @@ function actionCard(a) {
}
if (a.special === "recon") {
const boost = S.favours.informant.boost;
extra = `<div class="small makes">${skillOf("reconnaissance").icon} +${+me.recon_gain[a.id].toFixed(2)} recon on the coming threat${boost ? ` <b class="boosted">×2 recon and XP for the next ${fmt(boost)}</b>` : ""}</div>`;
const ev = S.upcoming, full = ev && ev.recon >= ev.recon_full;
extra = full ? `<div class="small muted">The coming threat is fully scouted: this only trains the skill for now.</div>`
: `<div class="small makes">${skillOf("reconnaissance").icon} +${+me.recon_gain[a.id].toFixed(2)} recon on the coming threat${boost ? ` <b class="boosted">×2 recon and XP for the next ${fmt(boost)}</b>` : ""}</div>`;
}
const temple = S.city.buildings.temple?.level || 0;
if (a.special === "labour") {