Script
subtype of table
The card script metatable, where values shared by all copies of a card are defined.
Functions that return this type
Functions that return this type
GetID- Gets the script metatable and card passcode of the current file.
Fields
InitialEffect
initial_effectThe function that registers a card's initial effects when loading the card. This function is required for a card script to be properly loaded.
IntArray|nil
listed_namesAn array of passcodes/IDs of the cards mentioned in the card text.
IntArray|nil
listed_seriesAn array of Archetype values of the archetypes mentioned in the card text.
IntArray|nil
listed_card_typesAn array of CardType values of the card types mentioned in the card text.
IntArray|nil
counter_listAn array of Counter values mentioned in the card text.
IntArray|nil
counter_place_listAn array of Counter values that the card can place.
IntArray|nil
named_materialAn array of passcodes of the Summoning materials specifically mentioned in the card text.
MaterialArray|nil
materialAn array of passcodes or filters of the Summoning materials mentioned in the card text.
IntArray|nil
fit_monsterAn array of passcodes/IDs of the cards mentioned by a Ritual Spell as monsters it is used to Ritual Summon.
RitualMaterialFilter|nil
mat_filterA filter function for a Ritual Monster's Ritual Summon materials.
int
material_locationA Location where a Fusion material should be.
int
material_raceA MonsterRace mentioned as a Fusion material.
int|IntArray|nil
material_setcodeAn Archetype mentioned as a Fusion material, or an array of Archetype values if there are more than one.
int
material_trapThe passcode/ID of a Trap Card mentioned as a Fusion material.
int|nil
min_material_countThe minimum number of materials a Fusion Monster uses for its Fusion Summon.
int|nil
max_material_countThe maximum number of materials a Fusion Monster uses for its Fusion Summon.
int|nil
material_countThe number of materials a Fusion Monster uses for its Fusion Summon if
min_material_countandmax_material_countare equal.int|nil
synchro_tuner_requiredThe number of Tuner Synchro monsters required for the card's Synchro Summon.
int|nil
synchro_nt_requiredThe number of Non-Tuner Synchro monsters required for the card's Synchro Summon.
bool|nil
synchro_typeIs
trueif the card includes an effect that Special Summons itself as a Tuner.bool|nil
self_tunerIs
trueif the card includes an effect that Special Summons itself as a Tuner.int|nil
minxyzctThe minimum number of materials an Xyz Monster uses for its Xyz Summon.
int|nil
maxxyzctThe maximum number of materials an Xyz Monster uses for its Xyz Summon.
int|nil
xyz_numberThe number of a "Number" Xyz monster.
RankUpMaterialFilter|nil
rum_limitFilters what can be used by a Rank-Up-Magic effect to Special Summon an Xyz Monster.
RankUpSummonRegister|nil
rum_xyzsummonA function that registers a Special Summon procedure using a Rank-Up-Magic effect.
int|nil
pendulum_levelThe level a monster is treated as for a Pendulum Summon.
int|nil
MaximumATKA Maximum Monster's Maximum ATK.
bool|nil
illegalIs
trueif the card is illegal.bool|nil
toss_coinIs
trueif the card includes an effect that performs a coin toss.bool|nil
roll_diceIs
trueif the card includes an effect that performs a die roll.bool|nil
old_unionIs
trueif the card is a Union monster that follows the old Union monster rulings.int|nil
LVnumThe LV number of an "LV" monster.
int|nil
LVsetThe LV set of an LV monster.
ArcanaEffectRegister|nil
arcanaregA function that registers an Arcana Force card's coin-based effects.
int|nil
assault_modeThe passcode of the Synchro Monster used to Special Summon an "/Assault Mode" monster.
bool|nil
miracle_synchro_fusionIs
trueif the card can be Special Summoned by Miracle Synchro Fusion.bool|nil
dark_callingIs
trueif the card must be Special Summoned by Dark Fusion, and consequently can be Fusion Summoned by Dark Calling.IntArray|nil
enhanced_metalmorph_statsThe level and race of the monster needed to be tributed by Enhanced Metalmorph to Special Summon the card.