Support whole AND/OR ordinary bribe commitments
This commit is contained in:
1 parent
c81e00e6dd
commit
0e3c155876
21 files changed
+1778
-111
No files matched your search
@@ -130,13 +130,14 @@ void test('Basic native selected families qualify, while optional modules and un
|
||||
}
|
||||
});
|
||||
|
||||
void test('earlier current-round movement question profiles include declared Basic native families', () => {
|
||||
void test('earlier current-round movement question profiles include declared Basic and Advanced native families', () => {
|
||||
for (const phase of [0, 1, 2, 3, 4]) {
|
||||
const classic = movementBoundary(); classic.phase = phase; classic.movementRemaining = [];
|
||||
assert.equal(movementPromiseTargetAvailable(classic, 'target'), true);
|
||||
const native = structuredClone(classic); native.players[0].faction = 'ixians'; native.expansions = ['ix'];
|
||||
assert.equal(movementPromiseTargetAvailable(native, 'target'), true);
|
||||
classic.advanced = true; assert.equal(movementPromiseTargetAvailable(classic, 'target'), false);
|
||||
classic.advanced = true; assert.equal(movementPromiseTargetAvailable(classic, 'target'), true);
|
||||
native.advanced = true; assert.equal(movementPromiseTargetAvailable(native, 'target'), true);
|
||||
}
|
||||
for (const phase of [-1, 6, 8]) {
|
||||
const g = movementBoundary(); g.phase = phase;
|
||||
|
||||
Reference in new issue
Block a user