Commit 41ec6f82 authored by wind2009's avatar wind2009 Committed by GitHub

Fix 百鬼羅刹大参上 (#2615)

parent 35086087
...@@ -39,13 +39,13 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,13 +39,13 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
Duel.BreakEffect() if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp)
if Duel.CheckRemoveOverlayCard(tp,1,1,1,REASON_EFFECT) and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) then and Duel.CheckRemoveOverlayCard(tp,1,1,1,REASON_EFFECT)
if Duel.SelectEffectYesNo(tp,e:GetHandler(),aux.Stringid(id,2)) then and Duel.SelectEffectYesNo(tp,e:GetHandler(),aux.Stringid(id,2)) then
Duel.RemoveOverlayCard(tp,1,1,1,1,REASON_EFFECT) Duel.BreakEffect()
local sg=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp) Duel.RemoveOverlayCard(tp,1,1,1,1,REASON_EFFECT)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) local sg=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
end Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
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