Resolve Sneak arrivals during Great Maker rides
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
57321c2c8d
commit
2ad7f127ec
9 files changed
+290
-13
No files matched your search
@@ -102,6 +102,25 @@ void test('a summoned worm during a held Sneak arrival keeps its Nexus before th
|
||||
assert.equal(state.decision ?? null, null);
|
||||
});
|
||||
|
||||
void test('a summoned worm during the Sneak child preserves the Nexus before the next ride', () => {
|
||||
const { g } = table('sneakAttack');
|
||||
const karama = g.deck.find(card => card.effect === 'karama')!;
|
||||
g.deck = g.deck.filter(card => card.id !== karama.id);
|
||||
seat(g, 'in').hand = [karama];
|
||||
let state = wormRide(g);
|
||||
state = action(state, 'm', {type:'decision', reveal:true});
|
||||
state = action(state, 'm', {type:'decision', amount:1});
|
||||
state = action(state, 'ec', {type:'decision', event:state.pendingAmbassador!.event, decline:true});
|
||||
assert.equal(state.pendingAmbassador?.entrant, 'm');
|
||||
state = action(state, 'in', {type:'card', mode:'special', card:karama.id, territory:'the_great_flat'});
|
||||
assert.equal(state.summonedNexusBeforeRides, true);
|
||||
state = action(state, 'ec', {type:'decision', event:state.pendingAmbassador!.event, decline:true});
|
||||
assert.equal(state.pendingSneakWorm ?? null, null);
|
||||
assert.equal(state.nexus, true);
|
||||
assert.deepEqual(state.wormRides, ['hagga_basin']);
|
||||
assert.equal(state.decision ?? null, null);
|
||||
});
|
||||
|
||||
void test('Terror first keeps Robbery overflow custody and the ordered arrival intact', () => {
|
||||
const { g, terror } = table('robbery');
|
||||
seat(g, 'm').hand = g.deck.splice(0, 4);
|
||||
|
||||
Reference in new issue
Block a user