UO Outlands Razor 自动伐木脚本
作者: reistlin
来源: http://www.reistlin.com/blog/444
更新时间: 2024.01
版权声明: 原创文章.转载请保留作者信息和原文完整.谢绝任何方式的摘要
UO Outlands:[https://uooutlands.com]
UO Razor Assistant:[https://www.razorce.com]
# Auto Lumberjacking 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 Left Hand if lhandempty if findtype "hatchet" backpack dclicktype "hatchet" backpack wait 500 else overhead "* 没有伐木工具 *" 38 break endif endif // Check Over Weight if weight > maxweight overhead "* 已超重 *" 38 else dclick "hands" waitfortarget 500 target "self" endif // Report Status if insysmsg "You chop some" overhead "* 伐木中 *" 88 elseif insysmsg "You broke your axe" overhead "* 伐木工具损坏 *" 38 elseif insysmsg "You do not see any harvestable resources nearby" or insysmsg "You cannot produce any wood from that" overhead "* 没有伐木资源 *" 53 elseif insysmsg "Harvesting is not allowed in this area" overhead "* 禁止伐木区域 *" 53 endif wait 2000 loop