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 20:29] 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 68: Line 70:
 - 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.
plugin-card-action-pack-2.1749839391.txt.gz · Last modified: 2025/06/13 20:29 by isiahgames