Hello Scrolldiers,

Here’s a brief (and somewhat technical) description of an initial set of commands for custom match rules. We’ll add a few more down the line!

/Jon & the team

—

Target can either be P1 or P2. P1 is the challenger, and P2 the receiver of the challenge. Strings are not surrounded by quotes, e.g. unit(P1, Kinfolk Brave, 2, 1);

Each command is separated by a semicolon, so make sure to include them!

timer(seconds);

Sets the duration of each turn.

e.g. timer(30);

starts(target);

Sets who starts, either P1 or P2.

e.g. starts(P1); (challenger)

e.g. starts(P2); (challenged)

unit(target, name, row, column);

Creates a unit at row, column on target player’s side.

e.g. unit(P1, Bunny, 1, 2);

unit(target, name, row, column, ap, cd, hp);

Creates a unit at row, column on target player’s side and adds ap, cd, hp to their base stats.

e.g. unit(P1, Bunny, 1, 2, 4, 1, 0);

boss(target, name, row, column, ap, hp, selectable);

Creates a boss unit at row, column with ap, hp added to their base stats. Selectable controls if they can be targeted by spells and certain abilities (like Slayer);

e.g. boss(P1, Iron Ogre, 2, 1, 5, 4, true);

idol(target, row, amount);

Sets the initial hp of an idol.

e.g. idol(P1, 2, 20);

idols(target, amount);

Sets all idols on one side to start with amount hp.

e.g. idols(P1, 2);

resources(target, amount);

Sets the amount of starting resources (gets the full amount for each faction in the deck).

e.g. resources(P1, 3);

spell(target, name, everyRound);

Casts a spell every x round.

e.g. spell(P2, Horn of Ages, 4);

buffUnitCreated(target, enchantmentName);

Adds an enchantment to all units that spawn for target player.

e.g. buffUnitCreated(P2, Earthen Mirth);