Commit da7d8fad authored by POLYMER's avatar POLYMER

fix

parent 6e405da6
...@@ -41,7 +41,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,7 +41,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
if Duel.GetDecktopGroup(1-tp,num):FilterCount(Card.IsAbleToRemove,nil)~=num then return end if Duel.GetDecktopGroup(1-tp,num):FilterCount(Card.IsAbleToRemove,nil)~=num then return end
local g=Duel.GetDecktopGroup(1-tp,num) local g=Duel.GetDecktopGroup(1-tp,num)
if Duel.Remove(g,POS_FACEDOWN,REASON_EFFECT)~=0 and Duel.IsExistingMatchingCard(cm.cfil,tp,0,LOCATION_ONFIELD,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then if Duel.Remove(g,POS_FACEDOWN,REASON_EFFECT)~=0 and Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) and Duel.IsExistingMatchingCard(cm.cfil,tp,LOCATION_ONFIELD,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local rg=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD,nil):Select(tp,1,1,nil) local rg=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD,nil):Select(tp,1,1,nil)
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT) Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
......
...@@ -91,7 +91,7 @@ function cm.aop(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,7 +91,7 @@ function cm.aop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_ONFIELD,0,1,1,c) local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_ONFIELD,0,1,1,c)
local sg=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_ONFIELD,1,1,c) local sg=Duel.SelectMatchingCard(tp,aux.TRUE,tp,0,LOCATION_ONFIELD,1,1,c)
g:Merge(g2) g:Merge(g2)
if #g==2 then Duel.Destroy(g,REASON_EFFECT) end if #g~=0 then Duel.Destroy(g,REASON_EFFECT) end
end end
......
...@@ -58,6 +58,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,6 +58,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
end end
local g=eg:Filter(s.tgfilter,nil,tp) local g=eg:Filter(s.tgfilter,nil,tp)
if #g<=0 then return false end
--if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT)~=0 then --if g:GetCount()>0 and Duel.SendtoGrave(g,REASON_EFFECT)~=0 then
-- Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP) -- Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
--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