有问题你可以在论坛里提问,或者在开发者区里发帖求助
好的,感谢,那我简单说下我的情况。我想写一个脚本,用任务模式或者钓鱼模式,在指定地点钓鱼,当背包满了以后,召唤达拉然大象的修理,卖掉背包里的东西,我脚本写了一半,每次用钓鱼模式执行,包满了就没有动作了。我发到下面,请您帮我看一下。
<?xml version="1.0" encoding="UTF-8"?>
<HBProfile>
<Name>风暴峡湾稀有鱼</Name>
<MinDurability>0.4</MinDurability>
<MinFreeBagSlots>5</MinFreeBagSlots>
<SellGrey>True</SellGrey>
<SellWhite>true</SellWhite>
<SellGreen>False</SellGreen>
<SellBlue>False</SellBlue>
<Blackspots>
</Blackspots>
<ProtectedItems>
<Item Name = "炉石" Entry = "6948"/>
<Item Name = "要塞炉石" Entry = "110560"/>
<Item Name = "达拉然炉石" Entry = "45912"/>
<Item Name = "驼鹿角鱼钩" Entry = "133713"/>
<Item Name = "古代维库指环" Entry = "133715"/>
<Item Name = "浸水的龙鳞" Entry = "133716"/>
<Item Name = "奥术鱼饵" Entry = "139175"/>
<Item Name = "雷铸爪勾枪" Entry = "138111"/>
</ProtectedItems>
<Vendors>
<Vendor Entry="32639" Name="Gnimo" X="2799.459" Y="2546.379" Z="142.6669" Nav="Fly" Type="Repair"/>
</Vendors>
<Mailboxes>
</Mailboxes>
<Hotspots>
<Hotspot X="2799.459" Y="2546.379" Z="142.6669" />
</Hotspots>
<QuestOrder>
<RunTo X="2799.459" Y="2546.379" Z="142.6669" />
<While Condition="(Me.GetSkill(Styx.SkillLine.Fishing).CurrentValue >= 1)">
</While>
<If Condition="(Me.LowestDurabilityPercent <= 0.3) || (Me.FreeBagSlots <= 3)">
<CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.Yellow, "【提醒】耐久不足或背包空间: 耐久度: " + Me.LowestDurabilityPercent);" />
<If Condition="SpellManager.CanCast(61425) || SpellManager.CanCast(61447) || SpellManager.CanCast(122708)" >
<CustomBehavior File="Message" Text="【提醒】尝试使用大象或牦牛修理。" LogColor="Lime" />
<CustomBehavior File="ForceSetVendor" DoRepair="True" DoSell="True" />
<CustomBehavior File="WaitTimer" WaitTime="2000" />
<CustomBehavior File="ForcedDismount" />
</If>
</If>
<GrindUntil Nav="Run" Condition="Me.Level >= 111.0" />
</QuestOrder>
</HBProfile>