card-actions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| card-actions [2024/09/10 01:34] – [Core Engine] isiahgames | card-actions [2025/06/13 20:32] (current) – isiahgames | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Card Actions are effects that can happen at the start of a battle, at the start of a turn, or when you play a Card or use an Item. These effects can be used in sequence to create more versatile effects. | Card Actions are effects that can happen at the start of a battle, at the start of a turn, or when you play a Card or use an Item. These effects can be used in sequence to create more versatile effects. | ||
| + | |||
| + | In place of a number in all Card Actions, you can also use \V[x] to use a Game Variable, just like with message boxes. | ||
| + | Example: | ||
| + | Draw \v[4] | ||
| + | Will draw 3 cards if Game Variable 4 is set to 3, 1 card if Game Variable 4 is set to 1, and so on. | ||
| ===== Skills/ | ===== Skills/ | ||
| Line 24: | Line 29: | ||
| </ | </ | ||
| These can be used for example to have an ally draw cards as part of a Card effect. | These can be used for example to have an ally draw cards as part of a Card effect. | ||
| - | |||
| - | In place of a number in all Card Actions, you can also use \V[x] to use a Game Variable, just like with message boxes. | ||
| - | Example: | ||
| - | Draw \v[4] | ||
| - | Will draw 3 cards if Game Variable 4 is set to 3, 1 card if Game Variable 4 is set to 1, and so on. | ||
| **Note**: Since Enemies do not have Cards or Decks (as of [[plugin-core|MYTH_CGC_CoreEngine]] v1.6.0), they can't process Card Target Actions. This feature is currently limited to an Actor and their allied Party members. | **Note**: Since Enemies do not have Cards or Decks (as of [[plugin-core|MYTH_CGC_CoreEngine]] v1.6.0), they can't process Card Target Actions. This feature is currently limited to an Actor and their allied Party members. | ||
| Line 72: | Line 72: | ||
| The list of Actions available in the [[plugin-core|Core Plugin]] are as follows: | The list of Actions available in the [[plugin-core|Core Plugin]] are as follows: | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | | < | ||
| - | Example of how these Card Actions can be used: | + | {{page>plugin-core# |
| - | <code> | + | |
| - | <Card Actions> | + | |
| - | label start | + | |
| - | if (user.handSize >= 10) | + | |
| - | jump to end | + | |
| - | draw 1 | + | |
| - | wait 5 | + | |
| - | jump to start | + | |
| - | label end | + | |
| - | </Card Actions> | + | |
| - | </ | + | |
| - | These card actions | + | |
| ==== Card Types ==== | ==== Card Types ==== | ||
| If you’re using [[plugin-card-types|Card Types]] plugin, you also have access to these Card Actions: | If you’re using [[plugin-card-types|Card Types]] plugin, you also have access to these Card Actions: | ||
| - | | **Draw X Type Y** | Where X is a number and Y is the name of a Card Type, the game will search the player’s deck for cards of type Y and draw the first X amount of them. | | + | {{page> |
| - | | **Discard X Type Y** | Where X is a number and Y is the name of a Card Type, the game will search the player' | + | |
| - | | **Remove X Type Y** | Where X is a number and Y is the name of a Card Type, the game will search the player' | + | |
| - | | **Mill Until Type X** | Where X is the name of a Card Type, the game will discard the top card of the player’s deck until a card of card type Y is on the top of the deck. It will not draw or discard this card - these actions | + | |
| **Note**: As of 1.6.2, card type names are no longer case-sensitive. | **Note**: As of 1.6.2, card type names are no longer case-sensitive. | ||
| - | + | ==== Action Pack 1 ==== | |
| - | ==== Card Action Pack 1 ==== | + | If you are using the plugin [[plugin-card-action-pack-1|Action Pack 1]], you also have access to these Card Actions: |
| - | If you are using the plugin [[plugin-card-action-pack-1|Card Action Pack 1]], you also have access to these Card Actions: | + | |
| **Selection Card Actions** | **Selection Card Actions** | ||
| - | | <code>Select X from zoneName</ | + | {{page>plugin-card-action-pack-1# |
| - | | < | + | |
| - | | < | + | |
| - | | < | + | |
| - | | < | + | |
| **Movement Card Actions** | **Movement Card Actions** | ||
| - | | <code>Move selected to zoneName</ | + | {{page>plugin-card-action-pack-1# |
| - | | < | + | |
| - | | < | + | |
| **Clear Card Actions** | **Clear Card Actions** | ||
| - | | <code>Clear Selected | + | {{page>plugin-card-action-pack-1# |
| - | Clear Selection</ | + | |
| + | ==== Action Pack 2 ==== | ||
| + | If you are using the plugin [[plugin-card-action-pack-2|Action Pack 2]], you also have access to these Card Actions: | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | In addition, you have access to [[plugin-card-action-pack-2# | ||
| + | ==== Independent Card Variables ==== | ||
| + | If you are using the plugin [[plugin-icv|Independent Card Variables]], you also have access to these Card Actions: | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | ==== Card Summons ==== | ||
| + | |||
| + | If you are using the plugin [[plugin-card-summons|Card Summons]], you also have access to these Card Actions: | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | ===== Card Action Modifiers ===== | ||
| + | For the time being, Modifiers are only present in Action Pack 2. [[plugin-card-action-pack-2# | ||
card-actions.1725924848.txt.gz · Last modified: 2024/09/10 01:34 by isiahgames