User Tools

Site Tools


plugin-card-action-pack-2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin-card-action-pack-2 [2025/06/13 02:11] – [Card Actions] isiahgamesplugin-card-action-pack-2 [2025/06/17 20:13] (current) – [Version History] isiahgames
Line 3: Line 3:
 **MYTH_CGC_ActionPack2** is a plugin that adds new Card Actions, Passives and the new Modifier keywords. **MYTH_CGC_ActionPack2** is a plugin that adds new Card Actions, Passives and the new Modifier keywords.
  
-**Current Version: 1.0.0**+**Current Version: 1.0.2**
  
 This plugin is currently Patreon Only. This plugin is currently Patreon Only.
Line 21: Line 21:
 ===== Card Passives ===== ===== Card Passives =====
  
 +^ Card Passive Syntax  ^ Description  ^
 |  <code>Prevent [cardAction]</code>  | This prevents a card from being the target of a given Card Action.\\ <code>Prevent Discard</code>This card cannot be selected for the Discard action\\ <code>Prevent Move to Discard</code>This card cannot be moved to the discard zone through any means\\ <code>Prevent Move</code>This card cannot be moved from its starting zone.\\ Specially implemented is: <code>Prevent Perma Remove</code>This card can be removed from play but it will return at end of battle like a normal Remove. See "Perma" Modifier for details below. | |  <code>Prevent [cardAction]</code>  | This prevents a card from being the target of a given Card Action.\\ <code>Prevent Discard</code>This card cannot be selected for the Discard action\\ <code>Prevent Move to Discard</code>This card cannot be moved to the discard zone through any means\\ <code>Prevent Move</code>This card cannot be moved from its starting zone.\\ Specially implemented is: <code>Prevent Perma Remove</code>This card can be removed from play but it will return at end of battle like a normal Remove. See "Perma" Modifier for details below. |
-|  <code>Transform This into X if [expression]</code>  | Replace X with a skill ID and expression with code that evaluates to true or false.\\ \\ This passive transforms the card into a card of the specified Skill ID if the expression is true.\\ \\ The condition works just like the Require passive, but it's evaluated whenever there is a change in game state, as long as this card is in the hand.\\ \\ <code>Transform this into 5 if user.handSize > 7</code> This will transform the card into a card with the Skill ID 5 if the user's hand has more than 7 cards. |+|  <code>Transform This into X  
 +    if [expression]</code>  | Replace X with a skill ID and expression with code that evaluates to true or false.\\ \\ This passive transforms the card into a card of the specified Skill ID if the expression is true.\\ \\ The condition works just like the Require passive, but it's evaluated whenever there is a change in game state, as long as this card is in the hand.\\ \\ <code>Transform this into 5 if user.handSize > 7</code> This will transform the card into a card with the Skill ID 5 if the user's hand has more than 7 cards. |
  
 ===== Modifiers ===== ===== Modifiers =====
Line 59: Line 61:
 Bottom Bottom
 Random</code>  | These Modifiers do something different depending on if they are in the Middle of a Card Action or at the End.\\ These modify any Card Action that sends cards to a specific zone. Normally, cards are moved to the bottom of a zone. These can override that.\\ \\ Top moves a card to be the first card in a zone.\\ Middle moves a card to be in the middle position in a zone.\\ Bottom does not change the behavior.\\ Random moves the card to a random position within the zone, "shuffling" it in.\\ \\ <code>Discard 1 Random</code> This makes the player select a card from their hand, and moves the card to a random position inside the discard. <code>Copy Selected to Deck Top</code> This modifies the Copy Selected Card Action so that the new copies are added to the top of the deck instead of the bottom.\\ Note that because Top/Bottom/Random is a different Modifier depending on where it is in the Card Action, you can use both at once.\\ <code>Move 2 from Deck Bottom to Discard Top</code>This would take cards from the bottom of the Deck and put them at the top of the Discard| Random</code>  | These Modifiers do something different depending on if they are in the Middle of a Card Action or at the End.\\ These modify any Card Action that sends cards to a specific zone. Normally, cards are moved to the bottom of a zone. These can override that.\\ \\ Top moves a card to be the first card in a zone.\\ Middle moves a card to be in the middle position in a zone.\\ Bottom does not change the behavior.\\ Random moves the card to a random position within the zone, "shuffling" it in.\\ \\ <code>Discard 1 Random</code> This makes the player select a card from their hand, and moves the card to a random position inside the discard. <code>Copy Selected to Deck Top</code> This modifies the Copy Selected Card Action so that the new copies are added to the top of the deck instead of the bottom.\\ Note that because Top/Bottom/Random is a different Modifier depending on where it is in the Card Action, you can use both at once.\\ <code>Move 2 from Deck Bottom to Discard Top</code>This would take cards from the bottom of the Deck and put them at the top of the Discard|
 +
 +===== Version History =====
 +<code>
 +v1.0.2 
 +- Fixed crash when enemies force the player to discard.
 +- Fixed Modifier case-sensitivity error.
 +- Fixed crash when shuffling zones that don't display card sprites.
 +- Fixed crash when getting the "smooth target" for the first card in the Hand.
 +- Fixed crash when card battle is disabled.
 +- Fixed crash if actions are taken before the player gets to select cards.
 +- Fixed Perma Remove compatibility with DeckEditorCore.
 +- Fixed Perma Remove removing an extra copy from the Deck in battle.
 +- Fixed Prevent Discard failing when discarding all cards.
 +- Fixed crash with the Random Middle Modifier.
 +- Perma Remove will now only regularly remove temporary cards, preventing a duplicate removal
 +- Fixed Move to zoneName Top failing to properly reorder sprites,causing the wrong card to be drawn.
 +
 +v1.0.1 
 +- Changed when transform conditions are checked to happen more often.
 +
 +v1.0.0 
 +- Finished plugin
 +</code>
plugin-card-action-pack-2.1749773493.txt.gz · Last modified: 2025/06/13 02:11 by isiahgames