Skip to content

Card.AddDoubleTribute

Source Code | Usage Examples | Card Functions

Adds an effect to a card that allows using cards as double (or triple) tributes in Rush Duels.

Signature

Card.AddDoubleTribute(Card c, int id, CardFilter otfilter, TargetFilterFunction eftg, int resets = 0, int ...) → nil

lua
c:AddDoubleTribute(id,otfilter,eftg,resets,...)

Parameters

  • Card c

    The card that will receive the effect.

  • int id

    A card passcode/ID, from which the strings 0 and 1 are read when the tribute summon would happen, to identify which double (or triple) tribute effect is being used.

  • CardFilter otfilter

    Filters which monsters on the field can be tributed.

  • TargetFilterFunction eftg

    Filters which monsters can use the affected cards as double (or triple) tributes for their summon.

  • int resets

    Defaults to 0.

    Composite Reset values to specify when the effect stops applying.

  • int ...

    Any number of DoubleTributeFlag constants, that will be registered to the card as a flag effects, with the same reset values as resets.


rush