instruction stringclasses 1
value | input stringlengths 10 1.11k | output stringlengths 67 7.06k |
|---|---|---|
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If you control no monsters in your Main Monster Zone: Target 1 Set Spell/Trap on the field; destroy it, then, if you have 3 or more Spells in your GY, you can destroy 1 monster on the field. | --閃刀術式-ジャミングウェーブ
--Sky Striker Maneuver - Jamming Waves!
--
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(s.condition... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 LIGHT Tuner + 1 or more non-Tuner monsters While your LP is higher than your opponent's, this card gains ATK equal to the difference. While your LP is lower than your opponent's, this card loses ATK equal to the difference. When this card is destroyed by battle and sent to the Graveyard: You can pay 1000 LP; Special ... | --エンシェント・ホーリー・ワイバーン
--Ancient Sacred Wyvern
local s,id=GetID()
function s.initial_effect(c)
--synchro summon
Synchro.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsAttribute,ATTRIBUTE_LIGHT),1,1,Synchro.NonTuner(nil),1,99)
c:EnableReviveLimit()
--Atk update
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Choose 1 "Dream Mirror of Joy" and 1 "Dream Mirror of Terror" from your hand and/or Deck, and place 1 in your Field Zone and the other in your opponent's Field Zone, face-up. You can only activate 1 "Dream Mirror Hypnagogia" per turn. | --夢現の夢魔鏡
--Dream Mirror Hypnagogia
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--Place 1 "Dream Mirror of Joy" and 1 "Dream Mirror of Terror" from hand/deck to the field zones
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Normal Summoned: You can Special Summon 1 Winged Beast "Dragunity" monster from your hand, then equip it with this card. While this card is equipped to a monster, that monster is treated as a Tuner. | --ドラグニティ-パルチザン
--Dragunity Partisan
local s,id=GetID()
function s.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarg... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card in your possession is destroyed by your opponent's card (either by battle or by card effect) and sent to your Graveyard: Shuffle this card into the Deck. When this card is flipped face-up: You can target 1 "Madolche" Spell/Trap Card in your Graveyard; add that target to your hand. | --マドルチェ・マーマメイド
--Madolche Marmalmaide
local s,id=GetID()
function s.initial_effect(c)
--to deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(s.retcon)
e1:SetTa... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Your opponent's hand size limit becomes 5. | --衰弱の霧
--Enervating Mist
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_HAND_LIMIT)
e2:SetProperty(E... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Cannot be Normal Summoned/Set. Must be Special Summoned (from your hand) by banishing 1 "Infernoid" monster from your hand or Graveyard while the total Levels and Ranks of all Effect Monsters you control are 8 or lower, and cannot be Special Summoned by other ways. Once per turn: You can target 1 face-up card your oppo... | --インフェルノイド・ベルゼブル
--Infernoid Antra
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
Infernoid.RegisterSummonProcedure(c,1)
--Return 1 face-up card to the hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this face-up Attack Position card is targeted for an attack: Draw 1 card. | --悪シノビ
--Vengeful Shinobi
local s,id=GetID()
function s.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCondition(s.condition)
e1:SetTarget(s... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2+ monsters you control, Special Summoned from the Extra Deck Monsters your opponent controls with the same card type (Fusion, Synchro, Xyz, Pendulum, or Link) as any material used for this card's Fusion Summon lose ATK equal to their own original ATK. When this card inflicts 1000 or more battle damage to your opponent... | --エクストクス・ハイドラ
--Extox Hydra
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--2+ monsters you control Special Summoned from the Extra Deck
Fusion.AddProcMixRep(c,true,true,s.ffilter,2,99)
--Check materials used for Fusion Summon
local e0=Effect.CreateEffect(c)
e0:SetType... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is Summoned: You can target 1 "tellarknight" card in your Graveyard, except "Satellarknight Betelgeuse"; send this card to the Graveyard, and if you do, add that target to your hand. You can only use this effect of "Satellarknight Betelgeuse" once per turn. | --星因士 ベテルギウス
--Satellarknight Betelgeuse
local s,id=GetID()
function s.initial_effect(c)
--Send this card to the GY, and if you do, add 1 "tellarknight" card from your GY to your hand, except "Satellarknight Betelgeuse"
local e1a=Effect.CreateEffect(c)
e1a:SetDescription(aux.Stringid(id,0))
e1a:SetCategory(CATEGORY... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | (Quick Effect): You can Tribute this card; Special Summon 1 "Sky Striker Ace" monster from your Extra Deck to the Extra Monster Zone. While this card is in your GY, if a face-up "Sky Striker Ace" Link Monster you control is destroyed by battle, or leaves the field because of an opponent's card effect: You can Special S... | --閃刀姫-レイ
--Sky Striker Ace - Raye
--completed by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--Special Summon from the Extra Deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn: You can declare a Level from 1 to 8; this card becomes that Level until the end of this turn. You can only control 1 "Gagaga Magician". Cannot be used as a Synchro Material. | --ガガガマジシャン
--Gagaga Magician
local s,id=GetID()
function s.initial_effect(c)
c:SetUniqueOnField(1,0,id)
--lv change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(s.tg)
e1:SetOperation(s.op)
c:... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Normal Summoned successfully, no Trap Cards can be activated. | --侵略の炎
--Invasion of Flames
local s,id=GetID()
function s.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(s.sumsuc)
c:RegisterEffect(e1)
end
function s.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.SetC... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During either player's turn, when your opponent activates a Spell/Trap Card or monster effect that could make them discard when it resolves: You can send this card from your hand to the Graveyard; negate the activation, and if you do, destroy it. | --墓守の監視者
--Gravekeeper's Watcher
local s,id=GetID()
function s.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EF... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 3 Level 11 monsters Once per turn, you can also Xyz Summon "Superdreadnought Rail Cannon Juggernaut Liebe" by using 1 Rank 10 Machine Xyz Monster you control as material. (Transfer its materials to this card.) Once per turn: You can detach 1 material from this card; it gains 2000 ATK/DEF, also for the rest of this turn... | --超弩級砲塔列車ジャガーノート・リーベ
--Superdreadnought Rail Cannon Juggernaut Liebe
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--xyz summon
Xyz.AddProcedure(c,nil,11,3,s.ovfilter,aux.Stringid(id,0),3,s.xyzop)
c:EnableReviveLimit()
--boost
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.String... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Target 1 face-up monster you control and declare a Level between 1 and 3; it becomes that Level. | --下降潮流
--Falling Current
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_LVCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:Regist... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is sent to the GY as Synchro Material: You can Special Summon 1 "Rose Dragon" monster from your hand or Deck, except "Red Rose Dragon", then, if it was sent for the Synchro Summon of "Black Rose Dragon" or a Plant Synchro Monster, you can also add 1 "Frozen Rose" or 1 "Blooming of the Darkest Rose" from yo... | --レッドローズ・ドラゴン
--Red Rose Dragon
--Scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Special summon 1 "Rose Dragon" and search 1 listed card
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Target 1 Gemini monster you control; it becomes an Effect Monster and gains its effects, also return it to the hand during the End Phase of this turn. * The above text is unofficial and describes the card's functionality in the OCG. | --スペシャル・デュアル・サモン
--Super Double Summon
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(s.target)
e1:SetOperation(s.operation)
c:RegisterEffect(e1)
end
s.l... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, you can send 1 "Iron Chain" monster you control to the Graveyard to inflict 800 damage to your opponent. | --C・シューター
--Iron Chain Blaster
local s,id=GetID()
function s.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card you control is sent to your GY: You can Special Summon 1 Insect monster from your hand. | --代打バッター
--Pinch Hopper
local s,id=GetID()
function s.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_G... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Banish 1 Tuner and up to 2 non-Tuner monsters from your Graveyard, and if you do, Special Summon 1 "Stardust" Synchro Monster from your Extra Deck whose Level equals the total Levels of those banished monsters, but it has its effects negated. (This Special Summon is treated as a Synchro Summon.) | --ネクロイド・シンクロ
--Necroid Synchro
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:RegisterEffect(e1)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is sent from the field to the GY: Add 1 monster with 1500 or less ATK from your Deck to your hand, but you cannot activate cards, or the effects of cards, with that name for the rest of this turn. You can only use this effect of "Sangan" once per turn. | --クリッター
--Sangan
local s,id=GetID()
function s.initial_effect(c)
--Search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCountLimit(1,id)
e1:SetCondition(s... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is Tribute Summoned: Discard 1 random card from your opponent's hand, then, if it was a Monster Card, inflict damage to your opponent equal to its original Level x 100. | --炎帝テスタロス
--Thestalos the Firestorm Monarch
local s,id=GetID()
function s.initial_effect(c)
--handes
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_HANDES+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCo... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2 Level 5 Insect monsters Once per turn: You can detach 1 material from this card, then target 1 monster your opponent controls or in their GY; equip that target to this card. This card gains ATK/DEF equal to half the original ATK/DEF of the monster(s) equipped by this effect. | --甲虫装機 エクサスタッグ
--Inzektor Exa-Stag
local s,id=GetID()
function s.initial_effect(c)
--xyz summon
Xyz.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsRace,RACE_INSECT),5,2)
c:EnableReviveLimit()
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetPrope... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can Ritual Summon this card with a "Recipe" card. If this card is Special Summoned: You can excavate the top 5 cards of your Deck, and if you do, you can add 1 excavated "Nouvelles" card to your hand, also shuffle the rest into the Deck. When a card or effect is activated that targets this card on the field, or whe... | --ブエリヤベース・ド・ヌーベルズ
--Buerillabaisse de Nouvelles
--Scripted by Satella
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Register that it was Special Summoned by the effect of a "Nouvelles" monster
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetProp... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If a "Ninja" monster is Summoned to your field (except during the Damage Step): You can target 1 "Ninja" monster or 1 "Ninjitsu Art" card in your GY; add it to your hand, but for the rest of this turn, you cannot activate cards, or the effects of cards, with the same name as the added card. If a "Ninja" monster(s) or "... | --隠れ里-忍法修練の地
--Hidden Village of Ninjitsu Arts
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.St... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can target 1 card you control; you cannot Special Summon monsters for the rest of this turn, except Fiend monsters, also destroy the targeted card, and if you do, Special Summon this card from your hand. If this card on the field is destroyed by card effect, except "Unchained Twins - Aruha", or by battle: You can S... | --破械童子アルハ
--Unchained Twins - Aruha
--Scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Special summon self from the hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRa... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Add 1 Pendulum Monster from your Deck to your Extra Deck face-up. You can only activate 1 "Pendulum Treasure" per turn. | --ペンデュラム・トレジャー
--Pendulum Treasure
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetTarget(s.target)
e1:SetOperation(s... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | This card is treated as a Normal Monster while face-up on the field or in the Graveyard. While this card is face-up on the field, you can Normal Summon it to have it be treated as an Effect Monster with this effect: ● During battle between this attacking card and a Defense Position monster whose DEF is lower than the A... | --デュアル・ランサー
--Gemini Lancer
local s,id=GetID()
function s.initial_effect(c)
Gemini.AddProcedure(c)
--Inflict piercing damage
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PIERCE)
e1:SetCondition(Gemini.EffectStatusCondition)
c:RegisterEffect(e1)
end |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Monsters that were Special Summoned from the Main Deck cannot activate their effects, their effects are negated, and they cannot declare an attack, as long as they remain face-up on the field. | --苦痛の回廊
--Corridor of Agony
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--disable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_TRIGGER)
e2... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is in your hand: You can toss a coin and if the result is heads, Special Summon this card to your field, or if the result is tails, Special Summon this card to your opponent's field. You can only use this effect of "Couple of Aces" once per turn. If this card is Special Summoned by its effect: Draw 2 cards... | --Couple of Aces
--Couple of Aces
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Toss a coin and Special Summon itself
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_COIN+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCA... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner Synchro Monster + 2 or more non-Tuner Synchro Monsters Must be Synchro Summoned and cannot be Special Summoned by other ways. The first time each card you control would be destroyed each turn, by battle or card effect, it is not destroyed. Once per turn, during either player's turn, when your opponent activates... | --聖珖神竜 スターダスト・シフル
--Stardust Sifr Divine Dragon
local s,id=GetID()
function s.initial_effect(c)
--synchro summon
Synchro.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_SYNCHRO),1,1,Synchro.NonTunerEx(Card.IsType,TYPE_SYNCHRO),2,99)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffec... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | [ Pendulum Effect ] All "Performapal" monsters you control gain 300 ATK. ---------------------------------------- [ Monster Effect ] When this card declares an attack: All "Performapal" monsters you currently control gain 300 ATK, until the end of the Battle Phase. | --EMシルバー・クロウ
--Performapal Silver Claw
local s,id=GetID()
function s.initial_effect(c)
--pendulum summon
Pendulum.AddProcedure(c)
--atk
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(s.a... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | "Time Wizard" + 1 Effect Monster Once per turn, while you control this Fusion Summoned card: You can toss a coin and call it. Destroy as many monsters on the field as possible, and if you do, inflict damage equal to half the total original ATK of the destroyed face-up monsters. If you called the coin toss right, your o... | --時の魔導士
--Time Wizard of Tomorrow
local s,id=GetID()
function s.initial_effect(c)
--Fusion Summon
c:EnableReviveLimit()
Fusion.AddProcMix(c,true,true,71625222,aux.FilterBoolFunctionEx(Card.IsType,TYPE_EFFECT))
--Toss a coin and destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetC... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Target 1 "Gouki" card you control and 1 "Gouki" monster in your GY; destroy that card on the field, and if you do, Special Summon that other monster from the GY. You can only activate 1 "Gouki Face Turn" per turn. | --剛鬼フェイスターン
--Gouki Face Turn
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id,EFFECT_COUN... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can only activate 1 "Trial and Tribulation" per turn. During the End Phase of the turn this card was activated, apply this effect, depending on the number of monsters you Tributed from the field and from your hand this turn, except Tokens. ● 1: Draw 1 card. ● 2: Add 2 monsters from your Graveyard to your hand. ● 3+... | --招来の対価
--Trial and Tribulation
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DRAW+CATEGORY_TOHAND+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id,EFFEC... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Special Summoned from your hand, inflict 1000 damage to your opponent. You can remove from play this face-up card you control to return 1 removed from play "Skull Flame" to its owner's Graveyard. | --バーニング・スカルヘッド
--Burning Skull Head
local s,id=GetID()
function s.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(s.damcon)
e1:... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can reveal this card in your hand; your opponent randomly chooses 1 card from your entire hand, then you discard the chosen card. Then, if the discarded card was not "Danger! Dogman!", Special Summon 1 "Danger! Dogman!" from your hand, and if you do, draw 1 card. If this card is discarded: You can have all face-up ... | --未み界かい域いきのワーウルフ
--Danger! Dogman!
--Scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Discard 1 card, Special Summon itself and draw 1 card
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_HANDES+CATEGORY_DRAW)
e1:SetType... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this face-down Defense Position card was attacked by an opponent's monster, before damage calculation: Equip this card to the attacking monster. Then, during your opponent's next Standby Phase: Destroy the monster this card is equipped to, and if you do, inflict damage to your opponent equal to the ATK the destroyed... | --スフィア・ボム球体時限爆弾
--Blast Sphere
local s,id=GetID()
function s.initial_effect(c)
--Equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_CONFIRM)
e1:SetCondition(s.eqcon)
e1:SetOperati... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 FIRE Tuner + 1+ non-Tuner Pyro monsters If this card is Synchro Summoned: Banish cards from your opponent's GY, up to the number of cards in their hand, and if you do, this card gains 200 ATK for each card banished by this effect. | --エンシェント・ゴッド・フレムベル
--Ancient Flamvell Deity
local s,id=GetID()
function s.initial_effect(c)
--synchro summon
Synchro.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsAttribute,ATTRIBUTE_FIRE),1,1,Synchro.NonTunerEx(Card.IsRace,RACE_PYRO),1,99)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDes... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card inflicts battle damage to your opponent: You can target 1 face-up monster your opponent controls; place 1 Predator Counter on it, and if it is Level 2 or higher, it becomes Level 1 as long as it has a Predator Counter. Once per turn: You can target 1 monster your opponent controls with a Level less than ... | --捕食植物プテロペンテス
--Predaplant Pterapenthes
local s,id=GetID()
function s.initial_effect(c)
--counter
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BA... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner + 1+ non-Tuner monsters You can only Special Summon "Shiranui Swordsaga(s)" once per turn. If this card is Special Summoned: You can target 1 monster on the field; change its battle position. If this card is banished: You can Special Summon 1 "Shiranui Token" (Zombie/FIRE/Level 1/ATK 0/DEF 0). You can only use ... | --業神ー不知火
--Shiranui Swordsaga
--scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
c:SetSPSummonOnce(id)
--synchro summon
c:EnableReviveLimit()
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTuner(nil),1,99)
--position
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:Set... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2 Level 4 LIGHT monsters Once per turn, during either player's turn: You can detach 1 Xyz Material from this card; all "Constellar" monsters you currently control are unaffected by Spell/Trap effects this turn. | --セイクリッド・オメガ
--Constellar Omega
local s,id=GetID()
function s.initial_effect(c)
--Must be properly summoned before reviving
c:EnableReviveLimit()
--Xyz summon procedure
Xyz.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsAttribute,ATTRIBUTE_LIGHT),4,2)
--All your "Constellar" become unaffected by spells/traps
loca... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Take 1 Level 5 or higher Illusion monster from your Deck and either add it to your hand or Special Summon it, but if you Special Summon it with this effect, you cannot activate its effects during the Main Phase this turn. You can banish this card from your GY, then target 1 face-down card you control; return it to the ... | --廻る罪宝
--Sinful Spoils Subdual
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Add to the hand, or Special Summon, 1 Level 5 or higher Illusion monster
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_SEARCH)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | All "Chronomaly" monsters you control gain 800 ATK. | --先史遺産-ピラミッド・アイ・タブレット
--Chronomaly Pyramid Eye Tablet
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk down
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Your LP must be lower than your opponent's to activate and to resolve this effect. Activate 1 of these effects; ● Destroy 1 monster your opponent controls with ATK less than or equal to the difference in LP. ● Special Summon 1 monster from your GY with ATK less than or equal to the difference in LP. | --死償不知
--Imprudent Intrusion
--Scripted by Neo Yuno
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(s.condition)
e1:SetTarget(s.target)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | (This card is always treated as a "Rescue-ACE" card.) Add 1 "Rescue-ACE" monster from your GY to your hand, or if you control "Rescue-ACE Hydrant", you can add 1 "Rescue-ACE" monster from your Deck to your hand instead. You can only activate 1 "ALERT!" per turn. | --ALERT!
--ALERT!
--Scripted by Zefile
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is Summoned: Target 1 face-up monster your opponent controls; this card's ATK/DEF become equal to that monster's original ATK/DEF. | --ものマネ幻想師
--Copycat
local s,id=GetID()
function s.initial_effect(c)
--atk def
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is sent to the Graveyard for a Synchro Summon: You can Special Summon this card. You must have 3 or more "Laval" monsters with different names in your Graveyard to activate and to resolve this effect. If this card is Special Summoned with this effect, banish it when it leaves the field. | --紅蓮地帯を飛ぶ鷹
--Soaring Eagle Above the Searing Land
local s,id=GetID()
function s.initial_effect(c)
--Special summon itself from GY
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_M... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is in your hand or Graveyard: You can banish a total of 2 WATER and/or Dragon-Type monsters from your hand and/or Graveyard, except this card; Special Summon this card. During your opponent's End Phase, if this card was Special Summoned: Return it to the hand. You can discard this card and 1 WATER monster ... | --瀑征竜-タイダル
--Tidal, Dragon Ruler of Waterfalls
local s,id=GetID()
function s.initial_effect(c)
--Special Summon this card from your hand or GY
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND|LO... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Destroy the 1 Attack Position monster on the field with the highest ATK (your choice, if tied). | --ハンマーシュート
--Hammer Shot
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:RegisterEffect(e1)
end
function s.filter(c)
ret... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | [ Pendulum Effect ] Once per turn: You can send 1 "Speedroid" Tuner from your hand or face-up from your field to the GY; increase or reduce (min. 1) this card's Pendulum Scale by the original Level of the sent monster until the end of this turn. ---------------------------------------- [ Monster Effect ] If there are n... | --SRパッシングライダー
--Speedroid Passinglider
local s,id=GetID()
function s.initial_effect(c)
--pendulum summon
Pendulum.AddProcedure(c)
--scale change
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1)
e1:SetCost(s.sc... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | This turn, your LIGHT Fiend monsters cannot be destroyed by battle, also any battle damage you take becomes halved. You can banish this card from your GY; Fusion Summon 1 "Fiendsmith" Fusion Monster from your Extra Deck, using monsters you control, and/or monsters in your Spell & Trap Zones that are equipped to a "Fien... | --刻まれし魔の憐歌
--Fiendsmith Kyrie
--scripted by Naim
local s,id=GetID()
function s.initial_effect(c)
--Your LIGHT Fiend monsters cannot be destroyed by battle, also any battle damage you take is halved
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVE... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | [ Pendulum Effect ] If you have no card in your other Pendulum Zone: You can place 1 face-up Pendulum Monster from your Extra Deck in your Pendulum Zone. You can only use this effect of "Patissciel Couverture" once per turn. ---------------------------------------- [ Monster Effect ] 2 Pendulum Monsters If this card in... | --聖菓使クーベル
--Patissciel Couverture
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
Pendulum.AddProcedure(c,false)
--- 2 Pendulum monsters
Fusion.AddProcMixN(c,true,true,aux.FilterBoolFunctionEx(Card.IsType,TYPE_PENDULUM),2)
--Place 1 Pendulum Card in the Pendulum Zone
loc... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | This card's name becomes "Cyber Dragon" while on the field. | --プロト・サイバー・ドラゴン
--Proto-Cyber Dragon
local s,id=GetID()
function s.initial_effect(c)
--code
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(CARD_CYBER_DRAGON)
c:RegisterEffect(e1)
end |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner + 1+ non-Tuner monsters If this card is Special Summoned: You can banish all Insect monsters from your GY; all monsters your opponent currently controls lose 500 ATK/DEF for each of your banished Insect monsters. If this card attacks a Defense Position monster, inflict piercing battle damage. If this Synchro Su... | --B・F-決戦のビッグ・バリスタ
--Battlewasp - Ballista the Armageddon
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--synchro summon
c:EnableReviveLimit()
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTuner(nil),1,99)
--pierce
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EF... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 "Primite" monster + 1+ Normal Monsters Gains 1000 ATK for each Normal Monster used for its Fusion Summon. Negate the activated effects of monsters your opponent controls, whose Levels/Ranks/Link Ratings are less than or equal to the number of Normal Monsters in your field and GY. If this card is sent from the field t... | --原石竜ネザー・ベルセリウス
--Primite Dragon Nether Berzelius
--Scripted by The Razgriz
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Fusion Materials: 1 "Primite" monster + 1+ Normal Monsters
Fusion.AddProcMixRep(c,true,true,aux.FilterBoolFunctionEx(Card.IsType,TYPE_NORMAL),1,99,aux.FilterBoolFunction... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Each time a "Utopia" monster(s) is Special Summoned to your side of the field, place 1 Hi-Five the Sky Counter on this card. All monsters you control gain 200 ATK and DEF for each Hi-Five the Sky Counter on this card. Once per turn: You can remove 2 Hi-Five the Sky Counters from this card; Special Summon 1 "Zubaba", "G... | --希望郷-オノマトピア-
--Onomatopia
local s,id=GetID()
local COUNTER_HI_FIVE=0x30
function s.initial_effect(c)
c:EnableCounterPermit(COUNTER_HI_FIVE)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Place 1 Hi-Five the Sky Counter on this card... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card inflicts battle damage to your opponent: Declare 1 card type (Monster, Spell, or Trap); your opponent sends 1 card of that type from their Deck to the GY. | --ヴァンパイア・レディ
--Vampire Lady
local s,id=GetID()
function s.initial_effect(c)
--Your opponent sends 1 card of the declared type from their Deck to the GY
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:Set... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During your opponent's Battle Phase, if you control "Elemental HERO Terra Firma": This turn, all Level 4 or lower monsters your opponent controls that can attack a face-up "Elemental HERO Terra Firma" you control must attack it, and cannot otherwise attack. | --アース・グラビティ
--Terra Firma Gravity
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_START)
e1:SetCondition(s.condition)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:Re... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is Normal Summoned: You can add 1 Flip monster from your Deck to your hand. | --裏風の精霊
--Spirit of the Fall Wind
local s,id=GetID()
function s.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(s.tg)
e1... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card is Normal or Special Summoned: You can add 1 Fish monster from your Deck to your hand, except "Psiics, Moonlight of the Ghoti", then banish 1 Fish monster from your hand or face-up field. If this card is banished: You can banish 1 Fish monster from your hand, GY, or face-up field, except "Psiics, Moonlight... | --ゴーティスの月夜サイクス
--Psiics, Moonlight of the Ghoti
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Search 1 Fish monster, then banish 1 Fish monster from your hand or face-up field
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When your opponent's monster declares an attack: Target that attacking monster; change that target's battle position. If this Set card is destroyed by your opponent's Spell/Trap effect and sent to the GY: Target 1 monster on the field; destroy it. * The above text is unofficial and describes the card's functionality in... | --セキュリティー・ボール
--Security Orb
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_POSITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(s.condition)
e1:SetTarget(s.target)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | (This card's name is always treated as "Umi".) When this card is activated: You can place 1 WATER monster from your Deck on top of your Deck. Once per turn: You can target 1 WATER monster you control; increase its Level by 1 or 2 until the end of this turn (even if this card leaves the field). Once per turn, during you... | --深海の都 マガラニカ
--Magellanica, the Deep Sea City
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetOperation(s.operation)
c:RegisterEffect(e1)
--increase level
local e2=Effect.Creat... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can Special Summon this card (from your hand) by placing 1 of your banished Insect, Plant, or Reptile monsters on the bottom of your Main Deck. You can only Special Summon "Ragnaraika Samurai Beetle" once per turn this way. If this card is sent to the GY as material for a "Ragnaraika" Link Monster: You can target 1... | --蕾禍ノ矢筈天牛
--Ragnaraika Samurai Beetle
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Special Summon procedure
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetRan... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2 Level 11 monsters You can also Xyz Summon this card by using a Rank 8, 9, or 10 DARK Xyz Monster you control with 2 or more Xyz Materials as the Xyz Material. (Xyz Materials attached to that monster also become Xyz Materials on this card.) This card gains DEF equal to the combined Ranks of all Xyz Monsters you contro... | --No.84 ペイン・ゲイナー
--Number 84: Pain Gainer
local s,id=GetID()
function s.initial_effect(c)
--Xyz Summon
Xyz.AddProcedure(c,nil,11,2,s.ovfilter,aux.Stringid(id,0),2)
c:EnableReviveLimit()
--Gain DEF x200 for all combined Ranks
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLA... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When your opponent draws a card(s) by their own card effect: Look at those cards, and if any are monsters, inflict damage to your opponent equal to their combined ATK, and if you do that, banish all cards you looked at. You can only activate 1 "Draw Discharge" per turn. | --ドロー・ディスチャージ
--Draw Discharge
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE+CATEGORY_REMOVE+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_DRAW)
e1:SetCountLimit(1,id,... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If you control a "Myutant" card: You can Special Summon this card from your hand. You can Tribute this card, then banish 1 "Myutant" card from your hand or Deck; Special Summon 1 monster from your hand or Deck, based on the banished card, but lose LP equal to that Special Summoned monster's original ATK. ● Monster: "My... | --変異体ミュートリア
--Myutant Mutant
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Special Summon self
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2 Level 3 monsters When a "Djinn" Xyz Monster you control is attacking an opponent's monster, during the Damage Step: You can detach 1 Xyz Material from this card; the attacking monster's ATK is doubled until the End Phase. You can only use this effect of "Muzurhythm the String Djinn" once per turn. | --弦魔人ムズムズリズム
--Muzurhythm the String Djinn
local s,id=GetID()
function s.initial_effect(c)
--xyz summon
Xyz.AddProcedure(c,nil,3,2)
c:EnableReviveLimit()
--attack up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCo... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card in your possession is destroyed by your opponent's card (either by battle or by card effect) and sent to your Graveyard: Shuffle this card into the Deck. Once per turn, when the battle position of a "Madolche" monster(s) you control is changed (and is now face-up), while this card is face-up on the field... | --マドルチェ・ピョコレート
--Madolche Chickolates
local s,id=GetID()
function s.initial_effect(c)
--When sent to GY, shuffle itself into deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Cannot be used as Synchro Material, except for the Synchro Summon of a "Dragunity" monster. You can discard this card; add 1 "Dragon Ravine" from your Deck to your hand. If you control a "Dragunity" monster: You can Special Summon this card from your GY, but banish it when it leaves the field, also you cannot Special S... | --ドラグニティーレムス
--Dragunity Remus
--Scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Cannot be used as synchro material, except for "Dragunity" synchro monsters
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_F... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | At the end of the Battle Phase, if this card battled: You can shuffle this card into the Deck; Special Summon 1 "Gladiator Beast" monster from your Deck, except "Gladiator Beast Gistel". You can only use each of the following effects of "Gladiator Beast Gistel" once per turn. You can reveal this card and 1 "Gladiator B... | --剣闘獣ギステル
--Gladiator Beast Gistel
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Special Summon 1 "Gladiator Beast" monster from your Deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TR... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Special Summon 1 "K9" monster from your hand or GY, then you can Special Summon 1 "K9" Xyz Monster from your Extra Deck, by using that monster as material (this is treated as an Xyz Summon), but destroy the monster Special Summoned from the Extra Deck, during the End Phase of the next turn. During the End Phase: You ca... | --K9-EW特殊解除実験
--K9-EW Special Release Experiment
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTimi... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Neither player can Special Summon a Monster Card(s) from the GY. * The above text is unofficial and describes the card's functionality in the OCG. | --王宮の牢獄
--Royal Prison
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--spsummon limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_SZONE)
e1:Set... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner + 1+ non-Tuner monsters At the start of the Damage Step, if this card battles a face-up non-DARK monster: Destroy that monster. | --A・O・J カタストル
--Ally of Justice Catastor
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Synchro Summon procedure
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTuner(nil),1,99)
--Destroy a non-DARK monster that battles with this card
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.String... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During the Main Phase: Pay half your LP; Fusion Summon 1 "Dinomorphia" Fusion Monster from your Extra Deck, using monsters from your hand, Deck, or field as material. When your opponent activates a card or effect, while your LP are 2000 or less: You can banish this card from your GY; you take no effect damage from your... | --ダイノルフィア・ドメイン
--Dinomorphia Domain
--scripted by pyrQ
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Fusion.CreateSummonEff(c,aux.FilterBoolFunction(Card.IsSetCard,SET_DINOMORPHIA),nil,s.fextra,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,s.extratg)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | [ Pendulum Effect ] Once per turn: You can target 1 other card in a Pendulum Zone; this card's Pendulum Scale becomes equal to that card's, until the end of this turn. ---------------------------------------- [ Monster Effect ] While you have 2 cards in your Pendulum Zones with the same Pendulum Scale, this card gains ... | --メトロンノーム
--Metrognome
local s,id=GetID()
function s.initial_effect(c)
--pendulum summon
Pendulum.AddProcedure(c)
--scale
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, you can select 1 face-up Insect-Type monster you control. While this card remains on the field, any opponent's monster that battles with one of those monsters is changed to Defense Position at the end of the Battle Phase, and cannot change its battle position while this card is on the field. | --蜘蛛の領域
--Spiders' Lair
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--target
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetType(EFFECT_TYPE_IGNITION)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Target 1 Warrior monster on the field with 1500 or less ATK; equip this card to that target. Monsters your opponent controls with 1900 or more ATK cannot attack the equipped monster. | --ヒーロー・ヘイロー
--Hero Ring
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_START)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(aux.RemainFie... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When a Link Monster's effect is activated that targets this face-up card on the field (Quick Effect): You can destroy this card, then send 1 monster on the field to the GY. During the End Phase, if this card is in the GY because it was destroyed on the field by battle or card effect and sent there this turn: You can Sp... | --マグナヴァレット・ドラゴン
--Magnarokket Dragon
local s,id=GetID()
function s.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE)
e1:SetCoun... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card destroys an opponent's monster by battle, your opponent cannot activate Spell Cards during the next turn. | --静寂の聖者
--Sage of Silence
local s,id=GetID()
function s.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(aux.bdocon)
e1:SetOperation(s.operation)
c:RegisterEf... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can Ritual Summon this card with any "Nekroz" Ritual Spell. Must be Ritual Summoned, without using "Nekroz of Brionac". You can only use each of these effects of "Nekroz of Brionac" once per turn. ● You can discard this card; add 1 "Nekroz" monster from your Deck to your hand, except "Nekroz of Brionac". ● You can ... | --ブリューナクの影霊衣
--Nekroz of Brionac
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.rit... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Activate 1 "The Sanctuary in the Sky" directly from your Deck, or add 1 monster that mentions "The Sanctuary in the Sky" from your Deck to your hand, then, if "The Sanctuary in the Sky" is on the field or in either GY, you can gain 500 LP for each "Hyperion" and "The Agent" monster you control. If your monster that men... | --天空の聖水
--The Sacred Waters in the Sky
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Activate 1 "The Sanctuary in the Sky" directly from your Deck, or add 1 monster that mentions "The Sanctuary in the Sky" from your Deck to your hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stri... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2+ DARK monsters During your Main Phase: You can send 1 "The Phantom Knights" monster from your Deck to the GY, then Set 1 "Phantom Knights" Spell/Trap directly from your Deck to your Spell & Trap Zone. If a DARK Xyz Monster(s) is Special Summoned to a zone(s) this card points to, while this monster is on the field (ex... | --幻影騎士団ラスティ・バルディッシュ
--The Phantom Knights of Rusty Bardiche
local s,id=GetID()
function s.initial_effect(c)
--Link Summon procedure
Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsAttribute,ATTRIBUTE_DARK),2)
c:EnableReviveLimit()
--Send 1 monster to the GY and set 1 "Phantom Knights" Spell/Trap
local e1=Effec... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Place 1 "Diabellstar" monster from your hand, Deck, or GY face-up in its owner's Spell & Trap Zone as a Continuous Spell. During the End Phase: You can banish this card from your GY, then target 1 Monster Card treated as a Continuous Spell you control; Special Summon it. You can only use each effect of "Dramatic Snake-... | --スネークアイ追走劇
--Dramatic Snake-Eye Chase
--Scripted by Satellaa
local s,id=GetID()
function s.initial_effect(c)
--Place 1 "Diabellestar" monster in its owner's Spell/Trap Zone
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_LEAVE_GRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn: You can target 1 card in your opponent's Graveyard; banish that target. | --カードエクスクルーダー
--Card Ejector
local s,id=GetID()
function s.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card destroys an opponent's monster by battle and sends it to the GY: You can discard 1 "Fabled" monster; draw 1 card. | --魔轟神獣コカトル
--The Fabled Kokkator
local s,id=GetID()
function s.initial_effect(c)
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTRO... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Target 1 Xyz Monster in your GY; Special Summon it, and if you do, attach this card to it as material. | --エクシーズ・リボーン
--Xyz Reborn
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(s.t... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If a "Steelswarm" monster is Tribute Summoned face-up while this card is face-up on the field, you can Normal Summon or Set 1 monster in addition to your Normal Summon or Set that turn. | --インヴェルズの門番
--Steelswarm Gatekeeper
local s,id=GetID()
function s.initial_effect(c)
--extra summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(s.sumop)
c:RegisterEffect(e1)
end
s.listed_series={S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Destroy all Fiend monsters on the field. | --悪魔払い
--Exile of the Wicked
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:RegisterEffect(e1)
end
function s.filter(c)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During your End Phase, if you have activated a "Spellbook" Spell Card previously this turn: You can banish this card from the field; add both 1 Level 5 or higher LIGHT or DARK Spellcaster-Type monster and 1 "Spellbook" Spell Card from your Deck to your hand. You can only use the effect of "Justice of Prophecy" once per... | --魔導教士 システィ
--Justice of Prophecy
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetRange(LOCA... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | (This card is always treated as a "Gate Guardian" card.) Cannot be Normal Summoned/Set. Must be either Special Summoned by "Dark Element", or Special Summoned (from your hand or GY) by shuffling into the Deck, 1 each of your "Sanga of the Thunder", "Kazejin", and "Suijin" that is in your hand, face-up field, GY, and/or... | --闇の守護神-ダーク・ガーディアン
--Dark Guardian
--scripted by pyrQ
local CARD_DARK_ELEMENT=53194323
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Must be Special Summoned with "Dark Element" or its own procedure
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During the Battle Phase: Target 1 face-up monster you control; you lose LP equal to its ATK, and if you do, that monster's ATK is doubled until the end of this turn. It cannot attack directly during the turn you activate this card. You can only activate 1 "Psychic Fervor" per turn. | --才呼粉身
--Psychic Fervor
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When your opponent declares a direct attack: You can Special Summon this card from your hand. Once per turn: You can switch the original ATK and DEF of this card, until the end of this turn. | --BF-熱風のギブリ
--Blackwing - Ghibli the Searing Wind
local s,id=GetID()
function s.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRa... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, when your opponent Special Summons a monster(s) from the hand (except during the Damage Step): You can return to the hand all monsters your opponent controls that were Special Summoned from the hand. If neither player controls a "Flower Cardian" Synchro Monster, send this card to the Graveyard. | --イカサマ御法度
--Fraud Freeze
local s,id=GetID()
function s.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_SELF_TOGRAVE)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.St... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If you have no cards in your Extra Deck: Target 1 face-up Tribute Summoned monster you control; its effects are negated, also it is unaffected by the effects of cards other than this card. | --帝王の凍志
--The Monarchs Awaken
local s,id=GetID()
function s.initial_effect(c)
--Targeted tribute summoned monster has its effects negate, also unaffected by other card effects
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Return 1 "Gladiator Beast" card from your hand to the Deck, and negate the activation and effect of a Spell Card, and destroy it. | --ディザーム
--Disarm
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(s.condition)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Fusion Summon 1 Fusion Monster from your Extra Deck, using monsters you control as Fusion Material, and if you do, it cannot be destroyed by battle or card effects this turn. Only "Destiny HERO" monsters can be used as Fusion Material for a Fusion Summon using this card's effect. | --D-フュージョン
--D-Fusion
local s,id=GetID()
function s.initial_effect(c)
--Fusion summon 1 "Destiny HERO" fusion monster
--Using monsters you control as fusion material
c:RegisterEffect(Fusion.CreateSummonEff(c,nil,Fusion.OnFieldMat(aux.FilterBoolFunction(Card.IsSetCard,SET_DESTINY_HERO)),nil,nil,nil,s.stage2))
end
s.l... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, when a Special Summoned monster your opponent controls activates its effect, you can negate the activation. | --ジャスティス・ブリンガー
--Justice Bringer
local s,id=GetID()
function s.initial_effect(c)
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_NEGATE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Send 1 "Orcust" or "World Legacy" monster from your hand or face-up field to the GY; draw 2 cards. You can only activate 1 "Orcustrated Return" per turn. | --オルフェゴール・プライム
--Orcustrated Return
local s,id=GetID()
function s.initial_effect(c)
--Draw 2 cards
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.