Commit 8e7293db authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent e9e12a74
Pipeline #29802 failed with stages
in 22 minutes and 21 seconds
expansions/pics/16400273.jpg

142 KB | W: | H:

expansions/pics/16400273.jpg

142 KB | W: | H:

expansions/pics/16400273.jpg
expansions/pics/16400273.jpg
expansions/pics/16400273.jpg
expansions/pics/16400273.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -6,7 +6,7 @@ function c12835101.initial_effect(c)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCondition(c12835101.con)
e1:SetTargetRange(1,1)
e1:SetTargetRange(1,0)
e1:SetTarget(c12835101.splimit)
c:RegisterEffect(e1)
local e2=e1:Clone()
......@@ -20,7 +20,7 @@ function c12835101.initial_effect(c)
e4:SetCode(12835101)
e4:SetRange(LOCATION_MZONE)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+0x200)
e4:SetTargetRange(1,1)
e4:SetTargetRange(1,0)
e4:SetCondition(c12835101.con)
c:RegisterEffect(e4)
local e5=Effect.CreateEffect(c)
......@@ -80,27 +80,29 @@ function c12835101.initial_effect(c)
end
function c12835101.op0(e,tp,eg,ep,ev,re,r,rp)
for tp = 0,1 do
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
::a::
for tc in aux.Next(g) do
local code=tc:GetCode()
local cg=g:Filter(Card.IsCode,nil,code)
if #cg>=2 then
Duel.Hint(3,tp,HINTMSG_TOGRAVE)
local ccg=cg:Select(tp,#cg-1,#cg-1,nil)
Duel.SendtoGrave(ccg,REASON_RULE)
g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
goto a
end
end
g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
if #g>0 then
local o = {}
if Duel.IsPlayerAffectedByEffect(tp,12835101) then
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
::a::
for tc in aux.Next(g) do
o[#o+1] = tc:GetCode()
local code=tc:GetCode()
local cg=g:Filter(Card.IsCode,nil,code)
if #cg>=2 then
Duel.Hint(3,tp,HINTMSG_TOGRAVE)
local ccg=cg:Select(tp,#cg-1,#cg-1,nil)
Duel.SendtoGrave(ccg,REASON_RULE)
g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
goto a
end
end
c12835101_single_monster[tp+1] = o
end
g=Duel.GetMatchingGroup(Card.IsFaceup,tp,4,0,nil)
if #g>0 then
local o = {}
for tc in aux.Next(g) do
o[#o+1] = tc:GetCode()
end
c12835101_single_monster[tp+1] = o
end
end
end
end
function c12835101.con(e)
......
......@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.desfilter(c)
return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsSetCard(0x3620)
return c:IsSetCard(0x3620)
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(tp) and cm.desfilter(chkc,tp) end
......
......@@ -113,11 +113,11 @@ function cm.scop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LSCALE)
e1:SetRange(LOCATION_PZONE)
e1:SetValue(cc:GetLeftScale()-dcc)
e1:SetValue(-dcc)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1)
cc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_RSCALE)
c:RegisterEffect(e2)
cc:RegisterEffect(e2)
end
end
\ No newline at end of file
......@@ -74,11 +74,11 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LSCALE)
e1:SetValue(cc:GetLeftScale()-dcc)
e1:SetValue(-dcc)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1)
cc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_RSCALE)
c:RegisterEffect(e2)
cc:RegisterEffect(e2)
end
end
\ 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