Chapter 2
The Logic window
Reading a card's abilities, and adding, editing and removing them and their steps.
Opening it
Tap the (!) in a card's preview. The window opens on the card's abilities, the way the card's text is written: each is one when and the steps it does, in order. They are grouped by section:
- Triggers: when the card changes (it is revealed, played, travelled to, its shadow effect turns up, its tokens reach a number ...) or after a game event (an enemy engages, a location is explored, a test is failed).
- Actions and Responses: a badge on the card, used by a click, any time or after an event.
- Phase steps: when the game reaches a step of a phase ("at the end of the round", "at the beginning of the quest phase"). Setup is a step of its own: it runs once, when the game starts.
- Constant rules: standing conditions while the card is in a state (a rule cancels an action, a modifier changes a stat or a number of a test).
- Routine: a list other cards' logic calls (the Hide, Fortitude and Sailing tests).
Engine logic
Some logic is the engine's own, the same for every card: Pay for cards played asks for a card's printed cost when you play it from your hand, and keywords such as Surge, Doomed, Guarded, Time, Ambush, Peril, Indestructible, Toughness and Secrecy are done for every card that has them (the full list is in Gameplay settings → Engine logic), printed or granted by its logic (the list then says "granted by its logic"; a card whose effect calls @Surge or @Doomed says "gains surge" / "gains doomed"). When it applies to the card, the window shows it under Engine logic, greyed out when it is switched off. It is not edited in the window: switch it on or off for every card in Account → Gameplay settings → Engine logic. A card that can only be played under a condition gets a Play only if on its When played (under its When): the engine's window greys out its buttons, with the reason, until the condition holds (Oath of Eorl). For custom logic, an Ask step set to Pay its printed cost pays at another point instead, and the engine then asks nothing for that card.
Changing it
- The add button lists the kinds of ability: the usual moments of a card (When revealed, When played, Shadow effect ...), a game event (Forced or Response), an Action, a step of a phase, a rule or a modifier. Pick one and its options open.
- An ability's options are its when at the top (for a trigger, a named moment such as When played, or a custom change with its From and To), then its Steps, in order, with their own add button. Opening a step asks first what it does (ask the player, search or act on a zone, change cards, raise or lower threat, fire an event, do a routine), then shows only that action's options. Only if, and timing (folded) holds the rest: a choice, a search result, requirements, repeats, the end of the phase or round, the highlight.
- On each row, Edit opens it, Copy duplicates it (not on a phase step or the routine), Earlier and Later move it up and down, and Remove takes it away. An ability left with no steps is removed when you go back.
- Every step and rule has a JSON fold with all of its fields, for anything the options do not show. Load pastes a card's logic in, and Copy copies it out as JSON.
Changes are not Undo steps. They apply to this copy at once.
Steps run in order
The steps of an ability run one after the other, and each can use what the ones before it did: the cards a search picked, the number you named, the choice you made. A question or a search pauses the ability until you answer; closing it stops the rest (and an Action is taken back, its cost with it).