Commit 3713bd8f authored by POLYMER's avatar POLYMER

fix

parent 56b702bb
...@@ -83,7 +83,7 @@ function c33700931.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -83,7 +83,7 @@ function c33700931.activate(e,tp,eg,ep,ev,re,r,rp)
for i=1,2 do for i=1,2 do
local p2=player[i] local p2=player[i]
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(Card.IsCanBeSpecialSummoned),p2,LOCATION_HAND+LOCATION_GRAVE,0,nil,e,0,p2,false,false) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(Card.IsCanBeSpecialSummoned),p2,LOCATION_HAND+LOCATION_GRAVE,0,nil,e,0,p2,false,false)
if Duel.GetLocationCount(p2,LOCATION_MZONE)>0 and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(33700931,3)) then if Duel.GetLocationCount(p2,LOCATION_MZONE)>0 and #g>0 and Duel.SelectYesNo(p2,aux.Stringid(33700931,3)) then
Duel.Hint(HINT_SELECTMSG,p2,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,p2,HINTMSG_SPSUMMON)
local sg=g:Select(p2,1,1,nil) local sg=g:Select(p2,1,1,nil)
Duel.SpecialSummon(sg,0,p2,p2,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,p2,p2,false,false,POS_FACEUP)
......
...@@ -59,6 +59,7 @@ local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) and Duel ...@@ -59,6 +59,7 @@ local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) and Duel
if tg then tg(e,tp,ceg,cep,cev,cre,cr,crp,1) end if tg then tg(e,tp,ceg,cep,cev,cre,cr,crp,1) end
local op=te:GetOperation() local op=te:GetOperation()
if op then op(e,tp,eg,ep,ev,re,r,rp) end if op then op(e,tp,eg,ep,ev,re,r,rp) end
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1)
end end
else else
Duel.Release(c,REASON_EFFECT) Duel.Release(c,REASON_EFFECT)
...@@ -68,6 +69,7 @@ local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) and Duel ...@@ -68,6 +69,7 @@ local b1=Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK,0,1,nil) and Duel
g1:Merge(g2) g1:Merge(g2)
local sg=g1:SelectSubGroup(tp,s.fselect,false,2,2) local sg=g1:SelectSubGroup(tp,s.fselect,false,2,2)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
Duel.RegisterFlagEffect(tp,id+1,RESET_PHASE+PHASE_END,0,1)
end end
end end
end end
......
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