Commit 03515b23 authored by POLYMER's avatar POLYMER

fix

parent 1d341758
......@@ -52,6 +52,7 @@ function cm.initial_effect(c)
_globetrot=true
globetrot = {}
globetrot.x = 5
globetrot.g = 0
globetrot.pair = {}
for i = 1, globetrot.x do
globetrot.pair[i] = {}
......@@ -174,8 +175,22 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
......@@ -185,6 +200,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
break
end
end
::A::
cm._return(c,x)
return false
end
......
......@@ -174,8 +174,22 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
......@@ -185,6 +199,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
break
end
end
::A::
cm._return(c,x)
return false
end
......
......@@ -174,8 +174,22 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
......@@ -185,6 +199,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
break
end
end
::A::
cm._return(c,x)
return false
end
......
......@@ -174,8 +174,22 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
......@@ -185,6 +199,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
break
end
end
::A::
cm._return(c,x)
return false
end
......
......@@ -174,8 +174,22 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
......@@ -185,6 +199,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
break
end
end
::A::
cm._return(c,x)
return false
end
......
......@@ -174,17 +174,32 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
cm.A_status[tp+1] = false
local x
while true do
globetrot.g = globetrot.g + 1
x = Duel.GetRandomNumber(1,5)
x = globetrot.random(x)
if globetrot.g > 5 then
while true do
x = Duel.GetRandomNumber(1,5)
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
goto A
end
end
end
if cm[tostring(x)](c) then
for i = 1, globetrot.x do
if globetrot.pair[i]["first"] == x then
globetrot.pair[i]["second"] = globetrot.pair[i]["second"] + 1
end
end
break
break
end
end
::A::
cm._return(c,x)
return false
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