Card
subtype of userdata
Represents a card. Can use the functions in the Card namespace as methods.
Functions that use this type as parameter
Functions that use this type as parameter
Card.AddCannotBeSpecialSummoned- Adds a "Cannot be Special Summoned" Summoning condition to a monsterCard.AddCenterToSideEffectHandler- Grants an effect to a Maximum Monster's [L] and [R] pieces.Card.AddCounter- Places counters to a card.Card.AddDoubleTribute- Allows using cards as double (or triple) tributes in Rush Duels.Card.AddMaximumAtkHandler- Implements the Maximum ATK of a Maximum monster.Card.AddMonsterAttribute- Transforms the provided card into a monster.Card.AddMonsterAttributeComplete- Completes the transformation of a card into a monster.Card.AddMustBeFusionSummoned- Adds a "Must be Fusion Summoned" Summoning condition to a monsterCard.AddMustBeLinkSummoned- Adds a "Must be Link Summoned" Summoning condition to a monsterCard.AddMustBePendulumSummoned- Adds a "Must be Pendulum Summoned" Summoning condition to a monsterCard.AddMustBeRitualSummoned- Adds a "Must be Ritual Summoned" Summoning condition to a monsterCard.AddMustBeSpecialSummoned- Adds a "Must be Special Summoned" Summoning condition to a monsterCard.AddMustBeSpecialSummonedByCardEffect- Adds a "Must be Special Summoned by card effect" Summoning condition to a cardCard.AddMustBeSpecialSummonedByDarkFusion- Adds a "Must be Special Summoned by Dark Fusion" Summoning condition to a cardCard.AddMustBeSynchroSummoned- Adds a "Must be Synchro Summoned" Summoning condition to a monsterCard.AddMustBeXyzSummoned- Adds a "Must be Xyz Summoned" Summoning condition to a monsterCard.AddMustFirstBeFusionSummoned- Adds a "Must first be Fusion Summoned" Summoning condition to a monsterCard.AddMustFirstBeLinkSummoned- Adds a "Must first be Link Summoned" Summoning condition to a monsterCard.AddMustFirstBePendulumSummoned- Adds a "Must first be Pendulum Summoned" Summoning condition to a monsterCard.AddMustFirstBeRitualSummoned- Adds a "Must first be Ritual Summoned" Summoning condition to a monsterCard.AddMustFirstBeSynchroSummoned- Adds a "Must first be Synchro Summoned" Summoning condition to a monsterCard.AddMustFirstBeXyzSummoned- Adds a "Must first be Xyz Summoned" Summoning condition to a monsterCard.AddSetcodesRule- Adds additional original archetype(s) to a card.Card.Alias- Returns a card's alias.Card.AnnounceAnotherAttribute- Makes a player declare an attribute other than the ones a card currently has.Card.AnnounceAnotherRace- Makes a player declare a race other than the ones a card currently has.Card.AssumeProperty- Temporarily assumes a property for a card.Card.Attack- Returns a card's original ATK.Card.Attribute- Returns the card's original attribute(s).Card.CanAttack- Checks if a card can declare an attack.Card.CanChainAttack- Checks if a card can make a number of attacks in a row.Card.CanSummonOrSet- Checks if a card can be Normal Summoned or Set.Card.CancelCardTarget- Makes a card stop targeting another card.Card.CancelToGrave- Changes the behavior of the rule that sends certain card types to the GY.Card.CheckEquipTarget- Checks if a card can be equipped to another.Card.Code- Returns a card's current passcode/ID.Card.CopyEffect- Copy the effects of a card to another.Card.Defense- Returns a card's original DEF.Card.EnableCounterPermit- Allows a card to hold a counter that needs permissions.Card.GetActivateEffect- Gets a card's activation effects.Card.GetAllCounters- Gets all counters a card currently has.Card.GetAttack- Gets the current ATK of a card.Card.GetAttribute- Gets the current attribute(s) of a card.Card.GetBaseAttack- Gets the original ATK of a card.Card.GetBaseDefense- Gets the original DEF of a card.Card.GetBattlePosition- Gets the battle position of a monster at the start of the Damage StepCard.GetCardEffect- Gets all the effects being applied to a cardCard.GetCounter- Gets the number of counters of a certain type a card has.Card.GetDefense- Gets the current DEF of a card.Card.GetDestination- Returns the location a card would be sent toCard.GetFieldID- Gets a card's current location IDCard.GetLeaveFieldDest- Gets a card's destination when it leaves the fieldCard.GetMarkedEffects- Gets all of a card's effects that were registered with an effect marker.Card.GetOwnEffects- Gets all the effects registered or being granted to a cardCard.GetOwner- Gets the owner of a cardCard.GetRealFieldID- Gets a card's current location IDCard.GetTextAttack- Gets the printed ATK of a card.Card.GetTextDefense- Gets the printed DEF of a card.Card.HasCounter- Checks if a card has a specified counterCard.HasDefense- Checks if a card currently has a DEF value.Card.HasEquipCard- Checks if a card has any number of equipped cardsCard.HasLevel- Checks if a card has a levelCard.HasRank- Checks if a card has a rankCard.IsBaseAttack- Checks a card's original ATKCard.IsBaseDefense- Checks a card's original DEFCard.IsBattlePosition- Checks a card's battle position at the start of the Damage StepCard.IsContinuousSpell- Checks if a card is currently a Continuous Spell.Card.IsContinuousSpellTrap- Checks if a card is currently a Continuous Spell/Trap.Card.IsContinuousTrap- Checks if a card is currently a Continuous Trap.Card.IsCounterTrap- Checks if a card is currently a Counter Trap.Card.IsDestination- Checks if a card would be sent to a given locationCard.IsEquipCard- Checks if a card is currently a Equip Card.Card.IsEquipSpell- Checks if a card is currently a Equip Spell.Card.IsFacedown- Checks if a card is currently face-down.Card.IsFaceup- Checks if a card is currently face-up.Card.IsFieldID- Checks a card's current location IDCard.IsFieldSpell- Checks if a card is currently a Field Spell.Card.IsFlipSummoned- Checks if a card is currently Flip Summoned.Card.IsFusionSummoned- Checks if a card is currently Fusion Summoned.Card.IsGeminiSummoned- Checks if a card is currently Gemini Summoned.Card.IsHasEffect- Gets all the effects of a given code being applied to a cardCard.IsLeaveFieldDest- Checks if a card would be sent to a given location when it leaves the fieldCard.IsLevel- Checks the level of a cardCard.IsLevelAbove- Checks if the level of a card is greater than or equal to a given levelCard.IsLevelBelow- Checks if the level of a card is less than or equal to a given levelCard.IsLevelBetween- Checks if the level of a card is between two levelsCard.IsLinkMonster- Checks if a card is currently a Link Monster.Card.IsLinkSpell- Checks if a card is currently a Link Spell.Card.IsLinkSummoned- Checks if a card is currently Link Summoned.Card.IsMonster- Checks if a card is currently a monster.Card.IsMonsterCard- Checks if a card is originally a Monster Card.Card.IsNonEffectMonster- Checks if a card is a Non-Effect monsterCard.IsNormalSpell- Checks if a card is currently a Normal Spell.Card.IsNormalSpellTrap- Checks if a card is currently a Normal Spell/Trap.Card.IsNormalSummoned- Checks if a card is currently Normal Summoned/Set.Card.IsNormalTrap- Checks if a card is currently a Normal Trap.Card.IsNotTuner- Checks if a card can be used for a Synchro Summon as a non-Tuner monsterCard.IsOnField- Checks if a card is currently on the field.Card.IsOriginalLevel- Checks a card's original levelCard.IsOriginalRank- Checks a card's original rankCard.IsOwner- Checks a card's ownerCard.IsPendulumSummoned- Checks if a card is currently Pendulum Summoned.Card.IsPreviousAttackOnField- Checks a card's previous ATKCard.IsPreviousAttributeOnField- Checks a card's previous attributeCard.IsPreviousCodeOnField- Checks a card's previous passcodeCard.IsPreviousDefenseOnField- Checks a card's previous DEFCard.IsPreviousLevelOnField- Checks a card's previous levelCard.IsPreviousRaceOnField- Checks a card's previous raceCard.IsPreviousRankOnField- Checks a card's previous rankCard.IsPreviousSequence- Checks a card's previous sequenceCard.IsPreviousTypeOnField- Checks a card's previous card typeCard.IsQuickPlaySpell- Checks if a card is currently a Quick-Play Spell.Card.IsRealFieldID- Checks a card's unique duel IDCard.IsReasonCard- Checks if a card caused the event that happened to another card.Card.IsReasonEffect- Checks if an effect caused the event that happened to cardCard.IsReasonPlayer- Checks if a player caused the event that happened to cardCard.IsRitualMonster- Checks if a card is currently a Ritual Monster.Card.IsRitualSpell- Checks if a card is currently a Ritual Spell.Card.IsRitualSummoned- Checks if a card is currently Ritual Summoned.Card.IsScale- Checks a card's Pendulum ScaleCard.IsSpecialSummoned- Checks if a card is currently Special Summoned.Card.IsSpell- Checks if a card is currently a Spell.Card.IsSpellCard- Checks if a card is originally a Spell Card.Card.IsSpellTrap- Checks if a card is currently a Spell/Trap.Card.IsSpellTrapCard- Checks if a card is originally a Spell/Trap Card.Card.IsSynchroSummoned- Checks if a card is currently Synchro Summoned.Card.IsTextAttack- Checks a card's original ATKCard.IsTextDefense- Checks a card's original DEFCard.IsTrap- Checks if a card is currently a Trap.Card.IsTrapCard- Checks if a card is originally a Trap Card.Card.IsTrapMonster- Checks if a card is a Trap MonsterCard.IsTributeSummoned- Checks if a card is currently Tribute Summoned/Set.Card.IsType- Checks a card's typeCard.IsXyzSummoned- Checks if a card is currently Xyz Summoned.Card.Level- Returns a card's original level, rank, or link-rating.Card.LinkMarker- Returns the card's original link marker(s).Card.Lscale- Returns a card's left Pendulum Scale.Card.Race- Returns the card's original race(s).Card.RegisterEffect- Registers an effect to a card.Card.Rscale- Returns a card's right Pendulum Scale.Card.SetHint- Sets a card hint to be displayed on a card when a player hovers it.Card.Setcode- Returns the card's original archetype(s).Card.Type- Returns a card's original type(s).Debug.Message- Prints a message.Debug.PreAddCounter- Places a counter on a card.Debug.PreEquip- Equips one card to anotherDebug.PreSetTarget- Sets the target of a card to be a specified cardDebug.PreSummon- Sets the summon type, location, and/or sequence of a card.Duel.SendtoDeck- Sends a card(s) to the Deck.Fusion.AddProcCode2- Creates a Fusion recipe with 2 named materialsFusion.AddProcCode2FunRep- Creates a Fusion recipe with 2 named + a range of filtered materialsFusion.AddProcCode3- Creates a Fusion recipe with 3 named materialsFusion.AddProcCode4- Creates a Fusion recipe with 4 named materialsFusion.AddProcCodeFun- Creates a Fusion recipe with 1 named + an exact number of filtered materialsFusion.AddProcMix- Creates a Fusion Summon recipe for a monster.Fusion.CreateSummonEff- Creates an effect that performs a Fusion Summon.Gemini.AddProcedure- Applies all the effects necessary for a Gemini monster to be used as one.Group.CreateGroup- Alias ofGroup.FromCards.Group.Filter- Filters aGroup.Group.FromCards- Creates a new Group object containing the given cards.Link.AddProcedure- Adds a Link Procedure to a card.Xyz.AddProcedure- Adds an Xyz Summon procedure to a card.aux.AddEquipProcedure- Adds procedure for equipping Spells.aux.DelayedOperation- Performs an operation on cards each time a given phase is enteredaux.EnableGeminiAttribute- Deprecated alias ofGemini.AddProcedure.aux.RegisterClientHint- Registers an effect that displays a hint on players' info box.aux.addContinuousLizardCheck- Adds an effect to a card that affects other cards for "Clock Lizard"'s handlingaux.addLizardCheck- Adds an effect to a card affecting itself for "Clock Lizard"'s handlingaux.addTempLizardCheck- Adds an effect to the duel that affects cards for "Clock Lizard"'s handlingaux.createContinuousLizardCheck- Creates a card effect that affects other cards for "Clock Lizard"'s handlingaux.createTempLizardCheck- Creates a duel effect that affects cards for "Clock Lizard"'s handling
Functions that return this type
Functions that return this type
Debug.AddCard- Generates and adds a card to the duel.Fusion.ForcedHandler- Makes the handler of the effect a mandatory material
Function Types that use this type as parameter
Function Types that use this type as parameter
ArcanaEffectRegister- Registers an Arcana Force card's coin-based effectsCardFilter- A function used to filter cards.CardPropertyFunction- A function that returns a card's propertyEffectTarget- Checks or performs effect activation procedure excluding cost.EquipLimitFunction- Restricts which monsters an equipped card can remain equipped toFusionMaterialFilter- Filters Fusion materials in Fusion Summon effectsFusionMaterialOperation- A function to perform on the materials being used in a Fusion Summon.FusionMonsterFilter- Filters monsters to be Fusion SummonedFusionPreSelect- A function to perform before Fusion Summoning a selected monster.FusionRecipeFilter- Filters Fusion materials in recipesFusionStage2- An additional operation to perform after a Fusion Summon.InitialEffect- Registers a card's initial effects.RankUpMaterialFilter- Filters materials to be used for a Special Summon by Rank-Up-MagicRankUpSummonRegister- Registers an Rank-Up-Magic Special Summon procedureRitualMaterialFilter- Filters Ritual materials in Ritual SummonsTargetFilterFunction- Filters cards affected by an effectXyzExtraCheck- Additional check to perform on groups of Xyz materialsXyzExtraOperation- Additional function to execute when Xyz Summoning.
Function Types that return this type
Function Types that return this type
FusionMandatoryMaterial- Returns cards that must be used as fusion materials.