Both sides previous revisionPrevious revisionNext revision | Previous revision |
plugin-core [2025/06/13 01:57] – [Actions] isiahgames | plugin-core [2025/06/13 20:45] (current) – [Passives] isiahgames |
---|
| |
===== Passives ===== | ===== Passives ===== |
| ^ Card Passive Syntax ^ Description ^ |
| <code>Will End Turn</code> | This will cause the card to end the turn upon use. | | | <code>Will End Turn</code> | This will cause the card to end the turn upon use. | |
| |
| <code>Discard if unplayed</code> | Will discard this card if the turn ends while this card is in the hand. | | | <code>Discard if unplayed</code> | Will discard this card if the turn ends while this card is in the hand. | |
| <code>Remove if unplayed</code> | Will remove this card from play if the turn ends while this card is in the hand. | | | <code>Remove if unplayed</code> | Will remove this card from play if the turn ends while this card is in the hand. | |
| |
| <code>Require [expression]</code> | Cannot be played unless the expression evaluates to true. Multiple requirements can be placed. Use the word 'user' to refer to the user of the card.\\ \\ <code>Require user.handSize > 2 | | <code>Require [expression]</code> | Cannot be played unless the expression evaluates to true. Multiple requirements can be placed. Use the word 'user' to refer to the user of the card.\\ \\ <code>Require user.handSize > 2 |
Require user.handSize < 10 | Require user.handSize < 10 |
Require $gameSwitches.value(3)</code>This will make a card playable only if the user's hand contains more than 2 and less than 10 cards. In addition, can only be played if Game Switch 3 is set to ON. | | Require $gameSwitches.value(3)</code>This will make a card playable only if the user's hand contains more than 2 and less than 10 cards. In addition, can only be played if Game Switch 3 is set to ON. | |
| |
| <code>Start in [zoneName]</code> | Will be in the specified zone at start of battle, before start-of-battle actions. | | | <code>Start in [zoneName]</code> | Will be in the specified zone at start of battle, before start-of-battle actions. | |
| <code>Start of Turn: Skill X</code> | At the Start of Turn, if this Card is in Hand, execute Skill ID X. | | | <code>Start of Turn: Skill X</code> | At the Start of Turn, if this Card is in Hand, execute Skill ID X. | |