Commit a8ba2712 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 1d78018f
Pipeline #29815 failed with stages
in 28 minutes and 21 seconds
...@@ -139,13 +139,16 @@ function s.mtg1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -139,13 +139,16 @@ function s.mtg1(e,tp,eg,ep,ev,re,r,rp,chk)
local tg=mc:GetColumnGroup():Filter(Card.IsAbleToHand,nil) local tg=mc:GetColumnGroup():Filter(Card.IsAbleToHand,nil)
if chk==0 then return tg:GetCount()>0 and c:GetFlagEffect(id+100)==0 end if chk==0 then return tg:GetCount()>0 and c:GetFlagEffect(id+100)==0 end
c:RegisterFlagEffect(id+100,RESET_CHAIN,0,1) c:RegisterFlagEffect(id+100,RESET_CHAIN,0,1)
e:SetLabelObject(mc)
mc:CreateEffectRelation(e)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_ONFIELD) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_ONFIELD)
return eg:IsExists(s.cfilter1,1,nil) return eg:IsExists(s.cfilter1,1,nil)
end end
function s.mop1(e,tp,eg,ep,ev,re,r,rp) function s.mop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(id,0))
local c=e:GetHandler() local c=e:GetHandler()
local mc=eg:Filter(s.cfilter1,nil):GetFirst() local mc=e:GetLabelObject()
if not mc:IsLocation(LOCATION_MZONE) or not mc:IsRelateToEffect(e) then return end
Duel.Hint(24,0,aux.Stringid(id,0))
local tc=mc:GetColumnGroup():FilterSelect(tp,Card.IsAbleToHand,1,1,nil) local tc=mc:GetColumnGroup():FilterSelect(tp,Card.IsAbleToHand,1,1,nil)
if tc then if tc then
Duel.Hint(HINT_CARD,0,12835112) Duel.Hint(HINT_CARD,0,12835112)
...@@ -181,13 +184,16 @@ function s.mtg2(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -181,13 +184,16 @@ function s.mtg2(e,tp,eg,ep,ev,re,r,rp,chk)
local tg=Duel.GetMatchingGroup(s.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,mc,seq,mc:GetControler()) local tg=Duel.GetMatchingGroup(s.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,mc,seq,mc:GetControler())
if chk==0 then return tg:GetCount()>0 and c:GetFlagEffect(id+100)==0 end if chk==0 then return tg:GetCount()>0 and c:GetFlagEffect(id+100)==0 end
c:RegisterFlagEffect(id+100,RESET_CHAIN,0,1) c:RegisterFlagEffect(id+100,RESET_CHAIN,0,1)
e:SetLabelObject(mc)
mc:CreateEffectRelation(e)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD) Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
return eg:IsExists(s.cfilter2,1,nil) return eg:IsExists(s.cfilter2,1,nil)
end end
function s.mop2(e,tp,eg,ep,ev,re,r,rp) function s.mop2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local mc=e:GetLabelObject()
if not mc:IsLocation(LOCATION_MZONE) or not mc:IsRelateToEffect(e) then return end
Duel.Hint(24,0,aux.Stringid(id,1)) Duel.Hint(24,0,aux.Stringid(id,1))
local mc=eg:Filter(s.cfilter2,nil):GetFirst()
local seq=mc:GetPreviousSequence() local seq=mc:GetPreviousSequence()
local tc=Duel.SelectMatchingCard(tp,s.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,mc,seq,mc:GetControler()) local tc=Duel.SelectMatchingCard(tp,s.desfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,mc,seq,mc:GetControler())
if tc then if tc 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