传奇及时雨比奇买卖物品自动挂机脚本
传奇及时雨比奇买卖物品自动挂机脚本是一款专门为游戏玩家量身定做的智能自动化系统。它支持无人值守操作,简单方便,一键设置自动完成任务,不需要玩家操作和手动设定时间,在游戏中只要是人物离开原地就会开始自动运行任务。游戏内的挂机系统也是很给力的,装备合成、采集、打怪升级全部都是自动化进行,让玩家不再受时间和地点的限制,随时随地想玩就玩。传奇及时雨比奇买卖物品自动挂机脚本范本如下;
--比奇矿洞
local g_hcname="回城卷"
local g_hcnum=1
local g_hpnum=3 --红药数量
local g_hpname="金创药(小量)"
function 回城()
--存仓
if 是否需要存() then
移动到范围2("0",301,257,5)
等待(1500)
坐标对话(301,257)
等待(1500)
选择("@storage")
等待(1500)
存()
end
--卖、修理戒指
bsold=是否需要卖(22,23)
local brepair7=是否需要修理(50,7)
local brepair8=是否需要修理(50,8)
if bsold or brepair7 or brepair8 then
移动到范围2("0105",18,6,5)
等待(1500)
if bsold then
坐标对话(18,6)
等待(1500)
选择("@sell")
等待(1500)
卖(22,23)
end
if brepair7 or brepair8 then
坐标对话(18,6)
等待(1500)
选择("@repair")
等待(1500)
if brepair7 then
修理(7)
end
if brepair8 then
修理(8)
end
end
end
--卖、修理手镯
bsold=是否需要卖(24,26)
local brepair5=是否需要修理(50,5)
local brepair6=是否需要修理(50,6)
if bsold or brepair5 or brepair6 then
移动到范围2("0105",12,12,5)
等待(1500)
if bsold then
坐标对话(12,12)
等待(1500)
选择("@sell")
等待(1500)
卖(24,26)
end
if brepair5 or brepair6 then
坐标对话(12,12)
等待(1500)
选择("@repair")
等待(1500)
if brepair5 then
修理(5)
end
if brepair6 then
修理(6)
end
end
end
--卖、修理项链
bsold=是否需要卖(19,20,21)
local brepair3=是否需要修理(50,3)
if bsold or brepair3 then
移动到范围2("0105",6,18,5)
等待(1500)
if bsold then
坐标对话(6,18)
等待(1500)
选择("@sell")
等待(1500)
卖(19,20,21)
end
if brepair3 then
坐标对话(6,18)
等待(1500)
选择("@repair")
等待(1500)
修理(3)
end
end
--卖衣服、头盔
bsold=是否需要卖(10,11,15)
local brepair0=是否需要修理(50,0) --衣服
local brepair4=是否需要修理(50,4) --头盔
if bsold or brepair0 or brepair4 then
移动到范围2("0106",19,6,5)
等待(1500)
if bsold then
坐标对话(19,6)
等待(1500)
选择("@sell")
等待(1500)
卖(10,11,15)
end
if brepair0 or brepair4 then
坐标对话(19,6)
等待(1500)
选择("@repair")
等待(1500)
if brepair0 then
修理(0)
end
if brepair4 then
修理(4)
end
end
end
--卖武器 修武器
bsold=是否需要卖(5,6)
local brepair1=是否需要修理(50,1)
if bsold or brepair1 then
移动到范围2("0103",19,18,5)
等待(1500)
if bsold then
坐标对话(19,18)
等待(1500)
选择("@sell")
等待(1500)
卖(5,6)
end
if brepair1 then
坐标对话(19,18)
等待(1500)
选择("@repair")
等待(1500)
修理(1)
end
end
--买药
local hpnum=获取物品数量(g_hpname)
local buyhp=(hpnum<g_hpnum)
if buyhp or buymp then
移动到范围2("0",324,291,5)
等待(1500)
坐标对话(324,291)
等待(1500)
选择("买")
等待(1500)
买(g_hpname,g_hpnum-hpnum,1500)
end
--买回城卷
local hcnum=获取物品数量(g_hcname)
local buyhc=(hcnum<g_hcnum)
if buyhc then
移动到范围2("0",378,298,5)
等待(1500)
坐标对话(378,298)
等待(1500)
选择("@buy")
等待(1500)
买(g_hcname,g_hcnum-hcnum,1500)
end
--去比奇矿洞
移动到范围2("D401",28,177,5)
等待(1500)
return 挂机()
end
function 挂机()
开始挂机()
等待(2000)
return 回城()
end
do
--添加地图出入口
清空地图出口()
添加地图出口("0",317,301,"0106",false)
添加地图出口("0106",21,12,"0",false)
添加地图出口("0",345,308,"0103",false)
添加地图出口("0103",16,25,"0",false)
添加地图出口("0105",9,24,"0",false)
添加地图出口("0105",9,25,"0",false)
添加地图出口("0105",21,12,"0",false)
添加地图出口("0",305,275,"0105",false)
添加地图出口("0",305,276,"0105",false)
添加地图出口("0",295,284,"0105",false)
添加地图出口("0",295,285,"0105",false)
添加地图出口("0102",3,8,"0",false)
添加地图出口("0",308,264,"0102",false)
添加地图出口("0",335,299,"0103",false)
添加地图出口("0",335,300,"0103",false)
添加地图出口("0",345,308,"0103",false)
添加地图出口("0",344,308,"0103",false)
添加地图出口("0103",16,25,"0",false)
添加地图出口("0103",17,25,"0",false)
添加地图出口("0103",5,13,"0",false)
添加地图出口("0",664,213,"D401",false)
添加地图出口("D401",24,182,"0",false)
添加地图出口("D401",76,15,"D411",false)
添加地图出口("D411",60,7,"D401",false)
--挂机路线
设置来回挂机路线()
添加挂机路线点2("D401",33,154,3)
添加挂机路线点2("D401",49,88,3)
添加挂机路线点2("D401",84,16,3)
添加挂机路线点2("D411",55,21,3)
添加挂机路线点2("D411",37,66,3)
添加挂机路线点2("D411",65,68,3)
--开始
mapid=获取地图id()
if mapid=="D401" then
挂机()
elseif mapid=="D411" then
挂机()
elseif mapid=="0" then
回城()
end
end
使用传奇及时雨脚本可以不用玩家手动操作游戏内的一切事物,只需要设定好自动任务和时间即可。最主要的是使用脚本还可以让您轻轻松松玩游戏而不用再担心会占用您大量时间和精力!