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:
Reveal 1 monster in your hand and send 1 Level 8 Fusion Monster from your Extra Deck to the GY with the same Type that has 2500 ATK or DEF, then you can apply this effect. ● Discard the revealed monster, and if you do, add 1 "Fallen of Albaz", or 1 monster that mentions it, from your Deck to your hand. During the End P...
--烙印の気炎 --Branded in High Spirits --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Send to GY, discard, and search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_HANDES+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTI...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Cannot be Normal Summoned/Set. Must be Special Summoned by a card effect during your Main Phase 1, cannot be Special Summoned by other ways, and cannot be Special Summoned if you have Special Summoned this turn. Twice per turn, this card cannot be destroyed by battle. Each turn, the turn player can only Special Summon ...
--放電ムスタンガン --Zap Mustung local s,id=GetID() function s.initial_effect(c) c:EnableUnsummonable() --splimit 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(s.splimit) c:RegisterEffect...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card's name becomes "Cyber Dragon" while on the field or in the GY. If you Normal or Special Summon "Cyber Dragon", except during the Damage Step: You can Special Summon this card from your hand in Defense Position. You can only use this effect of "Cyber Dragon Vier" once per turn. Each "Cyber Dragon" you control ...
--サイバー・ドラゴン・フィーア --Cyber Dragon Vier --Scripted by ahtelel 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|LOCATION_GRAVE) e1:SetValue(CARD_CYBE...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 Warrior Tuner + 1+ non-Tuner "Six Samurai" monsters Once per turn, when your opponent activates a Spell/Trap Card (Quick Effect): You can negate the activation, and if you do, destroy it. If this card on the field would be destroyed by battle or card effect, you can destroy another "Six Samurai" monster you control i...
--真六武衆-シエン --Legendary Six Samurai - Shi En local s,id=GetID() function s.initial_effect(c) --Synchro summon Synchro.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsRace,RACE_WARRIOR),1,1,Synchro.NonTunerEx(Card.IsSetCard,SET_SIX_SAMURAI),1,99) c:EnableReviveLimit() --Negate activation local e1=Effect.CreateEffect(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Tribute this card; Special Summon 2 "Bujin" monsters of 2 different Types from the Deck in Defense Position, except "Bujin Torifune". When you Xyz Summon a "Bujin" Xyz Monster, while this card is in your GY: You can equip this card to it. Any monster destroyed by battle with that equipped monster is banished. Y...
--武神-トリフネ --Bujin Torifune --Logical Nonsense --Substitute ID local s,id=GetID() function s.initial_effect(c) --Special summon 2 "Bujin" monsters from deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOC...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This Attack Position card cannot be destroyed by battle. If this card is attacked, change it to Defense Position at the end of the Damage Step. During the Standby Phase, if this card is in Defense Position: You can Special Summon 1 "Dinowrestler Capoeiraptor" from your Deck. You can only use this effect of "Dinowrestle...
--ダイナレスラー・カポエラプトル --Dinowrestler Capoeiraptor --scripted by Naim local s,id=GetID() function s.initial_effect(c) --Cannot be destroyed by battle local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATT...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Target 1 face-up Level 4 or lower "Wind-Up" monster you control: Return that target to the hand (no matter its Level), then Special Summon 1 "Wind-Up" monster from the hand with the same Level as the returned monster's.
--発条の巻き戻し --Zenmairch local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:S...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2+ "Gouki" monsters If a monster(s) this card points to is destroyed by battle or card effect: You can make this card gain 400 ATK. The turn player applies the following effect while this monster is on the field. ● During their Main Phase, they can Normal Summon 1 monster from their hand to their zone this card points ...
--剛鬼サンダー・オーガ --Gouki Thunder Ogre local s,id=GetID() function s.initial_effect(c) --link summon Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_GOUKI),2) c:EnableReviveLimit() --extra summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetDescription(aux.Stringid(id,0)) e1:Se...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Once per turn, you can either: Target 1 LIGHT Machine monster you control; equip this card to that target, OR: Unequip this card and Special Summon it. A monster equipped with this card is unaffected by your opponent's monster effects (except its own), also if the equipped monster would be destroyed by battle or card e...
--A-アサルト・コア --A-Assault Core local s,id=GetID() function s.initial_effect(c) aux.AddUnionProcedure(c,s.unfilter) --immune local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_EQUIP) e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetValue(s.efilter) c:RegisterEffect(e1) --to hand local e2=Effect.CreateEffect(c) e2:SetC...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Plant Normal Monster: You can Special Summon this card from your hand. You can banish this card from your GY, then target 1 linked Link-2 or lower "Sunavalon" or "Sunvine" monster you control; Special Summon 1 monster with the same name from your Extra Deck, but negate its effects, also you cannot Spec...
--聖種の影芽 --Sunseed Shadow --Scripted by Eerie Code, anime script by Playmaker 772211 and Larry126 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_IGNITION) e1:SetRange(LOC...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is destroyed by battle with an opponent's monster: You can take control of that opponent's monster, and if you do, it becomes a Zombie monster, also its ATK/DEF become 0. When your Zombie monster is destroyed by battle with an opponent's monster, while this card is in your GY: You can banish this card; t...
--死製棺サルコファガス --Devouring Sarcoughagus --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Take control when self is destroyed by battle local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is removed from play, you can send 1 card from your hand to the Graveyard to draw 1 card.
--サイバー・ウロボロス --Cyber Ouroboros 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+EFFECT_FLAG_DAMAGE_STEP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCo...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If this card is in your GY: You can place 1 card from your hand on the top of the Deck; Special Summon this card in Defense Position. You can only use this effect of "Edge Imp Sabres" once per turn.
--エッジインプ・シザー --Edge Imp Sabres 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_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,id) e1:SetCost(s.cost) e1...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
FLIP: Special Summon 1 "Ivy Token" (Plant-Type/EARTH/Level 1/ATK 0/DEF 0) in Defense Position to your opponent's side of the field. When this Token is destroyed, its controller takes 300 damage.
--アイヴィ・ウォール --Wall of Ivy local s,id=GetID() function s.initial_effect(c) --token local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_FLIP+EFFECT_TYPE_SINGLE) e1:SetTarget(s.target) e1:SetOperation(s.operation) c:Reg...
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 this effect. ● If damage calculation is performed involving this card, at the end of the Battle Phase: You can infl...
--真紅眼の黒炎竜 --Red-Eyes Black Flare Dragon local s,id=GetID() function s.initial_effect(c) Gemini.AddProcedure(c) --Inflict damage equal to ATK local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFF...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 Level 7 "Red-Eyes" monster + 1 Level 6 Dragon monster If this card is Fusion Summoned: You can send 1 "Red-Eyes" monster from your hand or Deck to the GY, and if you do, inflict damage to your opponent equal to half the original ATK of that monster. If this card is sent from the Monster Zone to the GY: You can target...
--流星竜メテオ・ブラック・ドラゴン --Meteor Black Comet Dragon local s,id=GetID() function s.initial_effect(c) --fusion material Fusion.AddProcMix(c,true,true,s.mfilter1,s.mfilter2) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DAMAGE+CATEGORY_DECKDE...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
[ Pendulum Effect ] During your Main Phase: You can Special Summon this card, then you can attach 1 DARK monster from your GY to this card as material. You can only use this effect of "Odd-Eyes Rebellion Xyz Dragon" once per turn. ---------------------------------------- [ Monster Effect ] 2 Level 7 Pendulum Monsters I...
--覇王黒竜オッドアイズ・リベリオン・エクシーズ・ドラゴン --Odd-Eyes Rebellion Xyz Dragon --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() Pendulum.AddProcedure(c,false) --2 Level 7 Pendulum monsters Xyz.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_PENDULUM),7,2) --Special Summon this car...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2 Level 4 monsters You can detach 1 material from this card; send the top 3 cards of your Deck to the GY, then draw cards equal to the number of "Lightsworn" cards sent to the GY by this effect. If this card is destroyed by battle, or if this card in its owner's possession is destroyed by an opponent's card effect: You...
--ライトロード・セイント ミネルバ --Minerva, the Exalted Lightsworn local s,id=GetID() function s.initial_effect(c) --xyz summon Xyz.AddProcedure(c,nil,4,2) c:EnableReviveLimit() --discard deck & draw local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DECKDES+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LO...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card you control is destroyed by battle or card effect and sent to your Graveyard: You can Special Summon 1 "Yang Zing" monster from your Deck in Defense Position, except "Suanni, Fire of the Yang Zing". You can only use this effect of "Suanni, Fire of the Yang Zing" once per turn. Once per turn, during your ...
--炎竜星-シュンゲイ --Suanni, Fire of the Yang Zing 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:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetC...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If a Cyberse monster you control would be used as Link Material for a "Code Talker" monster, this card in your hand can also be used as material. If this card is sent from the hand or field to the GY as material for the Link Summon of a "Code Talker" monster: You can send 1 Cyberse monster with 1200 or less ATK from yo...
--コード・ジェネレーター --Code Generator --Scripted by AlphaKretin, extra material by edo9300 local s,id=GetID() function s.initial_effect(c) --If a Cyberse monster you control would be used as Link Material for a "Code Talker" monster, this card in your hand can also be used as material local e1=Effect.CreateEffect(c) e1:Set...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 "Appliancer" monster Cannot be used as Link Material the turn it is Link Summoned. Can attack directly while it is not co-linked. You can send 1 card from your hand to the GY, then target 1 card your opponent controls; destroy it. If this card is co-linked: You can target 1 monster in your opponent's Main Monster Zon...
--掃除機塊バキューネシア --Appliancer Vacculephant --Anime version scripted by pyrQ, updated by AlphaKretin local s,id=GetID() function s.initial_effect(c) --Link Summon c:EnableReviveLimit() Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_APPLIANCER),1) --Cannot be Link Material local e1=Effect.CreateEffect(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Special Summon this card (from your hand) by sending 1 other monster from your hand to the GY, but this card loses 500 ATK. You can only Special Summon "Todoroki the Earthbolt Star" once per turn this way. During the Battle Phase (Quick Effect): You can pay 500 LP; Fusion Summon 1 Warrior Fusion Monster from yo...
--地雷星トドロキ --Todoroki the Earthbolt Star --scripted by Naim local s,id=GetID() function s.initial_effect(c) --Special summon itself from the hand but decrease ATK by 500 local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Cyberse monster that was Special Summoned from the Extra Deck: You can Special Summon this card from your hand. If this card is Normal or Special Summoned: You can add 1 DARK Cyberse monster from your Deck to your hand, except "Backup @Ignister", then discard 1 card. You can only use each effect of "Ba...
--バックアップ@イグニスター --Backup @Ignister --Scripted by Hatter 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_IGNITION) e1:SetRange(LOCATION_HAND...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Target Synchro Summoned monster gains 500 ATK for each Synchro Material Monster used to Summon it, until the End Phase.
--シンクロ・ストライク --Synchro Strike 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:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_C...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Cannot be Normal Summoned/Set. Must first be Special Summoned (from your hand) by having 5 or more LIGHT monsters with different names in your Graveyard. Once per turn: You can banish 1 LIGHT monster from your Graveyard, then target 1 Set card your opponent controls; reveal that target, then place that target on either...
--ライトレイ ディアボロス --Lightray Diabolos local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(s.spcon) c:R...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When your opponent Special Summons 2 or more face-up monsters at the same time: Send those monsters to the Graveyard, then send all monsters in the opponent's hand and Deck to the Graveyard that have the same name as the monsters sent to the Graveyard by this effect.
--落とし大穴 --Darkfall local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetTarget(s.target) e1:SetOperation(s.activate) c:RegisterEffect(e1) end function...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2 Level 6 monsters While this card has no materials, if it battles a monster, any battle damage it inflicts to your opponent is doubled. You can only use each of the following effects of "Transcendosaurus Drillygnathus" once per turn. You can detach 1 material from this card, then target 1 of your banished Dinosaur mon...
--超越竜ドリルグナトゥス --Transcendosaurus Drillygnathus --scripted by Naim local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Xyz Summon procedure Xyz.AddProcedure(c,nil,6,2) --Double damage when it doesn't have Xyz materials local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(E...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
During each Standby Phase, if you control a "Borrel" Link Monster: You can target 1 "Rokket" monster in your GY; Special Summon it, but destroy it during the End Phase. You can only use this effect of "Borrel Supplier" once per turn.
--ヴァレル・サプライヤー --Borrel Supplier --Scripted by AlphaKretin 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) --Special Summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card becomes an Equip Card, and equips to 1 monster you control. Once per turn, when you inflict damage to your opponent with a card effect, the equipped monster gains 1000 ATK until the End Phase.
--サディスティック・ポーション --Brutal Potion 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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(aux.RemainFieldCost) e1:SetTarget(s.target) ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2+ monsters with the same Type Once per turn, during the Standby Phase: You can target 1 face-up monster this card points to; Special Summon 1 Level 4 or lower monster with the same Type as that monster from your hand to your zone this card points to. At the start of the Battle Phase: You can target 1 card your opponen...
--羅天神将 --Ra'ten, the Heavenly General local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Link Summon procedure: 2+ monsters with the same Type Link.AddProcedure(c,nil,2,99,s.lcheck) --Special Summon 1 Level 4 or lower monster with the same Type as a targeted monster from your hand to your zone ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card can only be placed on the field by the effect of "Destiny Board".
--死のメッセージ「H」 --Spirit Message "L" local s,id=GetID() function s.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SSET) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetCode(EFFECT_SPSUMMON_COST) e2:SetCost(s.spcost...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Once per turn, during your Main Phase 1: You can pay 800 LP; this card can attack your opponent directly this turn.
--機動砦のギア・ゴーレム --Gear Golem the Moving Fortress local s,id=GetID() function s.initial_effect(c) --direct attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCondition(s.condition) e1:SetCost(Cost.PayLP(800)) e1:SetOperati...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2+ Link Monsters If this card is Link Summoned: Draw cards equal to the number of "World Chalice" monsters this card points to. You can only use this effect of "Ningirsu the World Chalice Warrior" once per turn. Once per turn: You can send 1 card from each player's field to the GYs. If this card is sent from the field ...
--星杯戦士ニンギルス --Ningirsu the World Chalice Warrior local s,id=GetID() function s.initial_effect(c) --link summon c:EnableReviveLimit() Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_LINK),2) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DRAW) e...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Ritual Summon this card with "Black Magic Ritual".
--マジシャン・オブ・ブラックカオス --Magician of Black Chaos local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() end s.listed_names={76792184}
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Tribute 1 other face-up "Gravekeeper's" monster to target 1 card your opponent controls; destroy that target.
--墓守の末裔 --Gravekeeper's Descendant local s,id=GetID() function s.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(s.co...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Cannot be Normal Summoned/Set. Must be Special Summoned by its own effect. During your opponent's turn (Quick Effect): You can send 1 face-up "Meklord" monster you control to the GY; Special Summon this card from your hand. You can only use this effect of "Meklord Emperor Wisel - Synchro Absorption" once per turn. If t...
--機皇帝ワイゼル∞-S・アブソープション --Meklord Emperor Wisel - Synchro Absorption --Scripted by AlphaKretin local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Must be special summoned by its own method local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EF...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Level 3 monster other than "Psychic Tracker", you can Special Summon this card (from your hand) in Defense Position. You can only Special Summon "Psychic Tracker" once per turn this way. A Synchro Monster that used this card as material gains 600 ATK.
--サイコトラッカー --Psychic Tracker --Scripted by Eerie Code local s,id=GetID() function s.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SPSUM_PARAM) e1:SetRange(LOCATION_HAND) e1:SetTar...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card must attack if able. When this face-up Attack Position card is selected as an attack target, change it to Defense Position. When this card is Normal Summoned, add 1 "Karakuri" card from your Deck to your hand.
--カラクリ商人 壱七七 --Karakuri Merchant mdl 177 "Inashichi" local s,id=GetID() function s.initial_effect(c) --must attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MUST_ATTACK) c:RegisterEffect(e1) --to defense local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(id,0))...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is activated: You can Special Summon 1 "Helios - The Primordial Sun" from your hand or Deck. While this card is face-up on the field, any card sent to the GY is banished instead.
--マクロコスモス --Macro Cosmos local s,id=GetID() function s.initial_effect(c) --When this card is activated: You can Special Summon 1 "Helios - The Primordial Sun" from your hand or Deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This monster can only be Ritual Summoned with the Ritual Spell Card, "Hamburger Recipe". You must also offer monsters whose total Level Stars equal 6 or more as a Tribute from the field or your hand.
--ハングリーバーガー --Hungry Burger local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() end s.listed_names={80811661}
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 revealing 3 other "Cubic" cards in your hand with different names, and cannot be Special Summoned by other ways. Unaffected by other monsters' activated effects, whose original ATK is 3000 or less. When this attacking card destroys a monster by...
--暗黒方界神クリムゾン・ノヴァ --Crimson Nova the Dark Cubic Lord local s,id=GetID() function s.initial_effect(c) --Must be properly summoned before reviving c:EnableReviveLimit() --Must be special Summon by its own method local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetT...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card cannot be destroyed by battle with a Level 4 or higher monster.
--氷弾使いレイス --Reese the Ice Mistress local s,id=GetID() function s.initial_effect(c) --indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetValue(s.indes) c:RegisterEffect(e1) end function s.indes(e,c) return c:IsLevelAbove(4) end
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Target up to 3 cards in any GY(s); banish them, then discard 1 Fiend monster. During your Main Phase, except the turn this card was sent to the GY: You can banish this card from your GY, then target 1 of your banished Fiend monsters; add it to your hand. You can only activate 1 "Dark World Puppetry" per turn.
--暗黒界の傀儡 --Dark World Puppetry --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Banish up to 3 cards local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_HANDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2+ "Gouki" monsters Once per turn (Quick Effect): You can return to the hand any number of "Gouki" monsters you control that this card points to, then target the same number of face-up cards your opponent controls; they have their effects negated until the end of this turn. This card can attack all monsters your oppone...
--剛鬼ザ・マスター・オーガ --Gouki The Master Ogre -- local s,id=GetID() function s.initial_effect(c) --link summon Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_GOUKI),2) c:EnableReviveLimit() --disable local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DISABLE) ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can activate 1 of these effects; ● Banish up to 1 LIGHT and up to 1 DARK monster from your hand and/or GY; increase or decrease this card's Level by the exact number banished, until the end of this turn. ● Target up to 2 of your banished monsters (1 LIGHT and/or 1 DARK); return them to the GY, and if you do, increa...
--メンタル・チューナー --Mental Tuner --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Change this card's level local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,id) e1:SetTarget(s.lvtg) e1:SetOperati...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Once per turn, you can remove from play 1 Reptile-Type "Worm" monster in your Graveyard to allow this card to attack twice during the same Battle Phase.
--ワーム・テンタクルス --Worm Tentacles local s,id=GetID() function s.initial_effect(c) --multi atk local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(s.mtcon) e1:SetCost(s.mtcost) e1:SetTarget(s.mttg) e1...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If this card is Normal Summoned: During your Main Phase this turn, you can Normal Summon 1 "Laval" monster, in addition to your Normal Summon/Set (you can only gain this effect once per turn). If this card is in your GY: You can target 1 FIRE monster you control; destroy it, and if you do, Special Summon this card in D...
--ラヴァル・アーチャー --Laval Archer --Logical Nonsense --Substitute ID local s,id=GetID() function s.initial_effect(c) --Gain an extra normal summon for "Laval" monsters local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCES...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Your opponent takes no battle damage from attacks involving this card. Once per turn: You can target 1 Effect Monster in your GY; banish that target, and if you do, until the End Phase, this card's name and original ATK become that monster's name and original ATK, and replace this effect with that monster's original ef...
--ファントム・オブ・カオス --Phantom of Chaos local s,id=GetID() function s.initial_effect(c) --Banish a monster and this card's name/original ATK become that monster's, and replace this effect with that monster's original effects local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_REM...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This monster gets the following effect(s) while there is a monster(s) with the following Attribute(s) on the field: ● FIRE: This card gains 500 ATK. ● WIND: If this card destroyed your opponent's monster by battle, it can attack once again in a row.
--エレメント・ドラゴン --Element Dragon local s,id=GetID() function s.initial_effect(c) --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(500) e1:SetCondition(s.atkcon) c:RegisterEffect(e1...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Tribute this card; Special Summon 2 "Dark Beast Tokens" (Fiend/DARK/Level 2/ATK 1000/DEF 500). If this card is banished from the hand or GY: You can Special Summon 2 "Light Beast Tokens" (Fairy/Tuner/LIGHT/Level 2/ATK 500/DEF 1000). You can only use 1 "Chaos Witch" effect per turn, and only once that turn, also...
--カオス・ウィッチ-混沌の魔女 --Chaos Witch --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Special Summon 2 "Black Beast Tokens" local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCA...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
FLIP: You can target 1 monster on the field; destroy it. If this card is sent to the GY by a card effect: You can send 1 "Shaddoll" card from your Deck to the GY, except "Shaddoll Squamata". You can only use 1 "Shaddoll Squamata" effect per turn, and only once that turn.
--シャドール・リザード --Shaddoll Squamata local s,id=GetID() function s.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DE...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Ritual Summon this card with any "Gishki" Ritual Spell Card. Once per turn: You can declare 1 Monster Type and Attribute; look at 1 random card in your opponent's hand, and if it is a monster of the declared Type and Attribute, shuffle it into the Deck. Otherwise, return it to the hand.
--イビリチュア・プシュケローネ --Gishki Psychelone local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Look at 1 random card and shuffle it into the Deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATI...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
During your Main Phase 1, FIRE Dragon monsters you control are unaffected by your opponent's activated effects. During your Main Phase: You can add 1 "Tenpai Dragon" monster from your Deck to your hand, then discard 1 card. You can only use this effect of "Sangen Summoning" once per turn. If this card is destroyed duri...
--盃満ちる燦幻荘 --Sangen Summoning --scripted by Naim 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) --FIRE Dragon monsters you control are unaffected by your opponent's activated effects durin...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Activate 1 of these effects. ● Target 1 "Bujin" monster in your GY; add that target to your hand. ● Target 1 of your banished "Bujin" monsters; return that target to the GY. * The above text is unofficial and describes the card's functionality in the OCG.
--剣現する武神 --Bujin Regalia - The Sword 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) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) 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:
Target 1 monster in either GY; destroy 1 WATER monster on the target's owner's field, and if you do, Special Summon that target to that field in Defense Position. If this card is in your GY, except the turn it was sent there: You can banish this card, then target 1 WATER monster in either GY; destroy 1 monster on the t...
--万物の始源-「水」 --Hydor, the Base of All Things --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Special Summon 1 monster from either GY local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a "Utopia" monster: Destroy the 1 face-up monster your opponent controls that has the lowest ATK (your choice, if tied), and if you do, inflict damage to your opponent equal to the destroyed monster's ATK on the field.
--ホープ・バスター --Utopia Buster local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(s.condition) e1:SetTarget(s.target) e1:SetOperation(s.activate) c:...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 Level 4 or lower Cyberse monster If this card is sent to the GY as material for a Cyberse Link Monster with 2300 or more original ATK: You can Special Summon this card, but banish it when it leaves the field. You can only use this effect of "Link Decoder" once per turn.
--リンク・デコーダー --Link Decoder --Scripted by Larry126 local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Link Summon procedure Link.AddProcedure(c,s.matfilter,1,1) --Special Summon itself local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card can attack directly. You can only use each of the following effects of "T.G. Drill Fish" once per turn. ● If all monsters you control are "T.G." monsters (min. 1): You can Special Summon this card from your hand. ● When a "T.G." monster you control inflicts battle damage to your opponent: You can target 1 mon...
--TG ドリル・フィッシュ --T.G. Drill Fish local s,id=GetID() function s.initial_effect(c) --Direct attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DIRECT_ATTACK) c:RegisterEffect(e1) --Special summon itself from the hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.String...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2 Level 7 Dragon monsters If this card is Xyz Summoned: You can target 1 Level 4 or lower "Dragon Ruler" monster in your GY or banishment; Special Summon 1 Level/Rank 7 "Dragon Ruler" monster that is mentioned on that targeted monster from your Deck or banishment, then shuffle the targeted monster into the Deck. When y...
--凶征竜-エクレプシス --Eclipse, Dragon Ruler of Catastrophes --scripted by Naim local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Xyz Summon procedure: 2 Level 7 Dragon monsters Xyz.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsRace,RACE_DRAGON),7,2) --Special Summon 1 Level/Rank 7 "Dragon Ruler" mon...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Once per turn, during the End Phase, if your Level 2 or lower Normal Monster(s) was destroyed by battle this turn: Special Summon Level 2 or lower Normal Monsters from your Deck, equal to the number of your Level 2 or lower Normal Monsters destroyed by battle this turn.
--人海戦術 --Human-Wave Tactics 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(TIMING_END_PHASE) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Str...
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 "Tistina" monster from your Deck to your hand, except "Miasma Dragon Tistina", also for the rest of this turn, LIGHT "Tistina" monsters you control gain 1000 ATK. If this card is sent to the GY, and a card is in the Field Zone: You can Special Summon this card, ...
--結瘴龍ティスティナ --Miasma Dragon Tistina --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Add 1 "Tistina" monster from your Deck to your hand, except "Miasma Dragon Tistina" local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:Set...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Level 2 or lower "Flower Cardian" monster: You can Special Summon this card from your hand, also you cannot Normal or Special Summon monsters for the rest of this turn, except "Flower Cardian" monsters. Once per turn: You can Tribute 1 "Flower Cardian" monster; draw 1 card, and if you do, show it, then...
--花札衛-桜- --Flower Cardian Cherry Blossom --Scripted by AlphaKretin 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_IGNITION) e1:SetRange(LO...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
This card is used to Ritual Summon "Prediction Princess Tarotrei". You must also Tribute monsters from your hand or field whose total Levels equal 9 or more. During your Main Phase, except the turn this card was sent to the GY: You can banish this card from your GY; add 1 "Prediction Princess" monster from your Deck to...
--聖占術の儀式 --Prediction Ritual local s,id=GetID() function s.initial_effect(c) Ritual.AddProcGreaterCode(c,9,nil,94997874) --to hand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCondition(aux.exccon) e1:SetCost(C...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If a monster Special Summoned from the Extra Deck is on the field: You can Special Summon this card from your hand. If this card is Special Summoned from the hand: You can make each player send 1 monster from their Extra Deck to the GY. If this card is sent to the GY: You can target 1 "Dogmatika" card in your GY, excep...
--教導の死徒 --Dogmatika Chaplain --scripted by Naim 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_IGNITION) e1:SetRange(LOCATION_HAND) e1:Se...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Once per turn, if a monster(s) you control is destroyed by battle or card effect: You can Special Summon 1 "Yang Zing" monster from your Deck. You cannot Special Summon monsters from the Extra Deck, except Synchro Monsters.
--竜星の具象化 --Yang Zing Creation local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,1)) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Synchro Summon local e2=Effect.CreateEffect(c) e2:SetDescription(au...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is Normal Summoned, you can add 1 Level 3 "Genex" Effect Monster from your Deck to your hand.
--ジェネクス・パワー・プランナー --Genex Power Planner 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_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If this card is Summoned: You can target 1 monster your opponent controls; destroy it. After damage calculation, if this card battled: You can target 1 Continuous Spell in your GY; add it to your hand. You can only use each effect of "Valkyrie Zweite" once per turn.
--ワルキューレ・ツヴァイト --Valkyrie Zweite --scripted by AlphaKretin local s,id=GetID() function s.initial_effect(c) --Destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP) e1:SetType(E...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control the same number of monsters as your opponent, switch control of all those monsters.
--スウィッチヒーロー --Switcheroroo local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER_E) e1:SetTarget(s.target) e1:SetOperation(s.activate) c:R...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Choose 1 of these effects; apply that effect, but skip your next Battle Phase. ● Target 1 Effect Monster your opponent controls; negate its effects (until the end of this turn), then banish the top 3 cards of your opponent's Deck. ● Special Summon 1 "Runick" monster from your Extra Deck to the Extra Monster Zone. You c...
--凍てつく呪いの神碑 --Runick Freezing Curses --Scripted by Hatter local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateMysteruneQPEffect(c,id,CATEGORY_DISABLE,s.negtg,s.negop,3,EFFECT_FLAG_CARD_TARGET) c:RegisterEffect(e1) end s.listed_series={SET_RUNICK} function s.negfilter(c) return c:IsType(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
[ Pendulum Effect ] Each time you take effect damage while you control a Fairy Monster Card in your other Pendulum Zone, place 1 Resonance Counter on this card. Monsters your opponent controls lose 100 ATK for each Resonance Counter on your field. ---------------------------------------- [ Monster Effect ] If this card...
--悪魔の聲 --Dimonno Vaalmonica --Scripted by Eerie Code local s,id=GetID() function s.initial_effect(c) --Pendulum procedure Pendulum.AddProcedure(c) --Can place Resonance Counters on it c:EnableCounterPermit(COUNTER_RESONANCE,LOCATION_PZONE) --Place 1 Resonance Counter on this card each time you take effect damage ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Reveal 1 Level 5 or higher "Ancient Gear" monster from your hand, then banish a number of "Ancient Gear" monsters from your Graveyard, whose combined Levels are double the revealed monster's, and if you do, if you Normal Summon the revealed monster this turn, you must Normal Summon it without Tributing.
--古代の機械工場 --Ancient Gear Factory 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:SetOperation(s.operation) c:RegisterEffect(e1) end s.listed_series={SET_ANCIENT_GEAR} function s.filt...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2 Level 2 monsters You can detach 1 material from this card; add 1 "Melffy" card from your Deck to your hand. If another face-up "Melffy" monster you control returns to your hand (except during the Damage Step): You can target 1 face-up monster your opponent controls; it cannot attack, also negate its effects. You can ...
--森のメルフィーズ --Melffy of the Forest --Scripted by ahtelel local s,id=GetID() function s.initial_effect(c) --Must be properly summoned before reviving c:EnableReviveLimit() --Xyz summon procedure Xyz.AddProcedure(c,nil,2,2) --Add 1 "Melffy" card from deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.String...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Target 1 "Gravekeeper's" monster in your GY; Special Summon that target. This card's activation and effect are unaffected by "Necrovalley".
--降霊の儀式 --Rite of Spirit 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.ta...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can substitute this card for any 1 Fusion-Material Monster. When you do this, the other Fusion-Material Monster(s) must be the correct one(s).
--イリュージョン・シープ --Mystical Sheep #1 local s,id=GetID() function s.initial_effect(c) --fusion substitute local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_FUSION_SUBSTITUTE) e1:SetCondition(s.subcon) c:RegisterEffect(e1) end function s.subcon(e) return e:GetHandler():IsLocation(LOCATI...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Place 1 "Obsidim, the Ashened City" from your Deck, face-up in either Field Zone, then if your opponent controls a card in their Field Zone, you can add 1 Level 5 or higher DARK Pyro monster from your Deck to your hand. For the rest of this turn after this card resolves, you cannot Special Summon from the Deck or Extra...
--ヴェイドスの目覚め --Awakening of Veidos --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_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,id...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Neither player can banish cards.
--王宮の鉄壁 --Imperial Iron Wall 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,TIMINGS_CHECK_MONSTER_E) c:RegisterEffect(e1) --cannot remove local e2=Effect.CreateEffect(c) e2:SetType(EFFEC...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Activate 1 of these effects: ● Draw 1 card. ● Activate only if your opponent controls a face-up Spirit monster. Draw 2 cards.
--八汰烏の骸 --Legacy of Yata-Garasu local s,id=GetID() function s.initial_effect(c) --Draw 1 card or 2 if the opponent controls a Spirit monster local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:Set...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If a Fish, Sea Serpent, or Aqua-Type monster you control attacks a Defense Position monster, inflict piercing battle damage to your opponent.
--ウミノタウルス --Uminotaurus local s,id=GetID() function s.initial_effect(c) --pierce local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_PIERCE) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTarget(s.target) c:RegisterEffect(e1) end function s.target(e,c) return ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When a monster's attack is negated that targeted a face-up Attack Position monster: Inflict damage to your opponent equal to the difference in ATK between the 2 monsters.
--反発力 --Counterforce local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_DAMAGE) e1:SetCode(EVENT_ATTACK_DISABLED) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCondition(s.condition) e1:SetTarget(s.target) e1:Set...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When you Ritual Summon a monster, you can banish this card from your GY as 1 of the monsters required for the Ritual Summon. The monster Ritual Summoned using this card is unaffected by Trap effects.
--儀式魔人ディザーズ --Djinn Disserere of Rituals local s,id=GetID() function s.initial_effect(c) --Can be used for a Ritual Summon while it is in the GY local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_EXTRA_RITUAL_MATERIAL) e1:SetRange(LOCATION_GRA...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is Special Summoned from the Graveyard by the effect of a Zombie-Type monster: You can target 1 face-up Zombie-Type monster you control; detach 1 Xyz Material from a monster on the field, and if you do, increase the targeted monster's Level by 1 and its ATK by 300 (even if the targeting conditions are no...
--紅血鬼 --Red-Headed Oni local s,id=GetID() function s.initial_effect(c) --Detach 1 Xyz Material from a monster on the field, increase the level of a monster monster's Level by 1 and its ATK by 300 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_LVCHANG...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If a "Raidraptor" monster you control is destroyed by battle: Target 1 "Raidraptor" monster in your Graveyard; add it to your hand. If a face-up "Raidraptor" monster(s) you control is destroyed by card effect: You can banish this card from your Graveyard; add 1 "Raidraptor" card from your Deck to your hand. You can onl...
--RR-リターン --Raidraptor - Return local s,id=GetID() function s.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCondition(s.condition) e1...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Equip only to a "Lightsworn" monster. It gains 700 ATK. When this card is sent from your Deck to the Graveyard: You can target 1 "Lightsworn" monster you control; equip this card to that target.
--ライトロード・レイピア --Lightsworn Sabre local s,id=GetID() function s.initial_effect(c) aux.AddEquipProcedure(c,nil,aux.FilterBoolFunction(Card.IsSetCard,SET_LIGHTSWORN)) --Atk up local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_EQUIP) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetValue(700) c:RegisterEffect(e2) --equi...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Inflict 500 damage to your opponent each time a monster(s) is Special Summoned from either player's Deck.
--スパルタクァの呪術師 --Witch Doctor of Sparta local s,id=GetID() function s.initial_effect(c) --recover 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_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_P...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Pay 800 LP; excavate the top 4 cards of your Deck and Special Summon all excavated Level 3 or lower Normal Monsters, also, shuffle the rest back into your Deck. * The above text is unofficial and describes the card's functionality in the OCG.
--魔の試着部屋 --Enchanting Fitting Room local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(Cost.PayLP(800)) e1:SetTarget(s.target) e1:SetOperation(s.activate) c:Re...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
[ Pendulum Effect ] During your Main Phase, if this card was activated this turn: You can target 1 other face-up card in the Spell & Trap Zone; destroy it. You can only use this effect of "Predaplant Spider Orchid" once per turn. ---------------------------------------- [ Monster Effect ] During the End Phase, if this ...
--捕食植物スパイダー・オーキッド --Predaplant Spider Orchid --Scripted by Eerie Code local s,id=GetID() function s.initial_effect(c) --Pendulum attributes Pendulum.AddProcedure(c,false) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(1160) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If this card is in your hand: You can destroy 2 other monsters in your hand and/or face-up field, including an EARTH monster, and if you do, Special Summon this card, and if you do that, and both destroyed monsters were EARTH, you can also look at your opponent's Extra Deck and banish up to 3 monsters from it with diff...
--真竜皇リトスアジムD --True King Lithosagym, the Disaster local CARD_TRUE_KING_CALAMITIES=88581108 local s,id=GetID() function s.initial_effect(c) --Special summon itself from hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFE...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When a Fusion Monster(s) on the field is destroyed by battle or card effect and sent to the Graveyard: You can target 1 of the Fusion Materials in your Graveyard that was used for its Fusion Summon; Special Summon it.
--ブランチ --Branch! 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 local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(id,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Equip only to a Cyberse monster you control. It gains 300 ATK, it is unaffected by your opponent's card effects, also the first time it would be destroyed by battle each turn, it is not destroyed. If this face-up card on the field is destroyed and sent to the GY: You can activate this effect; Cyberse monsters you curre...
--グリッド・ロッド --Grid Rod --scripted by Larry126 and AlphaKretin local s,id=GetID() function s.initial_effect(c) --equip aux.AddEquipProcedure(c,0,aux.FilterBoolFunction(Card.IsRace,RACE_CYBERSE)) --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_EQUIP) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(300)...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Activate only if you have no cards in your hand. Select 1 "Infernity" monster in your Graveyard. Special Summon it, and destroy all face-up monsters on the field with ATK lower than the Special Summoned monster's ATK. You cannot conduct your Battle Phase during the same turn you activate this card.
--ZERO-MAX --ZERO-MAX local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(s.condition) e1:SetCost(...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
When this card is Normal or Special Summoned: You can send 1 "Noble Arms" Equip Spell Card from your Deck to the Graveyard. During either player's turn: You can target 1 "Noble Arms" Equip Spell Card and 1 appropriate monster on the field; equip that Equip Spell Card to that appropriate monster. This effect can only be...
--聖騎士ベディヴィエール --Noble Knight Bedwyr 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:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FL...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Other cards you control cannot be destroyed by your opponent's card effects. You can only use each of the following effects of "Blue-Eyes Jet Dragon" once per turn, and can only activate them while "Blue-Eyes White Dragon" is on your field or in your GY. If a card(s) on the field is destroyed by battle or card effect: ...
--ブルーアイズ・ジェット・ドラゴン --Blue-Eyes Jet Dragon --Scripted by Larry126 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_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 Level 4 or lower LIGHT Beast monster If this card is Special Summoned: You can place 1 "Yummy" Field Spell from your hand or Deck, face-up on your field, also you cannot Link Summon Link-3 or higher Link Monsters for the rest of this turn. You can only use this effect of "Yummy★Snatchy" once per turn. Once per Chain,...
--ヤミー★スナッチー --Yummy★Snatchy --scripted by Naim local s,id=GetID() function s.initial_effect(c) c:EnableReviveLimit() --Link Summon procedure: 1 Level 4 or lower LIGHT Beast monster Link.AddProcedure(c,s.matfilter,1,1) --Place 1 "Yummy" Field Spell from your hand or Deck face-up on your field local e1=Effect.Create...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Fusion Monster that must be Special Summoned with "Dark Fusion", you can Special Summon this card (from your hand). You can only Special Summon "Evil HERO Dead-End Prison" once per turn this way. You can send 1 "HERO" monster from your Deck to the GY; if you Fusion Summon a "HERO" monster this turn, th...
--E-HERO デス・プリズン --Evil HERO Dead-End Prison --scripted by Naim 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:SetType(EFFECT_TYPE_FIELD) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_S...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If exactly 1 monster you control (and no other cards) is destroyed by a card effect: Target that monster; Special Summon that target.
--リボーン・パズル --Puzzle Reborn local s,id=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_DESTROYED) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetTarget(s.target) e1:SetOperat...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can send 1 face-up Spell/Trap you control to the GY, then target 1 Level 4 or lower Insect monster in your GY; Special Summon that Insect monster in Defense Position. You can only use this effect of "Beetron" once per turn.
--カブトロン --Beetron 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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1,id) e1:SetRange(LOCATION_MZ...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
If you control a Rank 6 or higher Xyz Monster: Destroy all Set cards your opponent controls.
--エクシーズ・バースト --Xyz Burst 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:SetCondition(s.condition) e1:SetTarget(s.target) e1:SetOperation(s.activate) c:RegisterEffect(e1)...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
You can Special Summon this card (from your hand) by discarding 1 card. If this card is Normal or Special Summoned: You can add 1 "Dark Magician" from your Deck to your hand. During damage calculation, if your other DARK Spellcaster monster battles an opponent's monster (Quick Effect): You can send this card from your ...
--幻想の見習い魔導師 --Apprentice Illusion Magician local s,id=GetID() function s.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(s.spcon) e1:SetTarget(s.spt...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
1 "Nordic Beast" Tuner + 2+ non-Tuner monsters Once per turn: You can negate the effects of all face-up monsters your opponent currently controls, until the end of this turn. Once per turn, during the End Phase, if this face-up card you controlled was destroyed by your opponent's card and sent to your GY this turn: You...
--極神皇トール --Thor, Lord of the Aesir local s,id=GetID() function s.initial_effect(c) --synchro summon Synchro.AddProcedure(c,s.tfilter,1,1,Synchro.NonTuner(nil),2,99) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetType(EF...
Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
Only 1 monster can attack during each Battle Phase.
--暗黒の扉 --The Dark Door 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) --cannot attack local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_IGNORE_IM...