Commit 79a461bc authored by wind2009's avatar wind2009

Fix 白き龍の威光

parent 936fad91
Pipeline #28929 passed with stages
in 1 minute and 18 seconds
...@@ -41,11 +41,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -41,11 +41,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local rg=g:Select(tp,1,ct,nil) local rg=g:Select(tp,1,ct,nil)
if rg:GetCount()>0 then if rg:GetCount()>0 then
local hg=g:Filter(Card.IsLocation,nil,LOCATION_HAND) local hg=rg:Filter(Card.IsLocation,nil,LOCATION_HAND)
local og=g-hg local og=rg-hg
Duel.ConfirmCards(1-tp,hg) Duel.ConfirmCards(1-tp,hg)
Duel.HintSelection(og) Duel.HintSelection(og)
if g:FilterCount(Card.IsLocation,nil,LOCATION_HAND)>=1 then if hg:GetCount()>=1 then
Duel.ShuffleHand(tp) Duel.ShuffleHand(tp)
end end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
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