Connect Suk Graduate casualty rescues and saved continuation
Implement both rescue bands with legal physical casualty routing, owner controls, all four bot profiles and durable battle receipts. Preserve paid support, elite identity, killed/returned leader custody and replay rejection. New Advanced Atreides skill choices exclude Suk while the KH loss-count ruling is pending; legacy assigned combinations retain their preflight guard. Public gates remain. Independent review fixed stale dead trainer assignments and detached rescue receipts. Final focused Suk/Leader Skills union: 46 passed. Typecheck, lint, 4,452 offline tests, production build and 43 HTTP tests passed on unchanged source tree 3b76239a46d0ba874299495e64295a5eaaa8f2415c3e9a041bee944bbce50c5a. Actual browser rescue and refresh retained counters, private hand and pending winner card cleanup. Two four-profile Basic/Advanced smoke games completed with JSON restoration and no rejected actions; neither exercised a Suk rescue. After the outage report the server was healthy. All 360 pre-check rooms and original seat/recovery records are unchanged; checks added 33 rooms. SQLite integrity and foreign-key checks pass. No server restart or database reset.
This commit is contained in:
1 parent
5082c81353
commit
af360c836b
23 files changed
+987
-26
No files matched your search
@@ -85,9 +85,11 @@ export function LeaderSkillsPanel({
|
||||
if (!skills) return null;
|
||||
|
||||
const offer = skills.offer;
|
||||
const availableSkills =
|
||||
offer?.cards.filter((skill) => !skills.unavailableSkills?.[skill]) ?? [];
|
||||
const activeSkill =
|
||||
offer?.cards.find((skill) => skill === selectedSkill) ??
|
||||
offer?.cards[0] ??
|
||||
availableSkills.find((skill) => skill === selectedSkill) ??
|
||||
availableSkills[0] ??
|
||||
null;
|
||||
const activeLeader =
|
||||
offer?.leader ??
|
||||
@@ -110,7 +112,7 @@ export function LeaderSkillsPanel({
|
||||
This development-only module currently connects the card-role strength
|
||||
modifiers for Warmaster, Master of Assassins, Swordmaster of Ginaz,
|
||||
Killer Medic and Prana-Bindu Adept, plus Planetologist movement and
|
||||
Special-card battle use. Other Leader Skill effects are
|
||||
Special-card battle use and Suk Graduate force rescue. Other Leader Skill effects are
|
||||
unfinished.
|
||||
</p>
|
||||
</div>
|
||||
@@ -197,6 +199,7 @@ export function LeaderSkillsPanel({
|
||||
<div className="grid gap-3">
|
||||
{offer.cards.map((skill) => {
|
||||
const card = leaderSkillCard(skill);
|
||||
const unavailable = skills.unavailableSkills?.[skill];
|
||||
return (
|
||||
<div key={skill} className="space-y-2">
|
||||
<label className="flex min-h-11 items-center gap-2">
|
||||
@@ -205,14 +208,15 @@ export function LeaderSkillsPanel({
|
||||
name="leader-skill-card"
|
||||
value={skill}
|
||||
checked={activeSkill === skill}
|
||||
disabled={busy}
|
||||
disabled={busy || !!unavailable}
|
||||
onChange={() => setSelectedSkill(skill)}
|
||||
/>
|
||||
Keep {card.name}
|
||||
</label>
|
||||
{unavailable && <p className="fine">{unavailable}</p>}
|
||||
<LeaderSkillCard
|
||||
skill={skill}
|
||||
context="Your private offer"
|
||||
context={unavailable ? 'Your private offer · Unavailable' : 'Your private offer'}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user