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:25] – [Card Types] 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 68: | Line 68: | ||
===== List of All Card Actions ===== | ===== List of All Card Actions ===== | ||
+ | Below is a list of every Card Action sorted by which plugin provides it. | ||
==== Core Engine ==== | ==== Core Engine ==== | ||
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: | ||
- | | **Draw X** | Where X is a number, target draws that many cards from Hand. | | ||
- | | **Draw Until X** | Where X is a number, draw until your Hand size reaches that number. | | ||
- | | **Discard X** | Where X is a number, discard that many cards | | ||
- | | **Discard Until X** | Where X is a number, discard until your hand size reaches that number. | | ||
- | | **Remove X** | Where X is a number, remove that many cards from play. These cards are only removed for the current battle. | | ||
- | | **Remove Until X** | Where X is a number, remove until your hand size reaches that number. | | ||
- | | **Add [skillID] to [zoneName]** | Adds a card directly to a zone. For example, "" | ||
- | | **Mill X** | Moves X cards from the deck directly to the discard | | ||
- | | ** Move X from [zoneName] to [zoneName] ** | A generic form of Draw/ | ||
- | | **Search For X** | Where X is either a Skill ID or the name of a Skill/Card, it will find that card in your deck and draw it if it is present. | | ||
- | | **Wait X** | Where X is the amount of frames to wait before executing the next Card Action or moving on. This basically adds buffer time between actions. Note that this Action does not execute during Battle Start Actions or Turn Start Actions. | | ||
- | | **Shuffle Deck** | Shuffles the target' | ||
- | | **Eval [expression]** | Everything after the word “eval” is executed as code.\\ \\ < | ||
- | | **if [expression]** | ||
- | | **label [labelName]** | ||
- | | **jump to [labelName]** | ||
- | 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.1725924325.txt.gz · Last modified: 2024/09/10 01:25 by isiahgames