updates
This commit is contained in:
parent
5d771eed1b
commit
5368464042
28 changed files with 887 additions and 187 deletions
|
|
@ -2,7 +2,7 @@ import assert from 'node:assert/strict';
|
|||
import { test } from 'node:test';
|
||||
import { addBugs } from '../src/cards/util.ts';
|
||||
import { avatarCores, canWear, executionActions, executionCost, programCost } from '../src/engine.ts';
|
||||
import { portsFree } from '../src/query.ts';
|
||||
import { healthOf, portsFree } from '../src/query.ts';
|
||||
import { card } from './card.ts';
|
||||
import { Table, type Side } from './table.ts';
|
||||
|
||||
|
|
@ -20,7 +20,8 @@ const attackerDice = (t: Table) => t.logText().match(/Roll: Broken Bits \[([\d,]
|
|||
card('RAM Expansion', () => {
|
||||
const t = scene({ south: { main: ['RAM Expansion'] } });
|
||||
t.hardware(0, 1, 'RAM Expansion');
|
||||
assert.equal(avatarCores(t.s, 0, 1, 'defend'), 6);
|
||||
assert.equal(avatarCores(t.s, 0, 1, 'defend'), 4, 'no Cores');
|
||||
assert.equal(healthOf(t.s, { player: 0, slot: 1 }), 9 + 2, 'Broken Bits: 9 Health, +2');
|
||||
});
|
||||
|
||||
card('Additional Core', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue