Skip to content

Base Game Card Effect Reference

Brandon edited this page Mar 24, 2026 · 13 revisions

CardEffect

Table of Contents

CardEffectAddBattleCard

Parameters

  • param_int: Target Card Pile

    Valid values:

    Value Meaning
    0 DeckPile
    1 DiscardPile
    2 ExhaustedPile
    3 HandPile
    4 KeepInStandBy
    5 DeckPileTop
    6 None
    7 DeckPileRandom
    8 EatenPile
  • param_int_2: Num Cards

  • param_upgrade: Optional Upgrade

  • filter_based_on_main_sub_class: Filter Based On Main Subclass

  • copy_modifiers_from_source: Copy Modifiers From Source

  • ignore_temporary_modifiers_from_source: Ignore Temporary Modifiers From Source

  • param_card_pool: Card Pool

  • param_card_filter: Card Filter

  • param_bool: Require Space In Hand^ - If enabled, will check if the player's hand is full

  • param_bool_2: Skip If Already In Hand^ - If enabled, only adds a card when you don't already have it in hand

CardEffectAddBattleCardPerTarget

Parameters

  • param_int: Target Card Pile

    Valid values:

    Value Meaning
    0 DeckPile
    1 DiscardPile
    2 ExhaustedPile
    3 HandPile
    4 KeepInStandBy
    5 DeckPileTop
    6 None
    7 DeckPileRandom
    8 EatenPile
  • param_int_2: Cards Per Target

  • param_upgrade: Optional Upgrade

  • filter_based_on_main_sub_class: Filter Based On Main Subclass

  • copy_modifiers_from_source: Copy Modifiers From Source

  • ignore_temporary_modifiers_from_source: Ignore Temporary Modifiers From Source

  • param_card_pool: Card Pool

  • param_card_filter: Card Filter

  • param_bool: Require Space In Hand^ - If enabled, will check if the player's hand is full

  • param_bool_2: Require Unequipped Targets^ - Only counts targets that currently do not have equipment.

CardEffectAddCardUpgradeToUnitPerGoldSpent

Parameters

  • param_int: Gold Per Upgrade^ - Must be greater than zero

  • param_upgrade: Upgrade To Add

CardEffectAddCardUpgradeToUnits

Parameters

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath
    2 Permanent
  • param_bool: Scale Upgrade^ - When applied a second time, scale upgrade instead of applying a new one

CardEffectAddCardUpgradeToUnitsOnMoonPhase

Parameters

  • param_upgrade: Card Upgrade

  • param_int: Active Moon Phases^ - Phases when upgrade can be applied.

    Valid values:

    Value Meaning
    1 New
    2 Full
    4 None
  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath
    2 Permanent

CardEffectAddCardUpgradeToUnitsPerDragonsHoard

Parameters

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath
    2 Permanent
  • param_bool: Scale Upgrade^ - When applied a second time, scale upgrade instead of applying a new one

CardEffectAddCardUpgradeToUnitsPerStatusEffect

Parameters

  • param_status_effects: Status Effects^ - Status effects that scale the number of upgrades applied.

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath
    2 Permanent

CardEffectAddDebuffStatusEffectsFromSelf

This class has no documented parameters.

CardEffectAddPermanentCardUpgradeToCardsInHand

Parameters

  • param_upgrade: Card Upgrade

CardEffectAddPermanentCorruption

Parameters

  • param_int: Corruption Amount

CardEffectAddRunCard

Parameters

  • param_int: Target Card Pile

    Valid values:

    Value Meaning
    0 DeckPile
    1 DiscardPile
    2 ExhaustedPile
    3 HandPile
    4 KeepInStandBy
    5 DeckPileTop
    6 None
    7 DeckPileRandom
    8 EatenPile
  • copy_modifiers_from_source: Copy Modifiers From Source

  • param_bool: Ignore if ephemeral^ - Don't apply this effect if the card has the Ephemeral trait.

  • param_card_pool: Card Pool

  • param_card_filter: Card Filter

CardEffectAddStatsAndStatusEffectsFromSelf

This class has no documented parameters.

CardEffectAddStatsFromSelf

This class has no documented parameters.

CardEffectAddStatusEffect

Parameters

  • param_bool: Strict Target Checking^ - TRUE - Always Fail Test if Zero Targets
    FALSE - Zero Targets allowed unless Target Mode is 'Drop Target'

  • param_status_effects: Status Effect To Add^ - If more than one provided, chooses one at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

  • use_health_missing_multiplier: Use Health Missing Stack Multiplier^ - Multiply the number of stacks added by the number of hp the target is missing.

  • use_magic_power_multiplier: Use Magic Power Multiplier^ - Multiply the number of stacks added by the amount of magic power in the room.

  • param_int: Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • use_int_range: Use Range For Chance

  • param_min_int: Min Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_max_int: Max Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_multiplier: Range Multiplier

  • param_subtype: Target Subtype

  • param_bool_2: Ignore Dualism

CardEffectAddStatusEffectBasedOnHealth

Parameters

  • param_int: Health Percent (0-100)

  • param_status_effects: Statuses

  • param_bool: Apply on Health Above Percent (Default is Below)

CardEffectAddStatusEffectDependingOnHealthPercent

Parameters

  • param_status_effects: Status Effects^ - Must specify two. The first is applied when health is above the threshold. The second is applied at or below the threshold

  • param_int: Reamining Health Percent For Swap^ - The remaining health percent that will transition to using the second status effect

CardEffectAddStatusEffectIfNoPlayerUnits

Parameters

  • param_bool: Strict Target Checking^ - TRUE - Always Fail Test if Zero Targets
    FALSE - Zero Targets allowed unless Target Mode is 'Drop Target'

  • param_status_effects: Status Effect To Add^ - If more than one provided, chooses one at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

  • use_health_missing_multiplier: Use Health Missing Stack Multiplier^ - Multiply the number of stacks added by the number of hp the target is missing.

  • use_magic_power_multiplier: Use Magic Power Multiplier^ - Multiply the number of stacks added by the amount of magic power in the room.

  • param_int: Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • use_int_range: Use Range For Chance

  • param_min_int: Min Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_max_int: Max Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_multiplier: Range Multiplier

  • param_subtype: Target Subtype

  • param_bool_2: Ignore Dualism

CardEffectAddStatusEffectNextMonster

Parameters

  • param_status_effects: Status Effect To Add^ - If more than one provided, chooses one at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

CardEffectAddStatusEffectNull

This class has no documented parameters.

CardEffectAddStatusEffectOnStatusThreshold

Parameters

  • param_status_effects: Two Status Effects^ - First: Requirement.
    Second: Status effect to add.

CardEffectAddStatusEffectPerEnergy

Parameters

  • param_status_effects: Status Effect To Add

  • param_subtype: Target Subtype

  • param_int_2: Distribution Method^ - Distribute Identically - Each target gets the same number of stacks

    Distribute Evenly - stacks are divided up across all targets

    Valid values:

    Value Meaning
    0 DistributeIdentically
    1 DistributeEvenly

CardEffectAddStatusEffectPerGoldSpent

Parameters

  • param_status_effects: Status Effect To Add

  • param_subtype: Target Subtype

  • param_int_2: Distribution Method^ - Distribute Identically - Each target gets the same number of stacks

    Distribute Evenly - stacks are divided up across all targets

    Valid values:

    Value Meaning
    0 DistributeIdentically
    1 DistributeEvenly

CardEffectAddStatusEffectPerLastAttackDamage

Parameters

  • param_status_effects: Statuses

  • param_bool_2: Ignore Dualism

  • param_int: Divisor^ - How much to divide the attack value by before applying the status effect.

CardEffectAddStatusEffectPerMissingHp

Parameters

  • param_status_effects: Statuses

CardEffectAddStatusEffectPerOtherEffect

Parameters

  • param_status_effects: Two Status Effects^ - First: Effect to add. Second: Effect to count. Add the first effect the count of the second effect * mult

  • param_int: Multiplier^ - Multiply the num stacks of the second effect

  • param_bool: Only Use Effects on Target^ - When adding the effects together, don't consider the entire room, just the target.

CardEffectAddStatusEffectPerSelfAttack

Parameters

  • param_status_effects: Statuses

  • param_bool_2: Ignore Dualism

  • param_int: Divisor^ - How much to divide the attack value by before applying the status effect.

CardEffectAddStatusToRoomScalingByCasterStatusCount

Parameters

  • param_status_effects: Two Status Effects^ - First: Effect to add. Second: Effect to count. Add the first effect the count of the second effect * mult

  • param_int: Multiplier^ - Multiply the num stacks of the second effect

CardEffectAddTempCardUpgradeToCardsInHand

Parameters

  • param_upgrade: Card Upgrade

CardEffectAddTempCardUpgradeToDeckScreenChosenCard

Parameters

  • param_upgrade: Card Upgrade

CardEffectAddTempCardUpgradeToNextAddedCard

Parameters

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Scaling^ - Optional tweaks to applied upgrade

    Valid values:

    Value Meaning
    0 None
    1 AddTargetStats

CardEffectAddTempCardUpgradeToNextDrawnCard

Parameters

  • param_upgrade: Card Upgrade

  • param_int_2: Required Gold^ - Optional Amount of Coin Needed in Order to Apply Upgrade

CardEffectAddTempCardUpgradeToRandomCardInHand

Parameters

  • param_upgrade: Card Upgrade

  • param_card_filter: Card Filter

CardEffectAddTempCardUpgradeToSpellsInDeck

Parameters

  • param_upgrade: Card Upgrade

CardEffectAddTempCardUpgradeToUnits

Parameters

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath

CardEffectAddTempCardUpgradeToUnitsWithStatusEffect

Parameters

  • param_upgrade: Card Upgrade

  • param_int: Status Count Threshold

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath
  • param_status_effects: Status Effects

CardEffectAddTempSwapStats

This class has no documented parameters.

CardEffectAddTrigger

Parameters

  • param_bool: No Count Modifiers Allowed^ - Added trigger ignores effects from artifacts that amplify trigger counts

CardEffectAddUnitCard

Parameters

  • param_int: Target Card Pile

    Valid values:

    Value Meaning
    0 DeckPile
    1 DiscardPile
    2 ExhaustedPile
    3 HandPile
    4 KeepInStandBy
    5 DeckPileTop
    6 None
    7 DeckPileRandom
    8 EatenPile
  • param_int_2: Num Cards

  • param_bool: Permanent

  • param_bool_2: Skip Card Add Animation^ - In some situations, playing the card added visuals should not happen

  • param_upgrade: Optional Temp Upgrade

  • copy_modifiers_from_source: Copy Modifiers From Source

  • ignore_temporary_modifiers_from_source: Ignore Temporary Modifiers From Source

CardEffectAddUpgradeToCurrentCard

Parameters

  • param_upgrade: Card Upgrade

  • param_int_3: Upgrade Scaling

    Valid values:

    Value Meaning
    0 ApplyUpgradeOnce
    1 ApplyUpgradePerForgePoint

CardEffectAddUpgradedCopy

Parameters

  • param_int: Target Card Pile

    Valid values:

    Value Meaning
    0 DeckPile
    1 DiscardPile
    2 ExhaustedPile
    3 HandPile
    4 KeepInStandBy
    5 DeckPileTop
    6 None
    7 DeckPileRandom
    8 EatenPile
  • param_bool: Permanent

  • param_upgrade: Optional Upgrade

  • copy_modifiers_from_source: Copy Modifiers From Source

  • ignore_temporary_modifiers_from_source: Ignore Temporary Modifiers From Source

CardEffectAdjustAbilityCooldown

Parameters

  • param_int: Cooldown Amount

  • param_bool: Is Amount Absolute^ - If true, sets the cooldown to the amount. If false, adds the amount to the current cooldown value.

CardEffectAdjustAllStatusEffects

Parameters

  • param_int: Add or Remove Amount^ - All existing status effect stacks will be adjusted by this amount

  • param_bool: Require Valid Targets^ - If TRUE, there must be at least one valid target in order to cast

  • param_int_2: Status Effect Filter^ - Which Status Effects can be affected

    Valid values:

    Value Meaning
    0 AnyInStatusEffectParamList
    1 AnyFlaggedIsPropagatable
  • param_status_effects: Affected Status Effects^ - Only Status Effects in this list will be affected

    Note: Only valid if 'Status Effect Filter = AnyInStatusEffectParamList'

CardEffectAdjustCorruption

Parameters

  • param_int: Corruption Amount^ - -1 means fill to max (when adding) or remove all (when removing)

  • param_bool: Add Amount^ - If true, adds corruption. If false, removes corruption.

CardEffectAdjustDragonsHoard

Parameters

  • param_int: Dragons Hoard Amount^ - Can be negative

  • use_int_range: Use Range For Dragons Hoard Amount

  • param_min_int: Min Dragons Hoard Amount^ - Can be negative

  • param_max_int: Max Dragons Hoard Amount^ - Can be negative

  • param_multiplier: Range Multiplier

CardEffectAdjustDragonsHoardPerStatusEffect

Parameters

  • param_status_effects: Status Effect^ - The status effect that triggers the award.

  • param_int: Dragons Hoard Multiplier^ - The count of Dragon's Hoard to award per award instance.

CardEffectAdjustEnergy

Parameters

  • param_int: Energy Amount^ - Can be negative

  • use_int_range: Use Range For Energy Amount

  • param_min_int: Min Energy Amount^ - Can be negative

  • param_max_int: Max Energy Amount^ - Can be negative

  • param_multiplier: Range Multiplier

CardEffectAdjustForgePoints

Parameters

  • param_int: Forge Point Amount^ - Can be negative

  • use_int_range: Use Range For Forge Point Amount

  • param_min_int: Min Forge Point Amount^ - Can be negative

  • param_max_int: Max Forge Point Amount^ - Can be negative

  • param_multiplier: Range Multiplier

CardEffectAdjustMaxHealth

Parameters

  • param_int: Health Amount

  • use_int_range: Use Range For Health Amount

  • param_min_int: Min Health Amount

  • param_max_int: Max Health Amount

  • param_multiplier: Range Multiplier

  • param_bool: Bind to Parent Upgrade^ - Used if this is on a room/equipment and we want the max health to drop when that room/equipment is removed.

CardEffectAdjustRoomCapacity

Parameters

  • param_int: Capacity Amount

  • param_bool: Only Trigger If No Enemies^ - If enabled, this effect will only occur if there are no hero units in the room.

CardEffectAdjustRoomMaxCorruption

Parameters

  • param_int: Corruption Amount

CardEffectAdvanceMoonPhase

Parameters

  • param_int: Amount

CardEffectApplyForgePointsToUnit

Parameters

  • param_subtype: Target Subtype

CardEffectAttachEquipment

Parameters

  • param_upgrade: Upgrade

CardEffectAttachTrainRoomAttachment

Parameters

  • param_upgrade: Upgrade

  • param_int_2: Attachment Type^ - Default/Embedded = 1 per Room (Embedded cannot be replaced)

    Valid values:

    Value Meaning
    0 Default
    1 Embedded

CardEffectAttackTargetsWithSelfUnit

Parameters

  • param_bool: Require Equipment

CardEffectAttackWithUnit

Parameters

  • param_bool: Require Equipment

  • param_bool_2: Use Selected Room^ - FALSE - Use Attackers Current Room

CardEffectBalatroConvertCard

Parameters

  • param_card: Destination Card

  • param_int: Number of Cards

CardEffectBuffDamage

Parameters

  • param_int: Buff Amount

  • use_int_range: Use Range For Buff Amount

  • param_min_int: Min Buff Amount

  • param_max_int: Max Buff Amount

  • param_multiplier: Range Multiplier

CardEffectBuffEquipment

Parameters

  • param_upgrade: Upgrade

  • param_bool: Scale Upgrade^ - When applied a second time, scale upgrade instead of applying a new one

CardEffectBuffMaxHealth

Parameters

  • param_int: Buff Amount

  • use_int_range: Use Range For Buff Amount

  • param_min_int: Min Buff Amount

  • param_max_int: Max Buff Amount

  • param_multiplier: Range Multiplier

  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 TemporaryUntilUnitDeath

CardEffectBump

Parameters

  • param_int: Bump Amount

CardEffectChooseDiscard

Parameters

  • param_int: Discard Mode

    Valid values:

    Value Meaning
    0 Discard
    1 Consume
    2 ConsumeOthers
    3 ConsumeAndForge
  • param_int_2: Effect Condition^ - Requirement in order for this effect to trigger

    Valid values:

    Value Meaning
    0 MustHaveValidCardTargets
    5 None
  • param_bool: Exclude Ephemeral Copies of this Card^ - Optionally don't let the player choose to discard Ephemeral copies made via Upgrades, Artifacts, etc

  • param_bool_2: Get Ember For Cost^ - Optionally gain ember equal to the cost of the card

  • param_card_pool: Pool For Replacement Card

  • param_bool_3: Replacement Must Be Similar

CardEffectCopyCardUpgradesToUnits

Parameters

  • param_float: Multiplier

  • param_bool: Copy Positive Status Effects

CardEffectCopyUnits

Parameters

  • param_int: Num Copies Of Each Unit

  • param_bool: Copy Hero Stats^ - Only applies when copying hero units - copies status effects after spawning a new unit.

CardEffectCraftSpike

Parameters

  • param_int: Num Choices

  • param_int_2: Options per Choice

CardEffectCreateCopyOfCardPlayedLastTurn

Parameters

  • param_card_filter: Card Filter

  • param_upgrade: Card Upgrade^ - Optional upgrade to apply to the new card copy

CardEffectDamage

Parameters

  • param_int: Damage Amount

  • use_int_range: Use Range For Damage Amount

  • param_min_int: Min Damage Amount

  • param_max_int: Max Damage Amount

  • param_multiplier: Range Multiplier

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Enable status effect stack multiplier.

  • status_effect_multiplier: Status Effect Stack Multiplier^ - Multiply the damage amount by the number of this type of status effect the target has.

CardEffectDamageByPercentRemainingHealth

Parameters

  • param_int: Damage By Percent

  • use_int_range: Use Range For Damage By Percent

  • param_min_int: Min Damage By Percent

  • param_max_int: Max Damage By Percent

  • param_multiplier: Range Multiplier

  • param_bool: Round Up

CardEffectDamageByUnitsKilled

Parameters

  • param_int: Damage Multiplier

  • use_int_range: Use Range For Damage Multiplier

  • param_min_int: Min Damage Multiplier

  • param_max_int: Max Damage Multiplier

  • param_multiplier: Range Multiplier

  • param_str: Subtype

CardEffectDamagePerHp

Parameters

  • param_int: Damage Multiplier

  • use_int_range: Use Range For Damage Multiplier

  • param_min_int: Min Damage Multiplier

  • param_max_int: Max Damage Multiplier

  • param_multiplier: Range Multiplier

  • param_bool: Damage last attacker

  • param_bool_2: Include armor

CardEffectDamagePerSourceAttack

Parameters

  • param_bool: Use Card Traits not Attacker Traits^ - TRUE - Only Bonus Traits authored on this card will be considered

    FALSE - Only Bonus Traits authored on the Attacker will be considered

  • param_int: Damage Multiplier

  • use_int_range: Use Range For Damage Multiplier

  • param_min_int: Min Damage Multiplier

  • param_max_int: Max Damage Multiplier

  • param_multiplier: Range Multiplier

CardEffectDamagePerTargetAttack

Parameters

  • param_int: Damage Multiplier

  • use_int_range: Use Range For Damage Multiplier

  • param_min_int: Min Damage Multiplier

  • param_max_int: Max Damage Multiplier

  • param_multiplier: Range Multiplier

CardEffectDamageWithTrample

Parameters

  • param_int: Damage Amount

  • use_int_range: Use Range For Damage Amount

  • param_min_int: Min Damage Amount

  • param_max_int: Max Damage Amount

  • param_multiplier: Range Multiplier

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Enable status effect stack multiplier.

  • status_effect_multiplier: Status Effect Stack Multiplier^ - Multiply the damage amount by the number of this type of status effect the target has.

CardEffectDebuffDamage

Parameters

  • param_int: Debuff Amount

  • use_int_range: Use Range For Debuff Amount

  • param_min_int: Min Debuff Amount

  • param_max_int: Max Debuff Amount

  • param_multiplier: Range Multiplier

CardEffectDebuffMaxHealth

Parameters

  • param_int: Debuff Amount

  • use_int_range: Use Range For Debuff Amount

  • param_min_int: Min Debuff Amount

  • param_max_int: Max Debuff Amount

  • param_multiplier: Range Multiplier

CardEffectDespawnCharacter

Parameters

  • param_int: Despawn Counter^ - Must be >= 1

  • use_int_range: Use Range For Despawn Counter

  • param_min_int: Min Despawn Counter

  • param_max_int: Max Despawn Counter

  • param_multiplier: Range Multiplier

  • param_bool: Respect Disable Character Despawns Effect

CardEffectDiscardHand

Parameters

  • param_int: Discard Mode

    Valid values:

    Value Meaning
    0 Discard
    1 Consume

CardEffectDraw

Parameters

  • param_int: Num Cards^ - If -1, draw to max starting hand

  • use_int_range: Use Range For Num Cards

  • param_min_int: Min Num Cards

  • param_max_int: Max Num Cards

  • param_multiplier: Range Multiplier

CardEffectDrawAdditionalNextTurn

Parameters

  • param_int: Num Cards

  • use_int_range: Use Range For Num Cards

  • param_min_int: Min Num Cards

  • param_max_int: Max Num Cards

  • param_multiplier: Range Multiplier

  • param_upgrade: Optional Card Upgrade^ - Applied to additional cards drawn for the next hand

CardEffectDrawOrAddBattleCard

Parameters

  • param_int: Num Cards

  • param_card_pool: Card Pool

  • param_card_filter: Card Filter (Optional)

  • filter_based_on_main_sub_class: Filter Based On Main/Sub Class

  • param_upgrade: Upgrade (Optional)

  • param_bool: Require Space In Hand^ - If enabled, will check if the player's hand is full

  • param_card: Optional Card to Add^ - If enabled, will add the specified card in hand instead of adding a random card from the CardPool.

CardEffectDrawType

Parameters

  • param_int: Num Cards

  • use_int_range: Use Range For Num Cards

  • param_min_int: Min Num Cards

  • param_max_int: Max Num Cards

  • param_multiplier: Range Multiplier

  • param_card_filter: Card Filter^ - Optional. If one is defined it will supercede other card type checking

  • param_card_filter_2: Secondary Card Filter^ - Optional. Only used if there is a primary card filter and it failed to find a match

CardEffectDuplicateCardInHand

Parameters

  • param_card_filter: Card Filter

  • param_upgrade: Card Upgrade^ - Optional upgrade to apply to the new card copy

CardEffectEnchant

Parameters

  • param_status_effects: Status Effect^ - If more than one provided, chooses one at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

CardEffectFeederRules

Parameters

  • param_bool: Force Feeder Unit To Be Self^ - The feeder unit will be overriden to be the owner of this effect.

CardEffectFloorRearrange

Parameters

  • param_int: Rearrange Destination

    Valid values:

    Value Meaning
    0 FrontSlot
    1 BackSlot
    3 SelectedSlot

CardEffectForceHatchCheck

This class has no documented parameters.

CardEffectForceRelentless

This class has no documented parameters.

CardEffectForgeCard

Parameters

  • param_int: Forge Count^ - Number of times to apply the Forge Upgrade

  • param_upgrade: Forge Upgrade

  • param_card_filter: Optional Card Filter^ - Used to filter out Forge card targets.

    Filters on the Forge upgrade itself will also be checked.

  • param_int_2: Forge Target Mode^ - How valid Hand/Deck Pile cards should be targeted

    Valid values:

    Value Meaning
    0 ChooseFromHand
    1 RandomFromHand
    2 AllInHand
    3 RandomFromHandOrDeck
    4 AllInHandAndDeck
    5 AdjustForgePoints
  • param_int_3: Upgrade Lifetime

    Valid values:

    Value Meaning
    0 TemporaryUntilEndOfBattle
    1 Permanent
  • param_card: Optional Card to Add^ - Add the specified card to hand when no other cards are available.

CardEffectFreezeAllCards

Parameters

  • param_card_filter: Card Filter

CardEffectFreezeCard

This class has no documented parameters.

CardEffectFreezeRandomCard

This class has no documented parameters.

CardEffectGainEnergy

Parameters

  • param_int: Energy Amount^ - Must be positive

  • use_int_range: Use Range For Energy Amount

  • param_min_int: Min Energy Amount^ - Must be positive

  • param_max_int: Max Energy Amount^ - Must be positive

  • param_multiplier: Range Multiplier

  • param_bool: Allow Only During Monster Turn

CardEffectGainEnergyEveryTurn

Parameters

  • param_int: Energy Amount^ - Must be positive

  • use_int_range: Use Range For Energy Amount

  • param_min_int: Min Energy Amount^ - Must be positive

  • param_max_int: Max Energy Amount^ - Must be positive

  • param_multiplier: Range Multiplier

CardEffectGainEnergyNextTurn

Parameters

  • param_int: Energy Amount^ - Must be positive

  • use_int_range: Use Range For Energy Amount

  • param_min_int: Min Energy Amount^ - Must be positive

  • param_max_int: Max Energy Amount^ - Must be positive

  • param_multiplier: Range Multiplier

CardEffectGrantEquipmentFromPool

Parameters

  • param_card_pool: Card Pool

CardEffectHeal

Parameters

  • param_int: Heal Amount

  • use_int_range: Use Range For Heal Amount

  • param_min_int: Min Heal Amount

  • param_max_int: Max Heal Amount

  • param_multiplier: Range Multiplier

CardEffectHealAndDamageRelative

Parameters

  • param_int: Heal Amount

  • param_int_2: Damage Multiplier

  • use_int_range: Use Range For Heal Amount

  • param_min_int: Min Heal Amount

  • param_max_int: Max Heal Amount

  • param_multiplier: Range Multiplier

CardEffectHealAndHealFriendly

Parameters

  • param_int: Heal Amount

  • use_int_range: Use Range For Heal Amount

  • param_min_int: Min Heal Amount

  • param_max_int: Max Heal Amount

  • param_multiplier: Range Multiplier

CardEffectHealAndOverheal

Parameters

  • param_int: Heal Amount

  • use_int_range: Use Range For Heal Amount

  • param_min_int: Min Heal Amount

  • param_max_int: Max Heal Amount

  • param_multiplier: Range Multiplier

  • param_status_effects: Overheal Status Effects

  • param_int_2: Overheal Bonus Attack Multiplier

  • param_int_3: Overheal Bonus Max Health Multiplier

CardEffectHealPyrePerEmberCost

Parameters

  • param_int: Heal Amount

  • param_bool: Allow Trait Scaling^ - Whether Traits that scale Train Heals should be considered

CardEffectHealTrain

Parameters

  • param_int: Heal Amount

  • param_bool: Allow Trait Scaling^ - Whether Traits that scale Train Heals should be considered

CardEffectKill

Parameters

  • param_subtype: Target Subtype

  • param_bool_3: Should Fail With No Valid Targets

CardEffectMergeEquipment

Parameters

  • param_reward: Reward Data

  • param_upgrade: Card Upgrade

CardEffectMix

Parameters

  • param_int: Amount

  • param_card_pool: Elixir Pool

CardEffectMixRandom

Parameters

  • param_int: Amount

  • param_card_pool: Elixir Pool

  • param_int_2: Num Choices

CardEffectModifyCardCost

Parameters

  • param_int: Increase Cost Amount^ - If negative, decreases cost

CardEffectModifyInkVariable

Parameters

  • param_str: Variable Name

  • param_int: Increase Value Amount

CardEffectMultiplyAllPositiveStatusEffects

Parameters

  • param_int: Multiplier

CardEffectMultiplyAllStatusEffects

Parameters

  • param_int: Multiplier

CardEffectMultiplyCorruption

Parameters

  • param_int: Multiplier

CardEffectMultiplyStatusEffect

Parameters

  • param_status_effects: Status Effect^ - If more than one provided, chooses one of them at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

  • param_int: Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • use_int_range: Use Range For Chance

  • param_min_int: Min Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_max_int: Max Chance To Apply Effect^ - If 1-99, the chance to apply. If 0 or >= 100, always will apply

  • param_multiplier: Range Multiplier

CardEffectNULL

Parameters

  • param_bool: Ignore Targeting

  • param_int: Not actually used for anything, just for the substitution text.

  • param_int_2: Target Forwarding^ - Optionally pass target collected by this CardEffect to other CardEffects listed on card

    Valid values:

    Value Meaning
    0 None
    1 ForwardAsSelfTarget
  • param_bool_2: Targetless^ - Doesn't need any targets. Used to play VFX in room for scourge cards.

CardEffectPayCostWithPyreHealth

Parameters

  • param_int: Damage Reduction

CardEffectPermanentlyAdjustMaxPyreHealth

Parameters

  • param_int: Increase Pyre Health Amount

CardEffectPermanentlyAdjustPyreAttack

Parameters

  • param_int: Increase Pyre Attack

CardEffectPlayUnitTrigger

Parameters

  • param_trigger: Trigger

CardEffectPurgeUnitOnDeath

This class has no documented parameters.

CardEffectPyreDamageIfNoPlayerUnits

Parameters

  • param_int: Damage Amount

  • use_int_range: Use Range For Damage Amount

  • param_min_int: Min Damage Amount

  • param_max_int: Max Damage Amount

  • param_multiplier: Range Multiplier

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the damage amount by the number of this type of status effect the target has.

CardEffectRandomDiscard

Parameters

  • param_int: Num Cards To Discard

  • use_int_range: Use Range For Num Cards To Discard

  • param_min_int: Min Num Cards To Discard

  • param_max_int: Max Num Cards To Discard

  • param_multiplier: Range Multiplier

CardEffectRecruit

Parameters

  • param_character_pool: Character Data Pool^ - Chooses one of these at random to spawn

CardEffectRecursion

Parameters

  • param_upgrade: Upgrade Data

  • param_str: Instructions Loc Key (Optional)^ - For card selection mode ChooseToHand or ChooseToDeck, instructions for the choose card screen. If empty, ScreenDeck_Select_CardEffectRecursion is used.

  • param_int: Num Cards To Draw^ - For card selection mode RandomToHand or RandomToDeck, the number of cards to draw. For RandomToRoom, the number of monsters to spawn.

  • param_card_filter: Card Filter

  • param_bool: Requires Room In Hand

  • param_bool_2: Disallow Overflow To Draw Pile

  • target_card_selection_mode: Card selection mode

  • param_int_2: No Cards Error Message^ - The error message to use when no cards are available to draw

    Valid values:

    Value Meaning
    0 None
    1 Invalid
    2 RoomDisabled
    3 RoomFurnace
    4 RoomFull
    5 InsufficientEnergy
    6 InvalidTarget
    7 NoCardsDrawn
    8 LowCardsDrawn
    9 CardFreeze
    10 SpellAffinity
    11 Unplayable
    12 HandFull
    13 InsufficientCorruption
    14 Cooldown
    15 UnitAbilitiesDisabled
    16 TrainRoomRoomFurnace
    17 DeploymentPhase
    18 InsufficientGold
    19 NoUnitsToReform
    20 RoomSummonBlocked
    21 CardDrawBlocked
    22 RoomTargetedFull

CardEffectRemoveAbility

Parameters

  • param_bool: Permanent

  • param_relic: Skip if Relic Active

CardEffectRemoveAllStatusEffects

Parameters

  • param_int: Status Effect Type

    Valid values:

    Value Meaning
    0 Positive
    1 Negative
    2 Persistent
    3 Ability
  • param_bool: Remove Half

CardEffectRemoveEquipment

This class has no documented parameters.

CardEffectRemoveStatusEffect

Parameters

  • param_status_effects: Status Effect To Remove

  • disallow_status_effect_modifiers: Disallow Status Effect Stack Modifiers^ - Ignore bonus stack count effects from Traits and Relics

CardEffectRemoveStatusEffectOnStatusThreshold

Parameters

  • param_status_effects: Two Status Effects^ - First: Requirement.
    Second: Status effect to remove.

CardEffectRemoveStatusEffectPerCorrupt

Parameters

  • param_status_effects: Status Effect

CardEffectRemoveTempUpgradeFromUnit

Parameters

  • param_upgrade: Card Upgrade

  • param_bool: Should apply dualism when removing

CardEffectRemoveTrainRoomAttachment

This class has no documented parameters.

CardEffectReplayTrigger

Parameters

  • param_trigger: Trigger

CardEffectResetCooldown

Parameters

  • param_bool: Cooldown At Spawn^ - If true, sets cooldown to the Cooldown At Spawn. Otherwise, sets cooldown to Cooldown After Activated

CardEffectReturnUnitToHand

Parameters

  • param_bool: Keep Temporary Upgrades^ - If enabled, the returned card keeps any temporary upgrades gained while the unit was deployed.

  • param_bool_2: Allow Overflow To Draw Pile^ - If enabled, units recalled when the hand is full are placed on top of the draw pile instead.

  • param_bool_3: Return Equipment^ - If enabled, equipment on the unit will be returned to either the Hand or Draw pile.

CardEffectRewardCards

Parameters

  • param_int: Num Cards

  • use_int_range: Use Range For Num Cards

  • param_min_int: Min Num Cards

  • param_max_int: Max Num Cards

  • param_multiplier: Range Multiplier

CardEffectRewardGold

Parameters

  • param_int: Gold Reward

  • use_int_range: Use Range For Gold Reward

  • param_min_int: Min Gold Reward

  • param_max_int: Max Gold Reward

  • param_multiplier: Range Multiplier

  • param_bool: Gold Cost is a Requirement

CardEffectRewardGoldPerDragonHoard

Parameters

  • param_int: Gold Reward per Dragon Hoard

CardEffectRoomAbilityBumpToCurrentRoom

This class has no documented parameters.

CardEffectSacrifice

Parameters

  • param_str: Targets Status Effect Id^ - For target mode FrontWithStatus, gets the front target with this status effect.

  • param_subtype: Target Subtype

  • param_bool: Do Not Fully Remove^ - Whether to immediately remove the dead unit from the room.

CardEffectSacrificeOrFeed

Parameters

  • param_subtype: Target Subtype

CardEffectSetHealth

Parameters

  • param_int: Health

CardEffectSetMoonPhase

Parameters

  • param_int: Moon Phase

    Valid values:

    Value Meaning
    1 New
    2 Full
    4 None

CardEffectSetUnitAbility

Parameters

  • param_card: Ability

CardEffectSpawnHero

Parameters

  • param_character: Hero To Spawn

  • param_character_pool: Hero To Spawn Pool

CardEffectSpawnHeroIfNoOtherHeroUnits

Parameters

  • param_character: Hero To Spawn

  • param_character_pool: Hero To Spawn Pool

CardEffectSpawnMonster

Parameters

  • param_character: Monster To Spawn

  • param_character_2: Additional Monster To Spawn

  • param_character_pool: Monster To Spawn Pool

  • param_int: Num Additional Monsters To Spawn

  • param_bool: Don't Copy Upgrades From Played Card^ - In some cases, we don't want to copy upgrades from the played card (sometimes the unit that is creating this unit).

  • param_upgrade: Card Upgrade

CardEffectSpawnMonsterOrAddStatusEffect

Parameters

  • param_status_effects: Status Effect To Add^ - If more than one provided, chooses one at random

  • param_character: Character To Spawn^ - If no valid targets for the Status Effect are present, this character will be spawned instead (with the Status Effect)

  • disallow_status_effect_modifiers: Disallow Status Effect Stack Modifiers^ - Ignore bonus stack count effects from Traits and Relics

CardEffectSpawnUnitFromDeck

This class has no documented parameters.

CardEffectSynergizeStatusEffects

Parameters

  • param_status_effects: Two Status Effects^ - First: The status to trigger off of. Second: The status to add when triggered.

  • param_bool: Only Add Single Stack^ - When the first status is added, instead only add a single stack of the second instead of the same amount.

CardEffectTransferAllStatusEffects

Parameters

  • param_status_effects: Status Effect To Transfer^ - If more than one provided, chooses one at random

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

CardEffectTransferAllStatusEffectsFromUnit

Parameters

  • param_status_effects: Status Effects To Transfer^ - Only consider Status Effects in this list (if none provided, consider all)

  • use_status_effect_multiplier: Use Status Effect Stack Multiplier^ - Multiply the number of stacks added by the number of this type of status effect the target already has.

  • param_int: Transfer Targets

    Valid values:

    Value Meaning
    0 RandomSingleUnitOnOpposingTeam
    1 RandomlyDistributedAcrossOpposingTeam
    2 FrontFriendlyUnit
    3 FrontOpposingUnit
    4 CopyToEachUnitOnOpposingTeam
    5 RandomlyDistributedAcrossFriendlyTeam
    6 RandomlyDistributedAcrossHeroTeam
    7 RandomSingleUnitOnHeroTeam
    8 CopyToEachUnitOnFriendlyTeam
    9 CopyToEachUnitOnHeroTeam
    10 EvenlyDistributedAcrossOpposingTeam
    11 EvenlyDistributedAcrossFriendlyTeam
    12 EvenlyDistributedAcrossHeroTeam
  • param_int_2: Allowed Status Types

    Valid values:

    Value Meaning
    0 BuffsAndDebuffs
    1 DebuffsOnly
    2 BuffsOnly
  • param_int_3: Allowed Transfer Rooms^ - Which Rooms will Status Effect targets be collected from?

    Valid values:

    Value Meaning
    0 SourceRoomOnly
    1 AllRoomsInTower
  • param_bool: Allow Stack Modification on Transfer

  • param_bool_2: Skip Remove^ - By default this effect removes statuses from the source. This flag suppresses that.

  • param_float: Stack Percentage^ - Multiplier for stack counts before transfer. Defaults to 1.0 (100%). Can exceed 1.0 to increase stacks. Results less than 1 are rounded up to 1.

CardEffectTransferAttackFromUnit

Parameters

  • param_int: Transfer Target

    Valid values:

    Value Meaning
    0 FrontFriendlyUnit
    1 AbilityUser
  • param_int_2: Attack Multiplier

CardEffectUnboxJackInTheBoxUnitCard

This class has no documented parameters.

CardEffectUnboxSmallBoxUnitCard

This class has no documented parameters.

CardEffectUnitAbilityTeleport

This class has no documented parameters.

CardEffectUpdateMoonPhaseResource

Parameters

  • param_bool: Requires Character Refresh^ - Only required when the card is actually played. Indicates that a full character refresh is required.

Targeting Reference.

Targeting Characters

For all card effects targeting Characters. Here's an explanation of the targeting parameters.

At the very least you'll need.

If you are targeting units then you'll also need at a minimum.

  • target_team: Can be set to "none", "heroes", "monsters", or "both". Note that heroes means enemies and monsters means the units the player controls.

The combination of target_mode and target_team will explain exactly what units are targeted.

Examples

  • "target_mode": "room" "target_team": "heroes" - Target all heroes in the room where the effect was played.
  • "target_mode": "front_in_room" "target_team": "monster" - Target the monster (friendly unit) in front of the room where the effect was played.
  • "target_mode": "random_in_room" "target_team": "both" - Target a monster or hero from the room chosen at random. (Picks at random 1 unit from the room it can be a monster or hero) where the effect was played.

If you are targeting cards instead then you'll also need at a minimum.

  • target_card_type: Can be set to "invalid", "spell", "monster", "blight", "junk", "equipment", or "room". Note that invalid usually means any card (it is the default value), and for scourges the name internally is junk.

If the TargetMode is not one of ("self", "last_attacked_character", "last_feeder_character", "pyre", "last_targeted_characters", "tower", or "last_attacker_character"`) and is targeting units then these additional parameters can be used.

  • target_mode_status_effect_filter: Filter out characters without all of the status effects specified.
  • target_mode_status_effects_excluded_filter: Filter out characters with all of the status effects specified.
  • target_mode_health_filter: Filter out characters not matching the health filter Can be "both" (default), "damaged" (HP != MaxHP), or "undamaged" (Hp == MaxHP)
  • target_ignore_bosses: Filters out Minibosses (Qel), Major Bosses (Arkion), and True Final Bosses (Titans)
  • target_subtype: Filter out characters without the given subtype.
  • target_character_excluded_subtypes: Filter out characters with any of the given subtypes.

Character TargetMode explanations.

  • room: Combined with target_team targets all units of the specified team in a room.
  • random_in_room: A single random target from the room is selected from those available.
  • front_in_room: The unit in front of the specified team is selected. Note that this is a singular target if you want to select both units in front (front monster and front enemy) you will need to repeat the card effect with the opposite team.
  • room_heal_targets: Like room, except the game filters out units that can not be healed. Currently only used by healing enemy units.
  • self: Only valid when used in an effect within a CharacterTrigger. This target mode will resolve to the unit whose trigger fired.
  • last_attacked_character: The last character who has been attacked. (Think: Magma Mauler's Strike: Apply Pyregel effect)
  • front_with_status: (head scratch) This one is a little funky. You can do this with "target_mode_status_effect_filter" and the "front_in_room" target_mode. A statusId is given via param_str to indicate the status. I also note that no Effects in the base game uses this target_mode and the downsides of using param_str here is that this TargetMode can't be used with a CardEffect that also uses param_str. So there's no need to use this.
  • tower: All characters on the Train.
  • back_in_room: The unit in back of the specified team is selected. Note that this is a singular target if you want to select both units in back (front monster and front enemy) you will need to repeat the card effect with the opposite team.
  • drop_target_character: This one just means the character selected when the card was played. Only valid for non-monster cards.
  • dying_character: The character who is dying. This target mode is only available with specific Character Trigger types slay, harvest type triggers.
  • weakest: Targets the weakest character (the one with the least amount of HP). In case of a tie, its in room iteration order (starting with heroes then monsters) the first character that is weakest is selected.
  • last_attacker_character: Target the last character who has attacked. (Think: Prickly Puffballs's Revenge effect).
  • last_feeder_character: Target the last character who ate a unit.
  • pyre: Target the pyre. Using this TargetMode will scroll the camera to the Pyre room when the effect fires (if unwanted be sure to set "suppress_pyre_room_focus": true)
  • random_from_any_room: A singular lucky random unit on the train (as specified by target_team).
  • last_targeted_characters: Target the last characters targeted. Very useful for follow-up effects if the first CardEffect targets DropTargetCharacter. Can not be present as the target mode of the first CardEffect.
  • last_damaged_characters: Target the characters who were damaged by the last effect. This TargetMode is unused by any effects in the game.
  • last_spawned_morsel: Target the last spawned "food" unit (any unit with an eaten trigger). Seems to be unused by the base game.
  • front_in_all_rooms: Like front_in_room but the front unit on each floor. (Think: Dominion's apply corruption on all floors effect). Again should only be used with a singular target_team.
  • front_in_room_and_room_above: Like front_in_room but also the front unit on the above floor. This TargetMode is unused by any effects in the base game.
  • weakest_all_rooms: Like weakest but the weakest unit on the whole train. (Think: Circle of Cycles, it heals the weakest friendly unit on the train for 10 HP)
  • strongest_all_rooms: Like weakest_all_floors but the opposite it is the character wtih the most HP on the traain. This TargetMode is unused by any effects in the game.
  • last_equipped_character: Only relevant in specific triggers, like Artificer. The unit that was last equipped with an equipment card.
  • last_sacrificed_character: The character who was last sacrificed. (Think: Brain Transfer, it is the only card that uses this target_mode).
  • last_spawned_character: Only relevant in specific triggers, like Rally. The unit that was last spawned. (Think: Conductor Steward giving +5 Attack / +5 Health).
  • strongest_last_targeted_characters: Like last_targeted_characters except it gets the strongest (most HP) unit out of that set of targets. This TargetMode is unused by any effects in the base game.
  • strongest_last_targeted_characters_room: This is a hack target_mode only used by Heavensward, since Heavensward ascends all units first, this target_mode needs to consider the targets in the new room. So instead of picking the strongest out of last_targeted_characters, it appends the rest of the characters in the room (as specified by target_team of course) to the search.

Card Targeting modes

  • draw_pile - Target all cards in the Draw Pile.
  • discard - Target all cards in the Discard Pile.
  • exhaust - Target all cards in the Consume Pile.
  • eaten - Target all cards in the Eaten Pile.
  • hand - Target all cards in your Hand.
  • last_drawn_card - Target the Last Card Drawn.

All other target-related parameters are ignored if TargetMode is set to these types. Some of the card effects may use the target parameters to filter out cards from the targetCards list.

Clone this wiki locally