Commit 0902e767 authored by wind2009's avatar wind2009

Fix ミミグル・フラワー

parent f3e048f0
Pipeline #42178 passed with stages
in 2 minutes and 24 seconds
...@@ -44,9 +44,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,9 +44,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.GetControl(c,1-tp) Duel.GetControl(c,1-tp)
end end
end end
function s.ptfilter(e,c)
return c:IsSetCard(0x1b7)
end
function s.sspfilter(c,tp,e) function s.sspfilter(c,tp,e)
return Duel.IsExistingMatchingCard(Card.IsFacedown,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) return Duel.IsExistingMatchingCard(Card.IsFacedown,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
...@@ -62,7 +59,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -62,7 +59,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) or (not s.sspfilter(c,tp,e) and not s.ospfilter(c,tp,e)) then return end if not c:IsRelateToChain() or (not s.sspfilter(c,tp,e) and not s.ospfilter(c,tp,e)) then return end
local b1=s.sspfilter(c,tp,e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 local b1=s.sspfilter(c,tp,e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
local b2=s.ospfilter(c,tp,e) and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0 local b2=s.ospfilter(c,tp,e) and Duel.GetLocationCount(1-tp,LOCATION_MZONE)>0
local toplayer=aux.SelectFromOptions(tp, local toplayer=aux.SelectFromOptions(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