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!

有高手看得懂吗? 脚本问额

ckzmo

New Member
Joined
Oct 18, 2013
Messages
37
这是我写的一个2个任务的测试脚本, 27136那个任务有点问题请能看懂的给点建议
27136任务流程是 NPC给你一个图腾 到指定地点杀怪 放下图腾收8个怪

<HBProfile>
<Name></Name>

<MinLevel>90</MinLevel>
<MaxLevel>101</MaxLevel>

<QuestOrder>
<PickUp QuestName="Gunship Down" GiverName="Maruut Stonebinder" QuestId="26245" GiverId="43065" />
<PickUp QuestName="元素能量" QuestId="27136" GiverName="Seer Kormo" GiverId="43397" />
<If Condition="((HasQuest(27136)) &amp;&amp; (!IsQuestCompleted(27136)))" >
<While Condition="((HasQuest(27136)) &amp;&amp; (!IsQuestCompleted(27136)))" > <----任务循环直到 完成27136 但是完成任务了也不跳出循环 应该加个什么命令呢--->
<CustomBehavior File="CombatUseItemOn" MobId1="43254" MobId2="43258" ItemId="60835" MobHpPercentLeft="99" MaxRange="8" X="759.001" Y="534.7874" Z="-69.82446" />
<CustomBehavior File="CombatUseItemOn" MobId1="43254" MobId2="43258" ItemId="60835" MobHpPercentLeft="99" MaxRange="8" X="663.0136" Y="509.0459" Z="-62.9198" />
<CustomBehavior File="CombatUseItemOn" MobId1="43254" MobId2="43258" ItemId="60835" MobHpPercentLeft="99" MaxRange="8" X="718.1192" Y="411.3026" Z="-62.93913" /> <-----这里的问题是放过几次图腾后 就不放了 导致只杀怪 --->
</While>
</If>
<If Condition="((HasQuest(26245)) &amp;&amp; (!IsQuestCompleted(26245)))" >
<CustomBehavior File="FlyTo" X="216.0158" Y="167.4895" Z="39.73314" />
<CustomBehavior File="ForcedDismount" />
<CustomBehavior File="InteractWith" QuestId="26245" MobId="43044" NumOfTimes="1" CollectionDistance="50" X="197.0669" Y="160.1366" Z="42.12129" />
<CustomBehavior File="InteractWith" QuestId="26245" MobId="43048" NumOfTimes="1" CollectionDistance="50" X="288.194" Y="322.075" Z="60.85989" />
<CustomBehavior File="InteractWith" QuestId="26245" MobId="43032" NumOfTimes="1" CollectionDistance="50" X="274.7287" Y="192.144" Z="44.66671" />
<CustomBehavior File="FlyTo" X="989.8912" Y="521.709" Z="-49.33373" />
<CustomBehavior File="ForcedDismount" />
</If>
<TurnIn QuestName="Gunship Down" QuestId="26245" TurnInName="Maruut Stonebinder" TurnInId="43065" />
<TurnIn QuestName="元素能量" QuestId="27136" GiverName="Seer Kormo" GiverId="43397" />
</QuestOrder>
</HBProfile>
 
<While Condition="IsQuestCompleted(27136)" 这里本来你就缺少了>这个符号
改成
<While Condition="((HasQuest(27136)) &amp;&amp; (!IsQuestCompleted(27136)))" >

</While Condition>改成
</While>
 
The CombatUseItemOn behavior has been deprecated, but will continue to function as originally designed. Please replace the use of the CombatUseItemOn behavior with the CombatUseItemOnV2 behavior.
E大这是意思 ?
 
Back
Top