Both sides previous revisionPrevious revisionNext revision | Previous revision |
plugin-core [2025/05/07 22:39] – isiahgames | plugin-core [2025/06/13 20:45] (current) – [Passives] isiahgames |
---|
| |
**Current Version: 1.6.2** | **Current Version: 1.6.2** |
| |
As we update this page, parts exclusive to the upcoming v1.6.3 will be marked with an asterisk* | |
| |
{{ https://img.itch.zone/aW1hZ2UvMTQyODQ1Ny8xNTQ3ODc3NS5naWY=/347x500/KDUHd7.gif?nolink }} | {{ https://img.itch.zone/aW1hZ2UvMTQyODQ1Ny8xNTQ3ODc3NS5naWY=/347x500/KDUHd7.gif?nolink }} |
| |
===== Actions ===== | ===== Actions ===== |
| ^ Card Action Syntax ^ Description ^ |
| <code>Draw X</code> | Where X is a number, playing this card will make the actor draw X cards | | | <code>Draw X</code> | Where X is a number, playing this card will make the actor draw X cards | |
| <code>Draw Until X</code> | Where X is a number, will make the actor draw until their hand is size X | | | <code>Draw Until X</code> | Where X is a number, will make the actor draw until their hand is size X | |
Search For [skill name]</code> | Draws the Card of the specified Skill ID (x) or name, if it is in the deck. | | Search For [skill name]</code> | Draws the Card of the specified Skill ID (x) or name, if it is in the deck. | |
| <code>Shuffle Deck</code> | Will shuffle the deck. | | | <code>Shuffle Deck</code> | Will shuffle the deck. | |
| | <code>Move X from [zoneName] |
| <code>Move X from [zoneName] to [zoneName]</code> | A generic form of Draw/Discard/Mill where you can specify any zone. For example "Move 3 from Discard to Hand" will return 3 cards to the hand. | | to [zoneName]</code> | A generic form of Draw/Discard/Mill where you can specify any zone. For example "Move 3 from Discard to Hand" will return 3 cards to the hand. | |
| <code>Move this to [zoneName]</code> | Will move the card currently being used to the specified zone. If the zone is absent the card will move to the discard at the end of all Card Actions. | | | <code>Move this to [zoneName]</code> | Will move the card currently being used to the specified zone. If the zone is absent the card will move to the discard at the end of all Card Actions. | |
| <code>Move all from [zoneName] to [zoneName]</code> | This will move all cards from one zone to another. | | | <code>Move all from [zoneName] |
| to [zoneName]</code> | This will move all cards from one zone to another. | |
| <code>Eval [expression]</code> | Will execute anything after the word "eval" as a piece of code. | | | <code>Eval [expression]</code> | Will execute anything after the word "eval" as a piece of code. | |
| <code>If [expression]</code> | This will evaluate the expression, and if it's true, it will execute the next Card Action. If false, it will skip that action. | | | <code>If [expression]</code> | This will evaluate the expression, and if it's true, it will execute the next Card Action. If false, it will skip that action. | |
| <code>Jump to [labelName]</code> | This will search for the label with the same name, and move to that label. If the label is after this Card Action, it will skip all Card Actions between the two. If the label is before this Card Action, it will execute the Card Actions between the two a second time. | | | <code>Jump to [labelName]</code> | This will search for the label with the same name, and move to that label. If the label is after this Card Action, it will skip all Card Actions between the two. If the label is before this Card Action, it will execute the Card Actions between the two a second time. | |
| <code>Wait X</code> | Causes Card Action execution to wait X frames before continuing, like a Wait command in RPG Maker. Does not work in Start of Turn/Battle params. | | | <code>Wait X</code> | Causes Card Action execution to wait X frames before continuing, like a Wait command in RPG Maker. Does not work in Start of Turn/Battle params. | |
| | <code>Play SE [fileName] |
| Play SFX [fileName]</code> | Will play the specified sound file located in audio/se folder. | |
| | <code>Force Action X</code> | Forces the user (in Card Actions) or the target (in Card Target Actions) to execute skill X. | |
| |
Example of how these Card Actions can be used: | Example of how these Card Actions can be used: |
</code> | </code> |
These card actions will draw 1 card, wait 5 frames, and then repeat until the player has 10 cards in their hand. | These card actions will draw 1 card, wait 5 frames, and then repeat until the player has 10 cards in their hand. |
| |
| |
| <code>Play SE [fileName] | |
Play SFX [fileName]</code> | Will play the specified sound file located in audio/se folder. | | |
| |
===== 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. | |
- Fixed crash if MV users are using the old ShowCard plugin. | - Fixed crash if MV users are using the old ShowCard plugin. |
- Fixed default bitmap loading properly in MZ if Default.png is not present in project. | - Fixed default bitmap loading properly in MZ if Default.png is not present in project. |
- Cards now appear properly in the Deck on battle start if the Deck's "Show cards?" parameter isn't set to "No." | - Cards now appear properly in the Deck on battle start if the Deck's "Show cards?" parameter isn't set to "No." |
- Cards now properly shuffle while their zones' "Show Cards?" parameter isn't set to "No." | - Cards now properly shuffle while their zones' "Show Cards?" parameter isn't set to "No." |
- Added image culling along the edges of Library windows, should be a huge visual improvement for MZ in particular. | - Added image culling along the edges of Library windows, should be a huge visual improvement for MZ in particular. |
- Fixed Deck zone not using the Skew property. | - Fixed Deck zone not using the Skew property. |
- Fixed typo in MZ plugin command | - Fixed typo in MZ plugin command |
- Fixed crash if using YEP_SkillCore but not YEP_MessageCore | - Fixed crash if using YEP_SkillCore but not YEP_MessageCore Help Window now always displays proper ICV values regardless of scene. |
- Help Window now always displays proper ICV values regardless of scene. | |
- Fixed bug where actors will execute their start-of-battle Card Actions twice if the actor before them is dead or cannot move. | - Fixed bug where actors will execute their start-of-battle Card Actions twice if the actor before them is dead or cannot move. |
- The Action Failure message in the Battle Log no longer displays when using a skill that has Card Actions. | - The Action Failure message in the Battle Log no longer displays when using a skill that has Card Actions. |
- Fixed similar bug for the Library scenes. | - Fixed similar bug for the Library scenes. |
- Added Scale parameters to the Hand Zone. | - Added Scale parameters to the Hand Zone. |
| - Added Move Card to Target parameter to the Hand Zone. |
- Temp Fix for forced actions that end the turn not properly ending it. The code is bad and will be improved in the future. | - Temp Fix for forced actions that end the turn not properly ending it. The code is bad and will be improved in the future. |
- Forced actions are now either better or worse. | - Forced actions are now either better or worse. |