x,y = findMultiColorInRegionFuzzy( 0x653e8b, "0|1|0x884ebb,0|2|0x9652c5,0|3|0x9551c8,0|4|0x914fcb,0|5|0x944dcd,0|6|0x974ed0,0|7|0x9c50d3,0|8|0xa453d5,0|9|0xa755cf", 90, 838, 244, 1655, 839)
if x== 1302 and y==800 then
nLog("怪物在3号点")
toast("怪物在3号点")
end
这里x如何设定一个区间值啊,比如说1000-1400的区间,x只要满足就继续执行,我在里面加入
local x<=1000
报错
if x== 1302 and y==800 then
nLog("怪物在3号点")
toast("怪物在3号点")
end
这里x如何设定一个区间值啊,比如说1000-1400的区间,x只要满足就继续执行,我在里面加入
local x<=1000
报错