Effect
subtype of userdata
Represents an effect. Can use the functions in the Effect
namespace as methods. This type is not limited to what are officially referred to as "effects" in Yu-Gi-Oh!. It is also used to implement "conditions" and even some Duel rules.
Functions that use this type as parameter
Functions that use this type as parameter
Card.AddCenterToSideEffectHandler
- Grants an effect to a Maximum Monster's [L] and [R] pieces.Card.CanSummonOrSet
- Checks if a card can be Normal Summoned or Set.Cost.SelfBanish
- Cost function for effects that banish the card itself as cost.Cost.SelfDiscard
- Cost function for effects that discard the card itself as cost.Cost.SelfDiscardToGrave
- Cost function for effects that discard the card itself to the GY as cost.Cost.SelfRelease
- Alias ofCost.SelfTribute
.Cost.SelfReveal
- Cost function for effects that reveal the card itself as cost.Cost.SelfToDeck
- Cost function for effects that shuffle the card itself to the Deck as cost.Cost.SelfToExtra
- Cost function for effects that return the card itself to the Extra Deck as cost.Cost.SelfToGrave
- Cost function for effects that send the card itself to the GY as cost.Cost.SelfToHand
- Cost function for effects that return the card itself to the hand as cost.Cost.SelfTribute
- Cost function for effects that Tribute the card itself as cost.Effect.GetCountLimit
- Gets information related to an effect's count limit.Effect.GetType
- Gets the type(s) of an effect.Effect.SetCountLimit
- Sets the number of times an effect can be used per turn.Effect.SetType
- Sets the type(s) of an effect.Fusion.ForcedHandler
- Makes the handler of the effect a mandatory materialaux.DelayedOperation
- Performs an operation on cards each time a given phase is enteredaux.SelectUnselectGroup
- Checks if a group contains a subgroup that fulfills a function.aux.SelfBanishCost
- Alias ofCost.SelfBanish
.aux.SelfDiscardCost
- Alias ofCost.SelfDiscard
.aux.SelfDiscardToGraveCost
- Alias ofCost.SelfDiscardToGrave
.aux.SelfReleaseCost
- Alias ofCost.SelfTribute
.aux.SelfRevealCost
- Alias ofCost.SelfReveal
.aux.SelfToDeckCost
- Alias ofCost.SelfToDeck
.aux.SelfToExtraCost
- Alias ofCost.SelfToExtra
.aux.SelfToGraveCost
- Alias ofCost.SelfToGrave
.aux.SelfToHandCost
- Alias ofCost.SelfToHand
.aux.SelfTributeCost
- Alias ofCost.SelfTribute
.aux.StatChangeDamageStepCondition
- Condition function for fast effects that change a monster's ATK/DEF.aux.bfgcost
- Deprecated alias ofCost.SelfBanish
.aux.selfbanishcost
- Deprecated alias ofCost.SelfBanish
.aux.selfreleasecost
- Deprecated alias ofCost.SelfTribute
.
Functions that return this type
Functions that return this type
Card.AddCannotBeSpecialSummoned
- Adds a "Cannot be Special Summoned" Summoning condition to a monsterCard.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.GetActivateEffect
- Gets a card's activation effects.Card.GetCardEffect
- Gets all the effects being applied to a cardCard.GetOwnEffects
- Gets all the effects registered or being granted to a cardCard.IsHasEffect
- Gets all the effects of a given code being applied to a cardFusion.CreateSummonEff
- Creates an effect that performs a Fusion Summon.aux.AddEquipProcedure
- Adds procedure for equipping Spells.aux.DelayedOperation
- Performs an operation on cards each time a given phase is enteredaux.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
Function Types that use this type as parameter
Function Types that use this type as parameter
DelayedEffectCondition
- A condition to check affected cards in a given phase.DelayedEffectOperation
- An operation to perform on affected cards in a given phase.EffectCondition
- Checks an activated effect's condition.EffectCost
- Checks or performs an effect's activation cost.EffectOperation
- A function executed when resolving an effect.EffectTarget
- Checks or performs effect activation procedure excluding cost.EquipLimitFunction
- Restricts which monsters an equipped card can remain equipped toFusionExtraMaterial
- Creates a group of additional fusion materials.FusionMandatoryMaterial
- Returns cards that must be used as fusion materials.FusionMaterialFilter
- Filters Fusion materials in Fusion Summon effectsFusionMaterialOperation
- A function to perform on the materials being used in a Fusion Summon.FusionPreSelect
- A function to perform before Fusion Summoning a selected monster.FusionStage2
- An additional operation to perform after a Fusion Summon.SubgroupCheck
- A function used to check subgroups of a group.TargetFilterFunction
- Filters cards affected by an effectXyzExtraOperation
- Additional function to execute when Xyz Summoning.
Function Types that return this type
Function Types that return this type
RankUpSummonRegister
- Registers an Rank-Up-Magic Special Summon procedure
Table Types with field values of this type
Table Types with field values of this type
EffectArray
- An array containing effects.