card-types
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
card-types [2023/03/30 07:34] – banerjeesw | card-types [2025/06/12 18:39] (current) – [Skills/Items] isiahgames | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Card Types ====== | ====== Card Types ====== | ||
- | If you add the [[plugin-card-types|IsiahCGCCardTypes]] plugin to your project, you can specify one or more custom Types to each Card which give you access to a whole host of features that could be useful for a card game. | + | If you add the [[plugin-card-types|MYTH_CGC_CardTypes]] plugin to your project, you can specify one or more custom Types to each Card which give you access to a whole host of features that could be useful for a card game. |
===== Defining Types ===== | ===== Defining Types ===== | ||
- | You can define Types in the plugin parameters of [[plugin-card-types|IsiahCGCCardTypes]]. Each Type must at least have a Name. It is optional to draw the Name on the Card, have a default Icon and have a Card Base that corresponds to it. | + | You can define Types in the plugin parameters of [[plugin-card-types|MYTH_CGC_CardTypes]]. Each Type must at least have a Name. It is optional to draw the Name on the Card, have a default Icon and have a Card Base that corresponds to it. |
{{https:// | {{https:// | ||
- | Once a custom Type has been defined, it can be given to Cards to give them its default properties and the Type can be referenced in Card Actions. | + | Once a custom Type has been defined, it can be given to Skills |
===== Skills/ | ===== Skills/ | ||
Line 15: | Line 15: | ||
Ensure that all Types you plan to use are in the Card Types plugin parameter. | Ensure that all Types you plan to use are in the Card Types plugin parameter. | ||
- | Any skill which contains the **<Card Base: file_name> | + | Any skill which contains the **<Card Base: file_name> |
- | With the [[plugin-card-types|IsiahCGCCardTypes]] plugin, you also have access to these Card Actions: | + | With the [[plugin-card-types|MYTH_CGC_CardTypes]] plugin, you also have access to these Card Actions: |
^ Card Action Syntax | ^ Card Action Syntax | ||
- | | **Draw X Type Y** | Where X is a number and Y is the name of a Card Type, the game will search the player’s deck for cards of type Y and draw the first X amount of them. | | + | | **Draw X Type typeName** | Where X is a number and typeName |
- | | **Discard X Type Y** | Where X is a number and Y is the name of a Card Type, the game will search | + | | **Discard X Type typeName** | Where X is a number and typeName |
- | | **Remove | + | | **Remove X Type typeName** | Where X is a number and typeName is the name of a Card Type, the game will require that the player choose up to X cards from their hand of type typeName and remove |
- | | **Mill Until Type X** | Where X is the name of a Card Type, the game will discard the top card of the player’s deck until a card of card type Y is on the top of the deck. It will not draw or discard this card - these actions would be a separate notetag. | | + | | ** Mill X Type typeName** | Where X is a number and typeName |
+ | | **Mill Until Type typeName** | Where typeName | ||
+ | | **Move X Type typeName from zoneName1 to zoneName2** | This is a generic Move action that accepts all zones. Will move X cards of Type typeName from zoneName1 to zoneName2. | | ||
**Note**: All spellings of card type names are case sensitive. | **Note**: All spellings of card type names are case sensitive. | ||
===== Damage Formula ===== | ===== Damage Formula ===== | ||
+ | If you have [[plugin-card-types|MYTH_CGC_CardTypes]], | ||
+ | |||
+ | < | ||
+ | |||
+ | **zone** must be replaced with “deck” “discard” or “hand” (with quotation marks) for each respective zone.\\ \\ **type** must be replaced with the name of the Card Type you’re checking (with quotation marks). | ||
+ | |||
+ | This function will tell you how many cards of the specified type are in the specified zone. So if your damage formula says: | ||
+ | < | ||
+ | |||
+ | Then the damage dealt will be equal to 10 times the amount of Zombie cards currently in the player’s discard. | ||
+ | |||
+ | This function can be used just like the variables in the last section for the **Require** keyword. |
card-types.1680154475.txt.gz · Last modified: 2023/03/30 07:34 by banerjeesw