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: | Once per turn, if your "Ursarctic" monster would Tribute a monster(s) to activate its effect, you can banish 1 Level 7 or higher "Ursarctic" monster from your GY instead. Each time a monster(s) is Special Summoned, place 1 counter on this card. Once per turn, if a monster(s) is Special Summoned and an "Ursarctic" Synch... | --ベアルクティ・ビッグディッパー
--Ursarctic Big Dipper
--Scripted by Eerie Code
local s,id=GetID()
local COUNTER_BIG_DIPPER=0x204
function s.initial_effect(c)
c:EnableCounterPermit(COUNTER_BIG_DIPPER)
--Activate
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner + 1+ non-Tuner "Mist Valley" monsters Once per turn (Quick Effect): You can target 1 other card you control; return that target to the hand, and if you do, this card gains 500 ATK until the end of this turn. | --霞の谷の雷神鬼
--Mist Valley Thunder Lord
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Synchro Summon procedure
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTunerEx(Card.IsSetCard,SET_MIST_VALLEY),1,99)
--Return to hand and increase ATK
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stri... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn: You can reveal 1 Fusion Monster from your Extra Deck, then send 1 of the Fusion Materials whose name is specifically listed on that card from your Deck to the Graveyard; this card's name becomes the sent monster's until the End Phase. | --E・HERO プリズマー
--Elemental HERO Prisma
local s,id=GetID()
function s.initial_effect(c)
--cos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(s.coscost)
e1:SetOperation(s.cosoperation)
c:RegisterEff... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can target 1 face-down monster you control; change it to face-up Attack or Defense Position. You can shuffle 1 "Krawler" monster from your GY into the Main Deck, then target 1 face-up monster you control; change it to face-down Defense Position. You can only use 1 "World Legacy Pawns" effect per turn, and only once... | --星遺物の傀儡
--World Legacy Pawns
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:SetTarget(s.target)
e1:SetHintTiming(TIMING_END_PHASE)
c:RegisterEffect(e1)
--pos (face-down)
local e2=Effect.CreateEffect(c)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Normal Summoned: You can target 1 Tuner monster in either player's Graveyard; Special Summon it to your side of the field, and if you do, immediately after this effect resolves, Synchro Summon 1 WIND Synchro Monster, using that monster and this card only. | --SRオハジキッド
--Speedroid Ohajikid
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_CARD_TARGET)
e1:SetCode(EV... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Draw cards equal to the number of cards your opponent controls, then place cards from your hand on the bottom of the Deck in any order, equal to the number of cards you drew. During the End Phase, if your opponent controls more cards than you do while this card is in your GY: You can Set this card, but banish it when i... | --補強要員
--Backup Team
--scripted by Naim
local s,id=GetID()
function s.initial_effect(c)
--Draw cards then return cards to the Deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DRAW+CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If this card would be destroyed by battle or card effect, you can destroy 1 "Genex Controller" in your Monster Zone instead. * The above text is unofficial and describes the card's functionality in the OCG. | --ジェネクス・ガイア
--Genex Gaia
local s,id=GetID()
function s.initial_effect(c)
--Destroy replace
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DESTROY_REPLACE)
e2:SetTarget(s.desreptg)
e2:SetOperation(s.desrepop)
c:RegisterEffect(e2)
end
s.listed_names={6850580... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | "The Weather" Effect Monsters in your Main Monster Zones of this card's column and its adjacent columns gain this effect. ● You can banish this card, then target 1 monster you control (Quick Effect); Tribute that target, and if you do, Special Summon 1 "The Weather" monster from your hand or GY, but not with the same n... | --晴れの天気模様
--The Weather Sunny Canvas
local s,id=GetID()
function s.initial_effect(c)
c:SetUniqueOnField(1,0,id)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--effect gain
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Strin... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, you can either: Target 1 Effect Monster you control; equip this card to that target, OR: Unequip this card and Special Summon it. If the equipped monster would be destroyed by battle or card effect, destroy this card instead. You can return this card equipped to a monster to your hand; equip 1 appropriat... | --ユニオン・パイロット
--Union Pilot
--scripted by Naim
local s,id=GetID()
function s.initial_effect(c)
--Union procedure
aux.AddUnionProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_EFFECT))
--Equip 1 banished Union monster to an appropriate monster you control and Special Summon this card from your hand
local e1=Effect.... |
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 a Normal Monster on the field, you can Normal Summon it to have it become an Effect Monster with these effects. ● This card becomes EARTH Dinosaur-Type. When this card destroys an opponent's monster by battle and... | --ナチュラル・ボーン・サウルス
--Skelesaurus
local s,id=GetID()
function s.initial_effect(c)
Gemini.AddProcedure(c)
--Becomes EARTH Dinosaur monster
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_ATTRIBUTE)
e1:SetRange(LOCATION_MZONE)
e1:SetCon... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Pay 2000 LP and Tribute 1 Warrior monster; banish up to 3 "Legendary Dragon" Spells with different names from your hand and/or GY, and if you do, Special Summon that many "Legendary Knight" monsters with different names from your hand, Deck, and/or GY. You can only activate 1 "Legend of Heart" per turn. | --レジェンド・オブ・ハート
--Legend of Heart
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:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetCost(s.cost)
e1:Se... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can discard this card and 1 WIND monster to the GY; add 1 Dragon monster from your Deck to your hand. You can banish a total of 2 WIND and/or Dragon monsters from your hand and/or GY; Special Summon this card from your hand or GY. During your opponent's End Phase, if you control this Special Summoned card: Return i... | --嵐征竜-テンペスト
--Tempest, Dragon Ruler of Storms
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|LOC... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Each time a player draws cards because of a card effect, they take 500 damage during the End Phase for each card drawn by the card effect. | --グリード
--Greed
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)
--reg
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetRange(LOCATION_SZONE)
e2... |
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 Spell/Trap Card on the... | --インフェルノイド・アスタロス
--Infernoid Patrulea
local s,id=GetID()
function s.initial_effect(c)
--Must be properly summoned before reviving
c:EnableReviveLimit()
Infernoid.RegisterSummonProcedure(c,1)
--Destroy 1 Spell/Trap on the field
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(C... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | While you control a Spellcaster-Type monster, any damage you take is halved. (You cannot halve the same damage twice this way.) If this card is sent from the field to the Graveyard: You can target 1 Spellcaster-Type monster in your Graveyard; Special Summon it. | --マジシャンズ・プロテクション
--Magicians' Defense
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)
--Halve damage
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If only your opponent controls a monster: You can Special Summon 1 "Dragunity" Tuner and 1 Winged Beast "Dragunity" monster from your Deck, but negate their effects, then if your opponent controls a monster that was Special Summoned from the Extra Deck, immediately after this effect resolves you can Synchro Summon 1 Dr... | --疾風のドラグニティ
--Dragunity Whirlwind
--Logical Nonsense
--Substitute ID
local s,id=GetID()
function s.initial_effect(c)
--Special summon 2 "Dragunity" monsters from deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Each player shuffles their Deck, then each player draws 1 card, then each player discards 1 card. | --ディーラーズ・チョイス
--Dealer's Choice
--Scripted by AlphaKretin
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_HANDES+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(s.target)
e1:SetOperation(s.activate)
c:Re... |
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. You can discard this card, then target 1 "Nekroz" card in your GY, except "Nekroz of Unicore"; add it to your hand. You can only use this effect of "Nekroz of Unicore" once per turn. Negate the effects of face-up monsters on the fi... | --ユニコールの影霊衣
--Nekroz of Unicore
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.ritl... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner Synchro Monster + 1+ non-Tuner Synchro Monsters Must be Synchro Summoned. Once per turn (Quick Effect): You can banish 1 Synchro Monster from your GY; this card is unaffected by other cards' effects for the rest of this turn. If this card in its owner's possession is destroyed by an opponent's card (by battle o... | --真閃珖竜 スターダスト・クロニクル
--Stardust Chronicle Spark Dragon
local s,id=GetID()
function s.initial_effect(c)
--Must be properly summoned before reviving
c:EnableReviveLimit()
--Synchro summon procedure
Synchro.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_SYNCHRO),1,1,Synchro.NonTunerEx(Card.IsType,TYPE_SYNCHRO... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 5 Level 12 monsters Once per turn (Quick Effect): You can detach 1 material from this card; destroy 1 other monster on the field. At the end of the Battle Phase: Destroy as many other monsters on the field as possible (min. 1), then you can Special Summon 1 monster from your opponent's GY to your field in Defense Posit... | --CNo.1000 夢幻虚神ヌメロニアス
--Number C1000: Numerounius
--Scripted by Larry126
local s,id=GetID()
function s.initial_effect(c)
--Xyz summon
Xyz.AddProcedure(c,nil,12,5)
c:EnableReviveLimit()
--Destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFF... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During your Main Phase, if you Link Summoned this turn: You can Special Summon this card from your hand to your zone a Link Monster points to. If you control no monsters: You can banish this card from your GY, then target 5 "Salamangreat" cards in your GY; shuffle them into the Deck, then draw 2 cards. You can only use... | --転生炎獣モル
--Salamangreat Mole
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--Special Summon this card from the hand
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)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | The first time a monster(s) is Summoned to your opponent's side of the field each turn, inflict 800 damage to your opponent. During the Battle Phase of the turn this effect is activated, you can negate the attack of 1 monster your opponent controls. You can send 1 face-up "Trap Reactor ・Y FI", 1 face-up "Spell Reactor ... | --サモン・リアクター・AI
--Summon Reactor ・SK
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_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetRange(LOCATION_MZONE)
e1:S... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 3 Level 8 monsters Once per turn (Quick Effect): You can detach 1 material from this card, then activate 1 of these effects. ● Target 1 Set Spell/Trap your opponent controls; while this card is face-up on the field, that Set card cannot be activated. ● Target 1 Plant monster on the field; change that target to face-dow... | --No.87 雪月花美神クイーン・オブ・ナイツ
--Number 87: Queen of the Night
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Xyz Summon procedure: 3 Level 8 monsters
Xyz.AddProcedure(c,nil,8,3)
--Activate 1 of these effects
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFE... |
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: You can target 1 face-up "Madolche" card you control, except this card; return it to the hand, and if you do, increase this card's Level... | --マドルチェ・クロワンサン
--Madolche Cruffssant
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:SetTar... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Normal or Special Summoned: Choose 1 Level 4 or lower Warrior-Type monster from your Deck, except "Field-Commander Rahz", and place it on top of your Deck. | --戦士ラーズ
--Field-Commander Rahz
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_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(s.operation)
c:RegisterEffect(e1)
local e2=e1:Clon... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | (Quick Effect): You can return 1 other "Altergeist" card you control to the hand, then target 1 card your opponent controls; return it to the hand. If this card is sent from the field to the GY: You can target 1 "Altergeist" Trap in your GY; add that card to your hand. You can only use each effect of "Altergeist Silqui... | --オルターガイスト・シルキタス
--Altergeist Silquitous
local s,id=GetID()
function s.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRang... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 1 Tuner + 1 or more non-Tuner monsters This card gains 500 ATK and DEF for each "Deskbot" card on the field. You can only use 1 of the following effects of "Deskbot Jet" per turn, and only once that turn. ● You can target 1 "Deskbot" card you control; destroy it, and if you do, Special Summon 1 "Deskbot" monster from y... | --ブンボーグ・ジェット
--Deskbot Jet
local s,id=GetID()
function s.initial_effect(c)
--synchro summon
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTuner(nil),1,99)
c:EnableReviveLimit()
--atk/def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZON... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn you can pay 600 Life Points to have all face-up Psychic-Type monsters gain 500 ATK during this turn. | --パワー・インジェクター
--Power Injector
local s,id=GetID()
function s.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(Cost.PayLP(600))
e1:SetTarg... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | This card in the Monster Zone is sent to the GY, except during the Battle Phase. At the start of the Battle Phase, if this card is in your GY: You can send 1 Plant monster from your hand or face-up field to the GY; Special Summon this card, then you can Special Summon 1 monster from either GY to your field, but send th... | --精霊冥騎-急還馬
--Cucumber Horse
--scripted by Naim
local s,id=GetID()
function s.initial_effect(c)
Duel.EnableGlobalFlag(GLOBALFLAG_SELF_TOGRAVE)
--Send itself to the GY if it's not the Battle Phase
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOC... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Reveal 1 monster in your hand, choose 1 monster from your Deck that has exactly 1 of the same Type, Attribute, Level, ATK or DEF, and banish the revealed monster from your hand face-down. Then add, from the Deck to your hand, 1 monster that has exactly 1 of the same Type, Attribute, Level, ATK or DEF as the monster cho... | --スモール・ワールド
--Small World
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Banish and search
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_O... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Activate only when your opponent activates a Trap Card that inflicts damage. Negate the activation of that card and destroy it and all face-up Spell and Trap Cards your opponent controls. | --白銀のバリア-シルバーフォース-
--Shining Silver Force
local s,id=GetID()
function s.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(s.discon)
e1:SetTarget(s.distg)
e1:SetOperation(s.disop)... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Monsters destroyed by battle with this card are placed on the bottom of the Deck instead of going to the GY. If this card destroys an opponent's monster by battle: It gains 200 ATK. | --アマゾネス訓練生
--Amazoness Trainee
local s,id=GetID()
function s.initial_effect(c)
--to deck
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_BATTLE_DESTROY_REDIRECT)
e1:SetValue(LOCATION_DECKBOT)
c:RegisterEffect(e... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When your opponent Summons a monster(s) with 1500 or less ATK: Banish that monster(s) with 1500 or less ATK, face-down. | --断絶の落とし穴
--Banishing Trap Hole
--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_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(s.target)
e1:SetOpera... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Cannot attack directly, or attack monsters in the Extra Monster Zone. Unaffected by monster effects activated in the Extra Monster Zone. Cannot be destroyed by battle with monsters in the Extra Monster Zone. | --ストームサイファー
--Storm Cipher
local s,id=GetID()
function s.initial_effect(c)
--cannot attack directly
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
c:RegisterEffect(e1)
--cannot attack emz... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If you control a DARK Reptile monster: You can Special Summon this card from your hand, then, if your opponent controls any monsters with 0 ATK, you can Special Summon up to an equal number of "Reptilianne" monsters from your hand. You can only use this effect of "Reptilianne Coatl" once per turn. If this card you cont... | --レプティレス・コアトル
--Reptilianne Coatl
--Scripted by Hatter
local s,id=GetID()
function s.initial_effect(c)
--Special Summon self from hand
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:SetCo... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2+ Tuners + 1 non-Tuner "Blue-Eyes" monster Your opponent cannot banish cards from your GY. You can only use each of the following effects of "Blue-Eyes Ultimate Spirit Dragon" once per turn. When a card or effect is activated on the field (Quick Effect): You can negate the activation, and if you do, this card gains 10... | --青眼の究極霊竜
--Blue-Eyes Ultimate Spirit Dragon
--Scripted by The Razgriz
local s,id=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--Synchro Summon procedure: 2+ Tuners + 1 non-Tuner "Blue-Eyes" monster
Synchro.AddProcedure(c,nil,2,99,Synchro.NonTunerEx(Card.IsSetCard,SET_BLUE_EYES),1,1)
--Your opponent c... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is sent to the Graveyard: All "Laval" monsters you currently control gain 300 ATK. | --ラヴァル・フロギス
--Laval Phlogis
local s,id=GetID()
function s.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetOperation(s.operation)
c:RegisterE... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Summoned: You can send 1 Fish monster from your Deck to the GY, except "Lifeless Leaffish". You can banish this card from your GY, then target 3 Fish monsters in your GY; shuffle those monsters into your Deck, then draw 1 card. You can only use each effect of "Lifeless Leaffish" once per turn. | --揺海魚デッドリーフ
--Lifeless Leaffish
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--Send to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Gains 400 ATK for each Spell/Trap your opponent controls. | --N・フレア・スカラベ
--Neo-Spacian Flare Scarab
local s,id=GetID()
function s.initial_effect(c)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Activate this card by targeting 1 "Ninja" monster you control; it cannot be destroyed by battle. * The above text is unofficial and describes the card's functionality in the OCG. | --忍法 空蝉の術
--Ninjitsu Art of Decoy
local s,id=GetID()
function s.initial_effect(c)
aux.AddPersistentProcedure(c,0,aux.FaceupFilter(Card.IsSetCard,SET_NINJA))
--indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetRange(LOCATION_SZONE)
e1:SetTargetRange... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | 2 Level 1 monsters You can only use the effect of "Number 63: Shamoji Soldier" once per turn. You can detach 1 Xyz Material from this card, then activate 1 of these effects; ● At the start of your opponent's next Standby Phase, each player draws 1 card. ● Each player gains 1000 Life Points. | --No.63 おしゃもじソルジャー
--Number 63: Shamoji Soldier
local s,id=GetID()
function s.initial_effect(c)
--xyz summon
Xyz.AddProcedure(c,nil,1,2)
c:EnableReviveLimit()
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
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: | If a "Salamangreat" monster(s), except "Salamangreat Fowl" is Normal or Special Summoned to your field (except during the Damage Step): You can Special Summon this card from your hand. You can only use this effect of "Salamangreat Fowl" once per turn. You can send 1 "Salamangreat" card from your hand or face-up field t... | --転生炎獣フォウル
--Salamangreat Fowl
--scripted by Logical Nonsense
local s,id=GetID()
function s.initial_effect(c)
--Special Summon this card from your hand
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)
... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When a Beast-Warrior-Type "Bujin" monster you control is targeted for an attack by an opponent's monster: You can send this card from your hand to the Graveyard; negate the attack, and if you do, inflict damage to your opponent equal to half the attacker's ATK. You can only use the effect of "Bujingi Crow" once per tur... | --武神器-ヤタ
--Bujingi Crow
local s,id=GetID()
function s.initial_effect(c)
--negate attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:S... |
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. | --華麗なる潜入工作員
--Tactical Espionage Expert
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... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn: You can change this card to face-down Defense Position. You can only use each of the following effects of "Pharaonic Guardian Sphinx" once per turn. If this card is Flip Summoned: Shuffle all monsters your opponent controls into the Deck. If this card in its owner's control is destroyed by an opponent's ... | --王家の守護者スフィンクス
--Pharaonic Guardian Sphinx
local s,id=GetID()
function s.initial_effect(c)
--turn set
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(s.target)
e1:SetOperation(s.oper... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, you can toss a coin and call it. If you call it right, inflict 1000 damage to your opponent. If you call it wrong, you take 1000 damage. | --暴れ牛鬼
--Abare Ushioni
local s,id=GetID()
function s.initial_effect(c)
--Toss a coin and inflict 1000 damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_COIN+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:Set... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | During either player's Battle Step, when a Fusion Monster you control battles an opponent's Fusion Monster: Target both those Fusion Monsters; negate the attack, and if you do, each player takes damage equal to the combined ATK of both those Fusion Monsters. | --決戦融合-ファイナル・フュージョン
--Final Fusion
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_PHASE)
e1:SetCondit... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is destroyed by battle and sent to the Graveyard: Each player can Special Summon 1 Level 4 monster from their hand. | --ファミリア・ナイト
--Familiar Knight
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_F)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(s.co... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | FLIP: Add 1 Fiend monster from your Deck to your hand, except a DARK or LIGHT monster. | --魔界発冥界行きバス
--Tour Bus To Forbidden Realms
local s,id=GetID()
function s.initial_effect(c)
--Search 1 non-LIGHT and non-DARK monster
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP)
e1:SetTarget(s.... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Add 1 "Spellbook" card from your Deck to your hand, except "Spellbook of Secrets". You can only activate 1 "Spellbook of Secrets" per turn. | --グリモの魔導書
--Spellbook of Secrets
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
e1:SetTarget(s.target)
e1:SetOpe... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | You can Tribute 1 Cyberse monster you control in the Extra Monster Zone; Special Summon up to 1 Level 4 Cyberse monster each from your hand and GY. If this card is sent to the GY: You can target 1 face-up monster on the field; its ATK becomes halved until the end of this turn. You can only use each effect of "Mathmech ... | --斬機ディヴィジョン
--Mathmech Division
--scripted by Logical Nonsense
--Substitute ID
local s,id=GetID()
function s.initial_effect(c)
--Special summon from hand/GY
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LO... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Once per turn, during either player's turn: You can banish 1 "Laval" monster from your Graveyard; this card gains 300 ATK until the End Phase. | --炎熱刀プロミネンス
--Prominence, Molten Swordsman
local s,id=GetID()
function s.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetH... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | Special Summon 1 "Ultimate Flagship Ursatron" from your Extra Deck by banishing 1 "Ursarctic Big Dipper" and 1 "Drytron Fafnir" from your hand and/or field (even if face-down). If "Ursarctic Polari" or "Drytron Alpha Thuban" is on the field, you can banish 1 of the cards from your Deck, instead. If you would Tribute a ... | --天斗輝巧極
--Ursarctic Drytron
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | When this card is Normal Summoned: You can Special Summon 1 "Heroic Challenger - Double Lance" from your hand or Graveyard in Defense Position. Cannot be used as a Synchro Material. Cannot be used as an Xyz Material for an Xyz Summon, except for the Xyz Summon of a Warrior-Type monster. | --H・C ダブル・ランス
--Heroic Challenger - Double Lance
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_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTar... |
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect: | If a monster(s) you control would be destroyed by battle or card effect, you can Tribute 1 Reptile or Dinosaur monster you control instead. You can only use each of the following effects of "Evoltile Pholis" once per turn. If this card is Normal or Special Summoned: You can Special Summon 1 "Evoltile" monster from your... | --エヴォルド・フォリス
--Evoltile Pholis
--scripted by Naim
local s,id=GetID()
function s.initial_effect(c)
--Special Summon 1 "Evoltile" monster from the hand or 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.