User Tools

Site Tools


plugin-icv

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-icv [2024/08/13 20:24] banerjeeswplugin-icv [2025/06/13 20:52] (current) – [Card Passives] isiahgames
Line 9: Line 9:
 **Current Version: 1.1.0** **Current Version: 1.1.0**
  
-{{ https://img.itch.zone/aW1hZ2UvMjMxNzQxNC8xMzc3NzQwNy5naWY=/347x500/TWKet7.gif }}+{{ https://img.itch.zone/aW1hZ2UvMjMxNzQxNC8xMzc3NzQwNy5naWY=/347x500/TWKet7.gif?nolink }}
  
 ===== Parameters ===== ===== Parameters =====
Line 15: Line 15:
 | **Reset Var after battle?** | If set to ON, changes to a card's Var variables will be reset at the end of each battle. | | **Reset Var after battle?** | If set to ON, changes to a card's Var variables will be reset at the end of each battle. |
 | **Prevent Negative Cost?** | If set to ON, subtracting a Var from a skill's cost will never result in a value below 0. | | **Prevent Negative Cost?** | If set to ON, subtracting a Var from a skill's cost will never result in a value below 0. |
- +**Preserve Var Values on Transform?** If set to ON, the Transform action ([[plugin-card-action-pack-2|Action Pack 2]]will not reset Var values. |
-===== Card Passives ===== +
- +
-<code>Var(X) init Y</code> This will set the initial value of Var(Xto the number specified in Y.\\ All values initialize at 0 by default, and this overrides that behavior for this Var index of all cards belonging to this skill.\\ \\ When Var values are reset, either through the "Reset Var after battle?" plugin parameter or through functions listed below, they return to their initial values. | +
 ===== Card Actions ===== ===== Card Actions =====
  
 +^  Card Action Syntax  ^ Description  ^
 | <code>Var(X) set Y</code> | This sets the specified Var of this card to the value supplied in Y.\\ Replace X with the Var index\\ Replace Y with the value you wish the Var index to contain  | | <code>Var(X) set Y</code> | This sets the specified Var of this card to the value supplied in Y.\\ Replace X with the Var index\\ Replace Y with the value you wish the Var index to contain  |
 | <code>Var(X) mod [+/-]Y</code> | Modifies the specified Var of this card by the value of Y. Adds or subtracts Y to/from Var. \\ Replace X with the Var index\\ Replace [+/-]Y with a positive or negative number | | <code>Var(X) mod [+/-]Y</code> | Modifies the specified Var of this card by the value of Y. Adds or subtracts Y to/from Var. \\ Replace X with the Var index\\ Replace [+/-]Y with a positive or negative number |
-| <code>All Skill [skillID] Var(X) set Y +| <code>Var(X) set eval [formula]</code> | This sets the specified var of this card to get the value of the formula. The value is re-evaluated at the end of each Action in battle. | 
-All Skill [skillID] Var(X) mod [+/-]Y</code> | These Card Actions modify the Var of all cards belonging to that actor of the specified Skill ID. | +| <code>All Skill [skillID] Var(X) 
-| <code>All Skill [skillID] Var(X) set Y in [zoneName] +    set Y 
-All Skill [skillID] Var(X) mod [+/-]Y in [zoneName]</code> | These Card Actions modify the Var of all cards belonging to that actor's specific zone.\\ \\ Replace [zoneName] with "Deck", "Discard" or "Hand". |+All Skill [skillID] Var(X) 
 +    mod [+/-]Y 
 +All Skill [skillid] Var(X) 
 +    set eval [formula]</code> | These Card Actions modify the Var of all cards belonging to that actor of the specified Skill ID. | 
 +| <code>All Skill [skillID] Var(X) 
 +    set Y in [zoneName] 
 +All Skill [skillID] Var(X) 
 +    mod [+/-]Y in [zoneName] 
 +All Skill [skillId] Var(X) 
 +    set eval [formula] in [zoneName]</code> | These Card Actions modify the Var of all cards belonging to that actor's specific zone.\\ \\ Replace [zoneName] with "Deck", "Discard" or "Hand". |
 | <code>Selected Var(X) set Y | <code>Selected Var(X) set Y
 Selected Var(X) mod [+/-]Y Selected Var(X) mod [+/-]Y
 +Selected Var(X) set eval [formula]
 </code> | Requires [[plugin-card-action-pack-1|Card Action Pack 1]] plugin to use.\\ \\ These Card Actions act on all Selected cards instead of the card containing the Card Actions. | </code> | Requires [[plugin-card-action-pack-1|Card Action Pack 1]] plugin to use.\\ \\ These Card Actions act on all Selected cards instead of the card containing the Card Actions. |
 +
 +===== Card Passives =====
 +^ Card Passive Syntax  ^ Description  ^
 +| <code>Var(X) init Y</code> | This will set the initial value of Var(X) to the number specified in Y.\\ All values initialize at 0 by default, and this overrides that behavior for this Var index of all cards belonging to this skill.\\ \\ When Var values are reset, either through the "Reset Var after battle?" plugin parameter or through functions listed below, they return to their initial values. |
 +| <code> Var (X) init eval [formula]</code> | This will set the initial value of Var(X) to be evaluated by the formula.\\Just like when setting a Var to a formula through Card Actions, this value will update at the end of every Action in battle, until it is overridden by another Set/Mod Card Action. |
  
 ===== Getting the Value of a Var ===== ===== Getting the Value of a Var =====
Line 69: Line 81:
 ===== Version History ===== ===== Version History =====
 <code> <code>
 +v1.2.0
 +- Added Eval variants on Var Card Actions.
 +
 +v1.1.3 
 +- Fixed bug where extra zones' cards wouldn't have their Var values changed when using All Skill Var(X) Set Card Action.
 +Added Preserve Var Values on Transform parameter.
 +Fixed bug where skill description would always reference the first Var value for all Vars.
 +
 +v1.1.2 
 +- Small change to one function for compatibility with Core Engine v1.6.2.
 +
 +v1.1.1 
 +- Simple View for the Card Library is now forced
 +- Var values are now shown on cards in the Card Library Simple View.
 +- Initial Var values are now shown on cards in all scenes where previously their values always shown as 0.
 +
 v1.1.0  v1.1.0 
 - Changed plugin name - Changed plugin name
plugin-icv.1723573450.txt.gz · Last modified: 2024/08/13 20:24 by banerjeesw