SCREEN_RESOLUTION="640x960";
SCREEN_COLOR_BITS=32;
-- 主入口
function main()
while true do
x, y = findColorInRegionFuzzy(0x00A0FD, 100, 312, 731, 331, 741);
--新闻点我知道了
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFE5A02, 90, 251, 900, 268, 917);
---找无尽模式
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFFAB00, 90, 311, 885, 326, 902);
--找出击
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DC, 90, 201, 548, 220, 567);
--找返回
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DB, 100, 168, 849, 180, 867);
--找继续
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xC76C00, 90, 313, 710, 324, 726);
--找领取宝箱
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(1000);
end
end
SCREEN_COLOR_BITS=32;
-- 主入口
function main()
while true do
x, y = findColorInRegionFuzzy(0x00A0FD, 100, 312, 731, 331, 741);
--新闻点我知道了
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFE5A02, 90, 251, 900, 268, 917);
---找无尽模式
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xFFAB00, 90, 311, 885, 326, 902);
--找出击
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DC, 90, 201, 548, 220, 567);
--找返回
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0x0079DB, 100, 168, 849, 180, 867);
--找继续
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(100);
x, y = findColorInRegionFuzzy(0xC76C00, 90, 313, 710, 324, 726);
--找领取宝箱
if x ~= -1 and y ~= -1 then
touchDown(0, x+10, y+10);
touchUp(0);
end
mSleep(1000);
end
end