User Tools

Site Tools


card-types

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
card-types [2024/09/10 02:46] isiahgamescard-types [2025/07/10 20:42] (current) – [Damage Formula] isiahgames
Line 20: Line 20:
  
 ^  Card Action Syntax  ^  Description  ^ ^  Card Action Syntax  ^  Description  ^
-| **Draw X Type Y** | Where X is a number and 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 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. | 
-| **Discard X Type Y** | Where X is a number and is the name of a Card Type, the game will search the player's deck for cards of type and discard the first amount of them. | +| **Discard 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 discard them. | 
-| **Remove X Type Y** | Where X is a number and is the name of a Card Type, the game will search the player's deck for cards of type and remove the first X amount of them. | +| **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 cards from their hand of type typeName and remove them from play. | 
-| **Mill Until Type X** | Where 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 is the name of a Card Type, the game will search the player's deck for cards of type typeName and discard the first X amount of them. | 
 +| **Mill Until Type typeName** | Where typeName is the name of a Card Type, the game will discard the top card of the player’s deck until a card of the specified Type is on the top of the deck. It will not draw or discard this card - these actions would be a separate notetag. | 
 +| **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.
Line 32: Line 34:
 <code>cardsInZoneOfType(zone, type)</code> <code>cardsInZoneOfType(zone, type)</code>
  
-**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).+**zone** must be replaced with the name of a zone in quotation marks. This includes "Deck", "Discard", "Hand", or any Custom 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: This function will tell you how many cards of the specified type are in the specified zone. So if your damage formula says:
-<code>a.cardsInZoneOfType("discard", "Zombie") * 10</code>+<code>a.cardsInZoneOfType("Discard", "Zombie") * 10</code>
  
 Then the damage dealt will be equal to 10 times the amount of Zombie cards currently in the player’s discard.  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. This function can be used just like the variables in the last section for the **Require** keyword.
card-types.1725929189.txt.gz · Last modified: 2024/09/10 02:46 by isiahgames