Commit 1c1b7933 authored by Tachibana's avatar Tachibana

ybb

parent b1aa8b2f
No preview for this file type
......@@ -56,12 +56,12 @@ function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
g1=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
Duel.ConfirmCards(tp,g1)
local sg=g1:FilterSelect(tp,cm.ofilter,1,1,nil,tp,nil):GetFirst()
local sg=g1:FilterSelect(tp,cm.ofilter,1,1,nil,tp,nil)
if g:GetCount()>0 then
g3:Merge(g)
end
if g1:GetCount()>0 then
g3:Merge(g1)
g3:Merge(sg)
end
if g3:GetCount()>0 then
Duel.Overlay(c,g3)
......
......@@ -103,19 +103,19 @@ function c9330019.cfilter(c)
end
function c9330019.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local p=e:GetHandler():GetControler()
local p=e:GetHandlerPlayer()
if chk==0 then return c:GetFlagEffect(9330021)==0 and
((Duel.GetLocationCount(1-p,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,p,false,false,1-p))
and c:IsCanBeSpecialSummoned(e,0,p,false,false,POS_FACEUP,1-p))
or (Duel.GetLocationCount(p,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
and c:IsCanBeSpecialSummoned(e,0,p,false,false))) end
and c:IsCanBeSpecialSummoned(e,0,p,false,false,POS_FACEUP))) end
c:RegisterFlagEffect(9330021,RESET_CHAIN,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function c9330019.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local p=e:GetHandler():GetControler()
local p=e:GetHandlerPlayer()
if not c:IsRelateToEffect(e) then return end
if Duel.IsExistingMatchingCard(c9330019.cfilter,p,LOCATION_ONFIELD,0,1,nil)
and Duel.SelectYesNo(p,aux.Stringid(9330019,0)) then
......
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