
function 主体函数()
local 返回值1
返回值1 = 发言("@回收")
if 返回值1 ~= 0 then
return 1
end
等待(1500)
选择("点击*")
等待(1500)
local passcode
passcode=取背包物品属性("防脱机*","最大攻击")
输出信息(tostring(passcode))
if passcode=="0" then
输出信息("-----攻击是0-------")
passcode=取背包物品属性("防脱机*","最大道术")
end
if passcode=="0" then
passcode=取背包物品属性("防脱机*","最大魔法")
end
if passcode=="0" then
passcode=取背包物品属性("防脱机*","爆击")
end
if passcode=="0" then
passcode=取背包物品属性("防脱机*","诅咒")
end
if passcode=="0" then
passcode=取背包物品属性("防脱机*","幸运")
end
输出信息(tostring(passcode))
if passcode~="0" then
选择("点击回*")
等待(1000)
回答(passcode)
关闭提示框()
end
end