Add exhaust pile and restore keyword tooltips
This commit is contained in:
@@ -405,3 +405,16 @@ test("simulateCombat: retain keeps card in hand across turns", () => {
|
||||
assert.equal(r.win, true);
|
||||
assert.equal(r.turns, 2);
|
||||
});
|
||||
|
||||
test("simulateCombat: exhaust cards do not return through discard reshuffle", () => {
|
||||
const data = {
|
||||
cards: {
|
||||
BurnOut: { name: "BurnOut", cost: 1, kind: "Attack", damage: 10, exhaust: true },
|
||||
},
|
||||
starterDeck: ["BurnOut"],
|
||||
monsters: [{ name: "Dummy", maxHp: 12, intents: [{ kind: "Defend", value: 0 }] }],
|
||||
};
|
||||
const r = simulateCombat(data, mulberry32(1));
|
||||
assert.equal(r.win, false);
|
||||
assert.equal(r.draw, true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user