↑ Back to Top
CardFilter
All Tag values not specified here are reserved.
Specific card:
- uint8 Tag = 1
- uvarint CardID
Generic filter:
All tribe filter fields must match to satisfy the card filter. Any rank filter field must match.
- repeated arbitrary number of times:
- uint8 Tag
- 0001xxxx: built-in tribe (see Appendix A)
- 00011110: custom tribe
- 00011111: reserved
- 0010xxxx: not built-in tribe (see Appendix A)
- 00101110: not custom tribe
- 00101111: reserved
- 00110000: attacker
- 00110001: effect
- 00110010: mini-boss
- 00110011: boss
- 00110100: token
- 01000000: TP
- string CustomTribe
- This field is omitted if Tag is not one of the two custom tribe tags.
- svarint TP
- This field is omitted if Tag is not TP.
- uint8 EndTag = 0
↑ Back to Top
EffectDef
Root effects cannot be results, and must have priority 0. Passive effects must results in locations where it is specified that they are allowed, and must have priority 0.
- uint8 EffectID
- uint8 Priority
- Value 0 is immediate - no sound or visual effects are played, and the effect resolves as soon as possible.
- Values 1..63 occur before stats are displayed on the screen during a round.
- Values 64..223 occur during the main part of the round.
- Values 224..254 occur after the winner of the round has been determined.
- Value 255 is reserved.
- uvarint Flags (defined per effect)
- ... Data (defined per effect)
All effect IDs not described here are reserved.
0: Flavor Text
Has no effect during a match.
Root.
Flags:
- 0: hide remaining effects on this card's description
- 1: use a custom color
Data:
- if flag 1 is set:
- uint8 Red
- uint8 Green
- uint8 Blue
- string Text
1: Card Stat
Modify this card's stats by the given amount. Cards start with 0 ATK and 0 DEF.
Flags:
- 0: modify DEF. if this flag is not set, modify ATK.
- 1: multiply Amount by infinity. Amount must be 1 or -1.
Data:
2: Empower
Modify target cards' stats by the given amount.
Flags:
- 0: modify DEF. if this flag is not set, modify ATK.
- 1: multiply Amount by infinity. Amount must be 1 or -1.
- 2: affect opponent. if this flag is not set, affect the current player.
Data:
3: Summon
Add a card to the field. Any effects that should have already been resolved in priority order are resolved at this time.
Flags:
- 0: summon card for opponent. if this flag is not set, summon card for current player.
- 1: hide summoning card. this flag being set causes the replacement summon animation to play.
- 2: hide summoned card. this flag being set causes the summoned card to be invisible.
Data:
4: Heal
Modify target player's health by the given amount. Health may go below 0, but cannot go above the maximum health for the mode.
Flags:
- 0: multiply Amount by infinity. Amount must be 1 or -1.
- 1: heal the opponent. if this flag is not set, heal the current player.
- 2: ignore healing multipliers.
Data:
5: TP
Modify available TP for this turn.
Passive.
Flags:
- 0: multiply Amount by infinity. Amount must be 1 or -1.
Data:
6: Numb
Flip a target card face-down and remove its stat contribution. This also prevents all future effects from running on the target card except for Numb and On Numb.
Cards are targeted as follows: The higher of the card's ATK or DEF stat is selected. The card with the overall lowest stat is numbed. ATK is considered to be higher than DEF if they are numerically equal.
Flags:
- 0: multiply Count by infinity. Count must be 1.
- 1: target current player's cards. if this flag is not set, target opponent's cards.
- 2: select the card with the highest stats when deciding which to numb.
- 3: ignore ATK when selecting a card to numb.
- 4: ignore DEF when selecting a card to numb.
- 5: target cards with 0 for both stats last.
- 6: add an effect for each card numbed.
- 7: add an effect for each numb instance that could not find a target. for infinite numbs, the effect runs if no targets were numbed.
- 8: summon numbed card to opposite side of field.
Data:
- uvarint Count
- CardFilter Filter
- EffectDef SuccessEffect
- If flag 6 is not set, this field is omitted.
- EffectDef FailureEffect
- If flag 7 is not set, this field is omitted.
7: Raw Stat
Modify the player's stats by the given amount. Numbing cards will not reverse these changes.
Flags:
- 0: modify DEF. if this flag is not set, modify ATK.
- 1: multiply Amount by infinity. Amount must be 1 or -1.
- 2: affect opponent. if this flag is not set, affect the current player.
Data:
8: Multiply Healing
Flags:
- 0: affect healing for the opponent. if this flag is not set, affect healing for the current player.
- 1: only affect future healing. if this flag is not set, heals are multiplied retroactively.
- 2..3:
- 0: modify all heal effects.
- 1: only modify heals that start as negative.
- 2: only modify heals that start as positive.
- 3: (reserved)
Data:
9: Prevent Numb
Targeted cards are given immunity to the next numb that could target them. If a card has this immunity, it is skipped when selecting a card to numb, and the immunity is removed.
Flags:
- 0: prevent numbs for the opponent's cards. if this flag is not set, prevent numbs for the current player's cards.
Data:
10: Modify Available Cards
Flags:
- 0: modify opponent's cards. if this flag is not set, modify current player's cards.
- 1..2:
- 0: add card.
- 1: remove card.
- 2: move card to field.
- 3: (reserved)
- 3..4:
- 0: target any location. if adding a card, add to the hand but do not shuffle back into the deck.
- 1: target hand only.
- 2: target deck only.
- 3: target field only. invalid with move card to field.
- 5..6:
- 0: don't require an existing card
- 1: require existing card on own field
- 2: require existing card on opponent's field
- 3: (reserved)
- 7: on success effect
- 8: on failure effect
- 9: has group name
Data:
- uvarint Count
- CardFilter Filter
- if flag 9 is set:
- if flag 7 is set:
- if flag 8 is set:
11: Modify Card Cost
Passive.
Flags:
- 0: multiply Amount by infinity. Amount must be 1 or -1.
Data:
12: Draw Card
Flags:
- 0: opponent draws cards. if this flag is not set, the current player draws cards.
- 1: ignore maximum hand size
- 2: use filter
Data:
- svarint Count
- If Count is negative, move cards from the hand to the deck instead.
- if flag 2 is set:
13: Modify Game Rule
Flags:
- 0: relative change. if this flag is not set, the change is absolute.
- 1..2:
- 0: affect current player's game rules.
- 1: affect opponent's game rules.
- 2: affect game rules for both players.
- 3: (reserved)
Data:
- uvarint RuleID
- this cannot be 0 (None)
- changing rules that affect deck creation has no effect as the deck is already built
- see GameRules field documentation for a list of rule IDs
- svarint Value
14: Delay Setup
Flags:
- 0: modify setup effects for the opponent. if this flag is not set, modify the current player's setup effects.
- 1: delete setup effects that reach 0 rounds. if this flag is not set, apply setup effects that reach 0 rounds.
Data:
128: Card (Condition)
Flags:
- 0: check the opponent's cards. if this flag is not set, check the current player's cards.
- 1..2:
- 0: apply the effect if at least Count cards match.
- 1: apply the effect if fewer than Count cards match.
- 2: apply the effect multiple times if a multiple of Count cards match.
- 3: (reserved)
- 3: allow numbed cards to be counted for this condition
- 4..5:
- 0: search for cards on field
- 1: search for cards in hand
- 2: search for cards in deck
- 3: (reserved)
Data:
129: Limit (Condition)
Flags:
- 0: run the effect if this condition has been checked more than Count times. if this flag is not set, run the effect if this condition has been checked less than or equal to Count times.
Data:
130: Winner (Condition)
Priority must be at least 224.
Flags:
- 0..2:
- 0: run the effect if the current player wins the round.
- 1: run the effect if the opponent wins the round.
- 2: run the effect if the round is a tie.
- 3: run the effect if any player wins the round.
- 4: run the effect if the current player does not win the round.
- 5: run the effect if the opponent does not win the round.
- 6: (reserved)
- 7: (reserved)
Data:
131: Apply (Condition)
Flags:
- 0: run the effect in the following round. if this flag is not set, run the effect immediately.
- 1: run the effect for the opponent. if this flag is not set, run the effect for the current player. effects that act on the current card may ignore this flag.
- 2..3:
- 0: display only the effect text on the ghost card.
- 1: display the full text of the current card on the ghost card.
- 2: do not create a ghost card.
- 3: (reserved)
Data:
132: Coin (Condition)
Flags:
- 0: this coin has an effect on tails.
- 1: visually swap the sides of the coin.
- 2: display ATK/DEF rather than happy/sad sides on the coin.
Data:
- uvarint Count
- if flag 2 is set, chance of heads is (WeightHeads + 1) / (WeightHeads + WeightTails + 1)
- uvarint WeightHeads
- uvarint WeightTails
- EffectDef HeadsResult
- EffectDef TailsResult
- If flag 0 is not set, this field is omitted.
133: Stat (Condition)
Flags:
- 0: check the stat for the opponent. if this flag is not set, check the stat for the current player.
- 1: run the effect if the stat is less than the Amount. if this flag is not set, run the effect if the stat is greater than or equal to the Amount.
- 2..3:
- 0: check ATK.
- 1: check DEF.
- 2: check HP.
- 3: check TP.
- 4: run this effect multiple times if the stat satisfies a multiple of Amount.
Data:
134: In Hand (Condition)
Root.
Flags:
- 0: do not reveal the card to the opponent. the card is still revealed to the opponent's computer.
- 1..2:
- 0: the effect only applies if the card is not played
- 1: the effect applies regardless of whether the card is played
- 2: the effect only applies if the card is played
- 3: (reserved)
Data:
- uvarint MinRounds
- uvarint MaxRounds
- If MaxRounds is 0, it is treated as infinity.
- EffectDef Result (passives allowed)
135: Last Effect (Condition)
All remaining effects on this card are removed after the result effect is processed. Conditions cannot be the result of this effect.
Flags:
- (no flags are currently defined)
Data:
- EffectDef Result
- The priority of this EffectDef must be 0 or 1.
136: On Numb (Condition)
Root.
Flags:
- (no flags are currently defined)
Data:
- EffectDef Result
- The priority of this EffectDef must be 0 or 1.
137: Multiple Effects (Condition)
Flags:
- (no flags are currently defined)
Data: