lua 下面的buffend函数怎么可以让action的循环终止 我是总错误
localy;functionaction(y)whiley>0andy<1000000doify~=0thenplayer:doaction("adasdasda")e...
local y;
function action(y)
while y > 0 and y < 1000000 do
if y ~= 0 then
player:doaction("adasdasda")
end
end
end
function buffend(unit)
y == 0
end 展开
function action(y)
while y > 0 and y < 1000000 do
if y ~= 0 then
player:doaction("adasdasda")
end
end
end
function buffend(unit)
y == 0
end 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询