Commit eda2b40e authored by wind2009's avatar wind2009 Committed by GitHub

Replace to RevealSelectDeckSequence (#2637)

parent 0606b45f
...@@ -28,9 +28,9 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -28,9 +28,9 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if #g>0 then if #g>0 then
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
Duel.PreserveSelectDeckSequence(true) Duel.RevealSelectDeckSequence(true)
local sc=g:Select(tp,1,1,nil):GetFirst() local sc=g:Select(tp,1,1,nil):GetFirst()
Duel.PreserveSelectDeckSequence(false) Duel.RevealSelectDeckSequence(false)
if sc:IsType(TYPE_TRAP) then if sc:IsType(TYPE_TRAP) then
if Duel.SSet(tp,sc)>0 then if Duel.SSet(tp,sc)>0 then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -48,4 +48,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,4 +48,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
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