The walk-on card, weighted: who, how he plays, how you stand (v392)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
wuwiandClaude Opus 5.5 committed 2026-10-16 17:16:34 +02:00
1 parent b0ea694733
commit 3f206f6088
5 files changed
+140 -34

No files matched your search

+15
View File
@@ -3789,6 +3789,21 @@ test('THE STORY: every round won shows the cup\'s tableau, stamped up to the nex
restartRun();
});
test('THE WALK-ON CARD: in the story it drops the round (the tableau named it), and a far weaker body is EASY PREY', () => {
const saved = prof.prof.xp;
prof.prof.xp = 1e7; // far above round one's body
prof.prof.story = { act: 1, cp: 'cup', rack: [], tries: 0 };
G.mode = 'splatter'; G.everTransitioned = true; setupPoint();
assert.ok(startStory());
const f = [G.modal, ...G.modalQ].map(q => q && q.foe).find(Boolean);
G.modal = null; G.modalQ.length = 0; prof.prof.xp = saved;
assert.ok(f, 'the walk-on carries its card data');
assert.ok(!f.brow.includes('ROUND'), 'no round on the story card: ' + JSON.stringify(f.brow));
assert.deepEqual(f.sub, [], 'nothing rides under the chip in the cup');
assert.equal(f.peer, 'EASY PREY', 'ten and more levels under you');
restartRun();
});
test('THE STORY: the won final is seen before the loot screen pauses the world', () => {
// Oliver, 2026-10-16: "man kommt sofort in den Screen mit den Waffen und sieht den letzten Punkt nicht"
const shown = [], was = storyUI.show;