Commit 968f07d6 authored by wind2009's avatar wind2009

Fix

parent e439e235
Pipeline #41366 passed with stages
in 1 minute and 30 seconds
...@@ -11,4 +11,7 @@ ...@@ -11,4 +11,7 @@
100250202 100250202
100250203 100250203
100250204 100250204
100250064 100250062
\ No newline at end of file 100250063
100250064
100250065
\ No newline at end of file
...@@ -172,4 +172,4 @@ function s.FShaddollOperation(e,tp,eg,ep,ev,re,r,rp,gc,chkf) ...@@ -172,4 +172,4 @@ function s.FShaddollOperation(e,tp,eg,ep,ev,re,r,rp,gc,chkf)
fc:RemoveCounter(tp,0x16,3,REASON_EFFECT) fc:RemoveCounter(tp,0x16,3,REASON_EFFECT)
end end
Duel.SetFusionMaterial(g) Duel.SetFusionMaterial(g)
end end
\ No newline at end of file
...@@ -42,7 +42,7 @@ end ...@@ -42,7 +42,7 @@ end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_HAND,0,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_HAND,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_HAND,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_HAND,0,1,1,nil,tp)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
Duel.SetTargetCard(g) Duel.SetTargetCard(g)
...@@ -58,9 +58,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,9 +58,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=g:SelectSubGroup(tp,s.gcheck,false,2,2,tc) local sg=g:SelectSubGroup(tp,s.gcheck,false,2,2,tc)
Duel.SendtoHand(sg,nil,REASON_EFFECT) Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg) Duel.ConfirmCards(1-tp,sg)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD)
local dg=Duel.SelectMatchingCard(tp,Card.IsDiscardable,tp,LOCATION_HAND,0,1,1,nil,REASON_EFFECT)
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
Duel.BreakEffect() Duel.SendtoGrave(dg,REASON_EFFECT+REASON_DISCARD)
Duel.DiscardHand(tp,nil,1,1,REASON_EFFECT+REASON_DISCARD)
end end
function s.thfilter2(c) function s.thfilter2(c)
return c:IsSetCard(0xbb) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0xbb) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
...@@ -76,4 +77,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,4 +77,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
end end
\ No newline at end of file
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