![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
z8774316
这个作者很懒,什么都没留下…
展开
-
486系统
local ts = require("ts")function whoShouldInCar(item)nowtime = os.time()currentHour = os.date("%H",nowtime)currentMin = os.date("%M",nowtime)currentHour = tonumber(currentHour)currentMin = tonumber(currentMin)index =1while item[index] do hour,mi原创 2021-11-30 11:05:27 · 340 阅读 · 0 评论 -
util脚本
--rgb转hsv,返回h,s,v三个值function rgb2hsv(r,g,b) -- 找出r,g,b最小值和最大值 local min = math.min(r,g,b) local max = math.max(r,g,b) local diff = max - min local h,s,v = 0,0,0 v = max if max == 0 then s = 0 else s = diff end if diff ~= 0 then if r原创 2021-11-23 14:51:15 · 196 阅读 · 0 评论 -
ro经验
四八六真帅经验经验睡觉睡觉是呢呢吧大喊大叫四八六真帅原创 2021-11-21 01:25:13 · 198 阅读 · 0 评论 -
测试
四八六真帅哈哈哈哈哈哈哈哈睡觉睡觉睡觉睡觉时间四八六真帅原创 2021-11-21 01:20:03 · 539 阅读 · 0 评论 -
四八六君
function sureMap(x,y)openMap()local r,g,b = getColorRGB(x,y+10)local h,s,v = rgb2hsv(r,g,b)local hh=htoast(string.format("h=%d s=%d v=%d",h,s,v))while (h-hh)*(h-hh) < 9 dotouchDown(x,y)mSleep(28)touchMove(x,y)mSleep(32)touchUp(x,y)mSleep(200原创 2021-03-21 23:45:46 · 178 阅读 · 0 评论 -
辛迪迪-1
function openOption()r,g,b = getColorRGB(984,429)h,s,v = rgb2hsv(r,g,b)toast(string.format("h=%d s=%d v=%d",h,s,v))while v>80 dotap(1075,60)mSleep(1000)r,g,b = getColorRGB(984,429)h,s,v = rgb2hsv(r,g,b)toast(string.format("h=%d s=%d v=%d",h,s,v转载 2021-02-08 02:31:37 · 153 阅读 · 0 评论 -
炼金术
–rgb转hsv,返回h,s,v三个值function rgb2hsv(r,g,b)– 找出r,g,b最小值和最大值local min = math.min(r,g,b)local max = math.max(r,g,b)local diff = max - minlocal h,s,v = 0,0,0v = maxif max == 0 thens = 0elses = diffendif diff ~= 0 thenif r == max thenh = 60 * (g原创 2021-01-21 17:21:31 · 142 阅读 · 0 评论