Commit 251dff7f authored by wind2009's avatar wind2009

Fix パルマ・ライゼオル

parent b74573b7
Pipeline #29387 passed with stages
in 1 minute and 20 seconds
...@@ -53,14 +53,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) ...@@ -53,14 +53,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
else return false end else return false end
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp,c) function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=e:GetLabelObject() local dc=e:GetLabelObject()
local hg=g:Filter(Card.IsLocation,nil,LOCATION_HAND) if dc:IsLocation(LOCATION_HAND) then
if #hg>0 then Duel.ConfirmCards(1-tp,dc)
Duel.ConfirmCards(1-tp,hg)
end end
local gg=g:Filter(Card.IsLocation,nil,LOCATION_GRAVE) if dc:IsLocation(LOCATION_GRAVE) then
if #gg>0 then Duel.HintSelection(Group.FromCards(dc))
Duel.HintSelection(gg)
end end
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_SPSUMMON) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_SPSUMMON)
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