Make Fremen allied revival grants cancelable
Bind the original Fremen/ally/turn grant before Karama allowance or prevention. A prevented grant leaves intrinsic free rates and prior payments intact. Permit late grants under the explicit provisional Recruits current-rate policy, with shared controls, minimal bot support and native public chronology evidence. Complete rules and browser/deployed acceptance remain open.
This commit is contained in:
1 parent
d63efccb55
commit
0e3d6a250e
23 files changed
+1183
-44
No files matched your search
@@ -149,7 +149,7 @@ for (const level of ['Easy', 'Medium', 'Hard', 'Brutal'] as const) {
|
||||
});
|
||||
}
|
||||
|
||||
void test('all AI profiles skip the unresolved late Fremen grant while using other legal revival choices', () => {
|
||||
void test('all AI profiles retain the legal late Fremen grant after Recruits', () => {
|
||||
let g = ownerGame();
|
||||
g.players[0].ally = 'fr'; g.players[1].ally = 'at';
|
||||
g = applyAction(g, 'at', { type: 'card', card: 'ecaz-recruits' });
|
||||
@@ -158,7 +158,9 @@ void test('all AI profiles skip the unresolved late Fremen grant while using oth
|
||||
view.players.find((p) => p.id === 'fr')!.bot = level;
|
||||
const actions = botActions(view);
|
||||
assert.ok(actions.length);
|
||||
assert.ok(!actions.some((action) => action.type === 'grantRevival'));
|
||||
const grant = actions.find(action => action.type === 'grantRevival');
|
||||
assert.ok(grant);
|
||||
assert.doesNotThrow(() => applyAction(g, 'fr', grant));
|
||||
assert.doesNotThrow(() => applyAction(g, 'fr', actions[0]));
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user