Commit 5e4e4706 authored by CubeRuler's avatar CubeRuler

fixed

parent a547650d
Pipeline #22007 passed with stages
in 33 minutes and 9 seconds
...@@ -68,7 +68,10 @@ function cm.tgop(e,tp) ...@@ -68,7 +68,10 @@ function cm.tgop(e,tp)
if #g<=0 then return end if #g<=0 then return end
local tc,tc2 local tc,tc2
local ct = 0 local ct = 0
::TOG:: local flag= true
--::TOG::
while flag do
flag=false
g=Duel.GetFieldGroup(tp,LOCATION_DECK,0) g=Duel.GetFieldGroup(tp,LOCATION_DECK,0)
if #g>0 then if #g>0 then
tc = g:GetMinGroup(Card.GetSequence):GetFirst() tc = g:GetMinGroup(Card.GetSequence):GetFirst()
...@@ -78,7 +81,9 @@ function cm.tgop(e,tp) ...@@ -78,7 +81,9 @@ function cm.tgop(e,tp)
ct = ct + 1 ct = ct + 1
end end
if tc2 and tc2:IsSetCard(0x55d) then if tc2 and tc2:IsSetCard(0x55d) then
goto TOG flag=true
--goto TOG
end
end end
end end
Duel.BreakEffect() Duel.BreakEffect()
......
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