Card.NegateEffects
Source Code | Usage Examples | Card Functions
Function to shorten effects that negate other cards' effects (via an activated effect). (Card tc) is the card to be negated, (Card rc) is the reason card (the one registering the effect), (int resets) are the flags used to reset the effect (RESET_EVENT|RESETS_STANDARD are inherently included). If (bool negates_cards) is true, trap monsters are also negated and (int ct) is the counter for when phase-specific resets are required. This function also calls Duel.NegateRelatedChain.
Signature
Card.NegateEffects(Card tc, Card rc, [int resets, bool negates_cards = false, int ct = 1]) → nil
lua
tc:NegateEffects(rc,resets,negates_cards,ct)Parameters
Card
tc(To be added)
Card
rc(To be added)
int
resetsOptional.
(To be added)
bool
negates_cardsOptional. Defaults to
false.(To be added)
int
ctOptional. Defaults to
1.(To be added)