What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

脚本制作-近战如何远距离选中目标,不攻击,然后使用任务技能

wangkaifang

New Member
Joined
Sep 18, 2016
Messages
1
以苏拉玛世界任务《枯法之争:梅瑞戴尔和琥珀谷》为例
如何在远距离选中枯法者,然后使用技能?
以下是我的代码,但是感觉不好;求教求教!!!
<While Condition="HasQuest(43807)&amp;&amp; !IsQuestCompleted(43807)">
<CustomBehavior File="Hooks\DoWhen" ActivityName="ReturningZombies" AllowUseDuringCombat="true" LogExecution="false" UseAtInterval="500" >
<CustomBehavior File="RunCode"><![CDATA[
if (Me.CurrentTarget != null && Me.CurrentTarget.Entry == 98555)
{
Lua.DoString("ExtraActionButton1:Click();");
await Coroutine.Sleep(2000);
SpellManager.ClickRemoteLocation(Me.CurrentTarget.Location);
}
]]>
</CustomBehavior>
</CustomBehavior>
<CustomBehavior File="InteractWith" MobId="98555" Range="25" CollectionDistance="25" NumOfTimes="1">
<HuntingGrounds>
<Hotspot X="1551.905" Y="4664.612" Z="148.0817" />
<Hotspot X="1502.666" Y="4731.902" Z="143.8503" />
<Hotspot X="1373.847" Y="4692.781" Z="129.6458" />
</HuntingGrounds>
</CustomBehavior>
</While>
 
Back
Top