UO Outlands Razor 自动采矿脚本
作者: reistlin
来源: http://www.reistlin.com/blog/443
更新时间: 2024.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要
UO Outlands:[https://uooutlands.com]
UO Razor Assistant:[https://www.razorce.com]
# Auto Mining v1.2 # By REISTLIN # Auto Recall ON/OFF @setvar! AutoRecall 1 // Disparalyze if paralyzed if findtype "pouch" backpack yell "[pouch" else overhead "* 没有 Trapped Pouch *" 38 endif endif // Auto Recall if AutoRecall = 1 if insysmsg "Distance to destination" or insysmsg "Now tracking" // Cancel Target if targetexists hotkey "Clear Target Queue" hotkey "Cancel Current Target" endif // Interrupt Current Action hotkey "> Interrupt" // Rune Book if findtype "runebook" backpack overhead "* 开始传送 *" 88 dclicktype "runebook" waitforgump 1551740969 gumpresponse 2 stop endif // Outlands Requirement if findtype "Recall rune" backpack if skill "Magery" >= 40 // Recall Scroll if findtype "Recall" backpack overhead "* 开始传送(卷轴) *" 88 dclicktype "Recall" waitfortarget targettype "Recall rune" stop endif // Spell Book if findtype "Spellbook" backpack and findtype "Black Pearl%s%" backpack and findtype "Blood Moss" backpack and findtype "Mandrake Root%s%" backpack overhead "* 开始传送(魔法) *" 88 cast "Recall" waitfortarget targettype "Recall rune" stop endif else overhead "* 魔法技能不够 *" 38 endif else overhead "* 没有传送符文 *" 53 endif endif endif // Check Tracking Buff if not findbuff "tracking" skill "tracking" waitforgump 4267467659 gumpresponse 6 wait 1000 gumpclose 4267467659 overhead "* 追踪中 *" endif // Check Right Hand if rhandempty if findtype "pickaxe" backpack dclicktype "pickaxe" backpack wait 500 else overhead "* 没有采矿工具 *" 38 break endif endif // Check Over Weight if weight > maxweight overhead "* 已超重 *" 38 else dclick "hands" endif // Report Status if insysmsg "You dig some" overhead "* 采矿中 *" 88 elseif insysmsg "You have worn out your tool" overhead "* 采矿工具损坏 *" 38 elseif insysmsg "You do not see any harvestable resources nearby" overhead "* 没有采矿资源 *" 53 elseif insysmsg "Harvesting is not allowed in this area" overhead "* 禁止采矿区域 *" 53 endif wait 2000 loop