| Both sides previous revisionPrevious revisionNext revision | Previous revision | 
| plugin-card-action-pack-2 [2025/06/13 20:29]  –  isiahgames | plugin-card-action-pack-2 [2025/07/03 22:54] (current)  – [Card Actions]  isiahgames | 
|---|
| **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. | 
 |  | 
| ===== Card Actions ===== | ===== Card Actions ===== | 
|   | |< 100% 30% >| | 
| ^  Card Action Syntax  ^ Description  ^ | ^  Card Action Syntax  ^ Description  ^ | 
| |  <code>Shuffle zoneName</code>  | Replace 'zoneName' with a zone. This will shuffle the specified zone.  | | |  <code>Shuffle zoneName</code>  | Replace 'zoneName' with a zone. This will shuffle the specified zone.  | | 
| ===== 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 ===== | 
| - Fixed crash when getting the "smooth target" for the first card in the Hand. | - Fixed crash when getting the "smooth target" for the first card in the Hand. | 
| - Fixed crash when card battle is disabled. | - 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 compatibility with DeckEditorCore. | 
| - Fixed Perma Remove removing an extra copy from the Deck in battle. | - Fixed Perma Remove removing an extra copy from the Deck in battle. |