Commit cc9309d4 authored by 花桃白音's avatar 花桃白音

fix 110s/111s/172s/230/502s;del useless cdb data;del 9bits cartds info;

parent 3b0d1477
No preview for this file type
expansions/pics/50223100.jpg

151 KB | W: | H:

expansions/pics/50223100.jpg

40.2 KB | W: | H:

expansions/pics/50223100.jpg
expansions/pics/50223100.jpg
expansions/pics/50223100.jpg
expansions/pics/50223100.jpg
  • 2-up
  • Swipe
  • Onion skin
--砂冢明音·樱雨
local m=1102002
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
c:EnableReviveLimit()
......
--砂冢明音·境界
local m=1102013
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--砂冢明音·落魄
local m=1102015
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--砂冢明音·归途
local m=1102016
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
--code
aux.EnableChangeCode(c,1102000,LOCATION_MZONE+LOCATION_GRAVE)
aux.EnableChangeCode(c,1102000,LOCATION_MZONE+LOCATION_GRAVE)
--summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
--砂冢明音·银杏
local m=1102019
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
function cm.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,3,2)
......
--砂冢明音·抉择
local m=1102020
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--
local m=1102021
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
function cm.initial_effect(c)
aux.AddMaterialCodeList(c,1102000)
aux.AddCodeList(c,1102000)
......
--蝶舞·溯源
local m=1102083
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--蝶舞·海音
local m=1102084
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--秘谈·幻色的双舞
local m=1102085
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Legend=true
function cm.initial_effect(c)
--
......
--灵都·回忆海岸
local m=1102087
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
--Activate
......
---知己知彼-
local m=1102088
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
--damage
......
--灵都·彼方行舟
local m=1102089
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
function cm.initial_effect(c)
aux.AddCodeList(c,1102000)
......
--灵都·粉梦初心
local m=1110001
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110001.initial_effect(c)
......
--灵都·稠蜜幻景
local m=1110002
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110002.initial_effect(c)
......
--纯白心灵·莉珂莉莉
local m=1110003
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110003.initial_effect(c)
--
......
--夜月魂魄·安珀安安
local m=1110004
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110004.initial_effect(c)
--
......
--命运·时计
local m=1110005
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110005.initial_effect(c)
--
......
--伊始·梦蝶
local m=1110006
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110006.initial_effect(c)
--
......
--蜇居·风雪旖旎
local m=1110010
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110010.initial_effect(c)
--
......@@ -77,24 +77,24 @@ function c1110010.op2(e,tp,eg,ep,ev,re,r,rp,chk)
end
--
function c1110010.op3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e3_1=Effect.CreateEffect(c)
e3_1:SetCategory(CATEGORY_TOHAND)
e3_1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e3_1:SetDescription(1104)
e3_1:SetCode(EVENT_PHASE+PHASE_END)
e3_1:SetRange(LOCATION_MZONE)
e3_1:SetCountLimit(1)
e3_1:SetReset(RESET_EVENT+0xd6e0000+RESET_PHASE+PHASE_END)
e3_1:SetCondition(aux.SpiritReturnConditionForced)
e3_1:SetTarget(aux.SpiritReturnTargetForced)
e3_1:SetOperation(c1110010.op3_1)
c:RegisterEffect(e3_1)
local e3_2=e3_1:Clone()
e3_2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3_2:SetCondition(aux.SpiritReturnConditionOptional)
e3_2:SetTarget(aux.SpiritReturnTargetOptional)
c:RegisterEffect(e3_2)
local c=e:GetHandler()
local e3_1=Effect.CreateEffect(c)
e3_1:SetCategory(CATEGORY_TOHAND)
e3_1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e3_1:SetDescription(1104)
e3_1:SetCode(EVENT_PHASE+PHASE_END)
e3_1:SetRange(LOCATION_MZONE)
e3_1:SetCountLimit(1)
e3_1:SetReset(RESET_EVENT+0xd6e0000+RESET_PHASE+PHASE_END)
e3_1:SetCondition(aux.SpiritReturnConditionForced)
e3_1:SetTarget(aux.SpiritReturnTargetForced)
e3_1:SetOperation(c1110010.op3_1)
c:RegisterEffect(e3_1)
local e3_2=e3_1:Clone()
e3_2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3_2:SetCondition(aux.SpiritReturnConditionOptional)
e3_2:SetTarget(aux.SpiritReturnTargetOptional)
c:RegisterEffect(e3_2)
end
function c1110010.op3_1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
--灵都·静寂彼岸
local m=1110111
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110111.initial_effect(c)
......
--灵都·葬魂幽蝶
local m=1110112
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110112.initial_effect(c)
......
--命运之书
local m=1110114
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110114.initial_effect(c)
......
--灵都·铭心之忆
local m=1110121
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110121.initial_effect(c)
......
--灵都·佑梦帷幕
local m=1110122
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110122.initial_effect(c)
......
--冥河絮语
local m=1110123
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110123.initial_effect(c)
--
......
--灵都·双生并蒂
local m=1110131
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110131.initial_effect(c)
......
---眠蝶之梦-
local m=1111002
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1110132.initial_effect(c)
--
......
--灵都·永恒摇曳的四叶
local m=1110141
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110141.initial_effect(c)
......
--灵都·亘古不变的微光
local m=1110142
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110142.initial_effect(c)
......
--灵都·涅槃朝霭的传说
local m=1110151
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110151.initial_effect(c)
......
--灵都·安宁时序的轮转
local m=1110152
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110152.initial_effect(c)
......
--并蒂的灵魂遐想
local m=1110161
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1110161.initial_effect(c)
......
--三叶草 or 四叶草
local m=1111001
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111001.initial_effect(c)
......
--蝶舞·莲梦
local m=1111002
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111002.initial_effect(c)
......
--蝶舞·祝祈
local m=1111003
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111003.initial_effect(c)
......
--蝶舞·梦落
local m=1111004
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111004.initial_effect(c)
......
--蝶舞·返魂
local m=1111005
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111005.initial_effect(c)
......
--秘谈·彷徨的旅程
local m=1111009
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Legend=true
--
function c1111009.initial_effect(c)
......
--秘谈·生命的旅路
local m=1111018
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Legend=true
--
function c1111018.initial_effect(c)
......
--蝶舞·恋心
local m=1111025
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111025.initial_effect(c)
......
---静候春至-
local m=1111031
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1111031.initial_effect(c)
--
......
---花开幻想-
local m=1111041
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1111041.initial_effect(c)
--
......
--景愿『遗暗铭光』
local m=1111050
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Scenersh=true
--
function c1111050.initial_effect(c)
......
--景愿『刹那芳华』
local m=1111056
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Scenersh=true
--
function c1111056.initial_effect(c)
......
--景愿『指尖花火』
local m=1111057
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Scenersh=true
--
function c1111057.initial_effect(c)
......
--景愿『遗暗铭光』
local m=1111090
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Scenersh=true
--
function c1111090.initial_effect(c)
......
--灵都·流莹水榭
local m=1111201
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1111201.initial_effect(c)
......
--灵都·奈河奈何
local m=1111202
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1111202.initial_effect(c)
......
--灵都·雾雨綿都
local m=1111203
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1111203.initial_effect(c)
......
--灵曲·彼岸盛开之花
local m=1111221
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Soul=true
--
function c1111221.initial_effect(c)
......
--灵曲·拂晓繁华之风
local m=1111222
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Soul=true
--
function c1111222.initial_effect(c)
......
--灵曲·年华静谧之月
local m=1111223
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Soul=true
--
function c1111223.initial_effect(c)
......
--灵曲·凌霜空幽之雪
local m=1111224
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Soul=true
--
function c1111224.initial_effect(c)
......
--蝶舞·邂逅终路的迷榖
local m=1111301
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Butterfly=true
--
function c1111301.initial_effect(c)
......
--灵纹·强制缔结
local m=1111401
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Lines=true
--
function c1111401.initial_effect(c)
......
--灵纹·星辉下的起舞
local m=1111402
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Lines=true
--
function c1111402.initial_effect(c)
......
--灵纹·星屑辉芒
local m=1111403
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Lines=true
--
function c1111403.initial_effect(c)
......
--命定的避世灵都
local m=1111501
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Urban=true
--
function c1111501.initial_effect(c)
......@@ -50,8 +50,8 @@ function c1111501.op2(e,tp,eg,ep,ev,re,r,rp)
end
--
function c1111501.cost3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function c1111501.tfilter3(c,e,tp)
return c:IsCode(1110003) and c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
--幻想天地
local m=1111502
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
--
function c1111502.initial_effect(c)
--
......@@ -35,7 +35,7 @@ function c1111502.initial_effect(c)
end
--
function c1111502.con1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)<1
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)<1
end
function c1111502.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToDeckAsCost,tp,LOCATION_HAND,0,1,nil) end
......
--交界·星梦冢
local m=1111511
local cm=_G["c"..m]
xpcall(function() require("expansions/script/c1110198") end,function() require("script/c1110198") end)
Duel.LoadScript("c1110198.lua")
cm.named_with_Border=true
--
function c1111511.initial_effect(c)
......
--风之数码兽LV9 力神比多兽
function c50218136.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(c50218136.scon)
e2:SetOperation(c50218136.sop)
c:RegisterEffect(e2)
--token
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_HAND)
e3:SetCountLimit(1,50218136)
e3:SetCost(c50218136.spcost)
e3:SetTarget(c50218136.sptg)
e3:SetOperation(c50218136.spop)
c:RegisterEffect(e3)
--aclimit
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetCode(EFFECT_CANNOT_ACTIVATE)
e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(0,1)
e4:SetValue(c50218136.aclimit)
c:RegisterEffect(e4)
--handes
local e5=Effect.CreateEffect(c)
e5:SetCategory(CATEGORY_REMOVE)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e5:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET)
e5:SetCode(EVENT_TO_HAND)
e5:SetRange(LOCATION_MZONE)
e5:SetCountLimit(1,50218036)
e5:SetCondition(c50218136.hdcon)
e5:SetTarget(c50218136.hdtg)
e5:SetOperation(c50218136.hdop)
c:RegisterEffect(e5)
end
c50218136.lvup={50218118}
c50218136.lvdn={50218116,50218117,50218118}
function c50218136.spfilter(c,ft,tp)
return c:IsCode(50218118)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup())
end
function c50218136.scon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c50218136.spfilter,1,nil,ft,tp)
end
function c50218136.sop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local g=Duel.SelectReleaseGroup(tp,c50218136.spfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
function c50218136.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function c50218136.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,50218146,0xcb1,0x4011,600,400,1,RACE_INSECT,ATTRIBUTE_WIND) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end
function c50218136.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if Duel.IsPlayerCanSpecialSummonMonster(tp,50218146,0xcb1,0x4011,600,400,1,RACE_INSECT,ATTRIBUTE_WIND) then
local token=Duel.CreateToken(tp,50218146)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
end
end
function c50218136.aclimit(e,re,tp)
return re:GetActivateLocation()==LOCATION_GRAVE or re:GetActivateLocation()==LOCATION_REMOVED
end
function c50218136.cfilter(c,tp)
return c:IsControler(tp) and c:IsPreviousLocation(LOCATION_DECK)
end
function c50218136.hdcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DRAW and eg:IsExists(c50218136.cfilter,1,nil,1-tp)
end
function c50218136.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>0 end
Duel.SetTargetPlayer(tp)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,0,1-tp,LOCATION_HAND)
end
function c50218136.hdop(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local g=Duel.GetFieldGroup(p,0,LOCATION_HAND)
if g:GetCount()>0 then
Duel.ConfirmCards(p,g)
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_REMOVE)
local sg=g:Select(p,1,1,nil)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
Duel.ShuffleHand(1-p)
end
--风之数码兽LV9 力神比多兽
function c50218136.initial_effect(c)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(c50218136.scon)
e2:SetOperation(c50218136.sop)
c:RegisterEffect(e2)
--token
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_HAND)
e3:SetCountLimit(1,50218136)
e3:SetCost(c50218136.spcost)
e3:SetTarget(c50218136.sptg)
e3:SetOperation(c50218136.spop)
c:RegisterEffect(e3)
--aclimit
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetCode(EFFECT_CANNOT_ACTIVATE)
e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(0,1)
e4:SetValue(c50218136.aclimit)
c:RegisterEffect(e4)
--handes
local e5=Effect.CreateEffect(c)
e5:SetCategory(CATEGORY_REMOVE)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e5:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_PLAYER_TARGET)
e5:SetCode(EVENT_TO_HAND)
e5:SetRange(LOCATION_MZONE)
e5:SetCountLimit(1,50218036)
e5:SetCondition(c50218136.hdcon)
e5:SetTarget(c50218136.hdtg)
e5:SetOperation(c50218136.hdop)
c:RegisterEffect(e5)
end
c50218136.lvup={50218118}
c50218136.lvdn={50218116,50218117,50218118}
function c50218136.spfilter(c,ft,tp)
return c:IsCode(50218118)
and (ft>0 or (c:IsControler(tp) and c:GetSequence()<5)) and (c:IsControler(tp) or c:IsFaceup())
end
function c50218136.scon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
return ft>-1 and Duel.CheckReleaseGroup(tp,c50218136.spfilter,1,nil,ft,tp)
end
function c50218136.sop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local g=Duel.SelectReleaseGroup(tp,c50218136.spfilter,1,1,nil,ft,tp)
Duel.Release(g,REASON_COST)
end
function c50218136.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
function c50218136.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,50218146,0xcb1,0x4011,600,400,1,RACE_INSECT,ATTRIBUTE_WIND) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end
function c50218136.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if Duel.IsPlayerCanSpecialSummonMonster(tp,50218146,0xcb1,0x4011,600,400,1,RACE_INSECT,ATTRIBUTE_WIND) then
local token=Duel.CreateToken(tp,50218146)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
end
end
function c50218136.aclimit(e,re,tp)
return re:GetActivateLocation()==LOCATION_GRAVE or re:GetActivateLocation()==LOCATION_REMOVED
end
function c50218136.cfilter(c,tp)
return c:IsControler(tp) and c:IsPreviousLocation(LOCATION_DECK)
end
function c50218136.hdcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DRAW and eg:IsExists(c50218136.cfilter,1,nil,1-tp)
end
function c50218136.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>0 end
Duel.SetTargetPlayer(tp)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,0,1-tp,LOCATION_HAND)
end
function c50218136.hdop(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local g=Duel.GetFieldGroup(p,0,LOCATION_HAND)
if g:GetCount()>0 then
Duel.ConfirmCards(p,g)
Duel.Hint(HINT_SELECTMSG,p,HINTMSG_REMOVE)
local sg=g:Select(p,1,1,nil)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
Duel.ShuffleHand(1-p)
end
end
\ No newline at end of file
--真伏龙王-神辉
function c50218565.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,8,3)
c:EnableReviveLimit()
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50218565,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCost(c50218565.atkcost)
e1:SetCondition(c50218565.atkcon)
e1:SetTarget(c50218565.atktg)
e1:SetOperation(c50218565.atkop)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
--attach
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(50218565,1))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_PHASE+PHASE_END)
e3:SetRange(LOCATION_MZONE)
e3:SetTarget(c50218565.mttg)
e3:SetOperation(c50218565.mtop)
c:RegisterEffect(e3)
--destroy replace
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EFFECT_DESTROY_REPLACE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetTarget(c50218565.reptg)
c:RegisterEffect(e4)
end
function c50218565.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function c50218565.atkfilter(c,e,tp)
return c:IsControler(tp) and c:IsPosition(POS_FACEUP) and c:GetAttack()>0
and (not e or c:IsRelateToEffect(e))
end
function c50218565.atkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c50218565.atkfilter,1,nil,nil,1-tp)
end
function c50218565.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetCard(eg)
end
function c50218565.atkop(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(c50218565.atkfilter,nil,e,1-tp)
local dg=Group.CreateGroup()
local c=e:GetHandler()
local tc=g:GetFirst()
while tc do
local preatk=tc:GetAttack()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(-2000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
if preatk~=0 and tc:IsAttack(0) then dg:AddCard(tc) end
tc=g:GetNext()
end
Duel.Destroy(dg,REASON_EFFECT)
end
function c50218565.mtfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xcb5)
end
function c50218565.mttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c50218565.mtfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c50218565.mtfilter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local sg=Duel.SelectTarget(tp,c50218565.mtfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,sg,1,0,0)
end
function c50218565.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsFaceup() and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then
Duel.Overlay(c,Group.FromCards(tc))
end
end
function c50218565.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:CheckRemoveOverlayCard(tp,1,REASON_EFFECT) end
if Duel.SelectEffectYesNo(tp,e:GetHandler(),96) then
c:RemoveOverlayCard(tp,1,1,REASON_EFFECT)
return true
else return false end
--真伏龙王-神辉
function c50218565.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,8,3)
c:EnableReviveLimit()
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50218565,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCost(c50218565.atkcost)
e1:SetCondition(c50218565.atkcon)
e1:SetTarget(c50218565.atktg)
e1:SetOperation(c50218565.atkop)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
--attach
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(50218565,1))
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_PHASE+PHASE_END)
e3:SetRange(LOCATION_MZONE)
e3:SetTarget(c50218565.mttg)
e3:SetOperation(c50218565.mtop)
c:RegisterEffect(e3)
--destroy replace
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EFFECT_DESTROY_REPLACE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_MZONE)
e4:SetTarget(c50218565.reptg)
c:RegisterEffect(e4)
end
function c50218565.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function c50218565.atkfilter(c,e,tp)
return c:IsControler(tp) and c:IsPosition(POS_FACEUP) and c:GetAttack()>0
and (not e or c:IsRelateToEffect(e))
end
function c50218565.atkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c50218565.atkfilter,1,nil,nil,1-tp)
end
function c50218565.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetCard(eg)
end
function c50218565.atkop(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(c50218565.atkfilter,nil,e,1-tp)
local dg=Group.CreateGroup()
local c=e:GetHandler()
local tc=g:GetFirst()
while tc do
local preatk=tc:GetAttack()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(-2000)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
if preatk~=0 and tc:IsAttack(0) then dg:AddCard(tc) end
tc=g:GetNext()
end
Duel.Destroy(dg,REASON_EFFECT)
end
function c50218565.mtfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xcb5)
end
function c50218565.mttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c50218565.mtfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c50218565.mtfilter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local sg=Duel.SelectTarget(tp,c50218565.mtfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,sg,1,0,0)
end
function c50218565.mtop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsFaceup() and c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then
Duel.Overlay(c,Group.FromCards(tc))
end
end
function c50218565.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsReason(REASON_BATTLE+REASON_EFFECT) and not c:IsReason(REASON_REPLACE) and c:CheckRemoveOverlayCard(tp,1,REASON_EFFECT) end
if Duel.SelectEffectYesNo(tp,e:GetHandler(),96) then
c:RemoveOverlayCard(tp,1,1,REASON_EFFECT)
return true
else return false end
end
\ No newline at end of file
This diff is collapsed.
2023/12/22 9:25:44
\ No newline at end of file
2023/12/24 13:49:13
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment