Commit a9cb3972 authored by wind2009's avatar wind2009

Fix キラーチューン・キュー

parent de3a9a2a
Pipeline #40429 passed with stages
in 3 minutes and 39 seconds
...@@ -81,7 +81,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -81,7 +81,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsPlayerCanRemove(tp) then return end if not Duel.IsPlayerCanRemove(tp) then return end
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK) local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)
if ct>2 then ct=2 end if ct>2 then ct=2 end
if ct<2 then return end if ct==0 then return end
Duel.ConfirmDecktop(1-tp,2) Duel.ConfirmDecktop(1-tp,2)
local g=Duel.GetDecktopGroup(1-tp,2) local g=Duel.GetDecktopGroup(1-tp,2)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
...@@ -92,7 +92,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,7 +92,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck(true) Duel.DisableShuffleCheck(true)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT) Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
g:Sub(sg) g:Sub(sg)
if Duel.SelectOption(tp,aux.Stringid(id,2),aux.Stringid(id,3))==1 then if #g>0 and Duel.SelectOption(tp,aux.Stringid(id,2),aux.Stringid(id,3))==1 then
Duel.MoveSequence(g:GetFirst(),SEQ_DECKBOTTOM) Duel.MoveSequence(g:GetFirst(),SEQ_DECKBOTTOM)
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