Commit 921f9e94 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c18700182.lua

parent 37e91b49
Pipeline #30873 passed with stages
in 27 minutes and 13 seconds
--千星戏世游朋克
local m=18700182
local cm=_G["c"..m]
xpcall(function() require("expansions/script/1") end,function() require("script/1") end)
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......@@ -123,13 +122,14 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
end
local g=Duel.SelectMatchingCard(tp,cm.filter3,tp,LOCATION_MZONE,0,1,ct,nil)
if Duel.GetControl(g,1-tp)>0 then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_END)
e1:SetOperation(cm.retop2)
Duel.RegisterEffect(e1,tp)
end
Duel.GetControl(g,1-tp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_END)
e1:SetCountLimit(1)
e1:SetOperation(cm.retop2)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
end
function cm.retfilter2(c,tp)
return c:GetOwner()==tp
......
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