Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. <While Condition="((HasQuest(13758)) && (!IsQuestCompleted(13758)))" >
  2.  
  3. <If Condition="(GetItemCount(45000) < 4)" >
  4. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6138.642" Y="1001.314" Z="148.1539" />
  5. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  6. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6138.642" Y="1001.314" Z="148.1539" />
  7. </If>
  8.  
  9. <If Condition="(GetItemCount(45000) < 4" >
  10. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6224.009" Y="1042.302" Z="148.2521" />
  11. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  12. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6224.009" Y="1042.302" Z="148.2521" />
  13. </If>
  14.  
  15. <If Condition="(GetItemCount(45000) < 4" >
  16. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6259.771" Y="995.2029" Z="149.3356" />
  17. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  18. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6259.771" Y="995.2029" Z="149.3356" />
  19. </If>
  20.  
  21. <If Condition="(GetItemCount(45000) < 4" >
  22. <CustomBehavior File="FlyTo" Distance="3" X="6283.216" Y="974.5555" Z="159.504" />
  23. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  24. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6283.216" Y="974.5555" Z="159.504" />
  25. </If>
  26.  
  27. <If Condition="(GetItemCount(45000) < 4" >
  28. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6284.188" Y="917.3234" Z="150.0614" />
  29. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  30. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6284.188" Y="917.3234" Z="150.0614" />
  31. </If>
  32.  
  33. <If Condition="(GetItemCount(45000) < 4" >
  34. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6310.133" Y="880.6295" Z="149.0396" />
  35. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  36. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6309.871" Y="880.2228" Z="149.0663" />
  37. </If>
  38.  
  39. <If Condition="(GetItemCount(45000) < 4" >
  40. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6342.218" Y="860.8906" Z="150.7731" />
  41. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  42. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="10" X="6342.218" Y="860.8906" Z="150.7731" />
  43. </If>
  44.  
  45. <If Condition="(GetItemCount(45000) < 4" >
  46. <CustomBehavior File="FlyTo" Distance="3" QuestId="13758" X="6368.168" Y="857.0884" Z="162.5025" />
  47. <CustomBehavior File="ForcedDismount" QuestId="13758" />
  48. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194213" WaitForNpcs="False" Range="10" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="15" X="6368.168" Y="857.0884" Z="162.5025" />
  49. </If>
  50.  
  51. <If Condition="(GetItemCount(45000) >= 4)" >
  52.  
  53. <CustomBehavior File="FlyTo" X="4601.406" Y="-1599.759" Z="156.9936" />
  54. <!-- <CustomBehavior File="ForcedDismount" /> this fails in water -->
  55. <CustomBehavior File="RunMacro" Macro="/dismount\n/cancelaura Flight Form\n/cancelaura Swift Flight Form" NumOfTimes="1" WaitTime="1000" />
  56. <CustomBehavior File="Misc\RunLua" Lua="UseItemByName(45000)" WaitTime="1000" />
  57. <CustomBehavior File="WaitTimer" WaitTime="20000" />
  58. <CustomBehavior File="InteractWith" QuestId="13758" MobId="194238" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="50" X="4604.894" Y="-1598.469" Z="154.9988" />
  59.  
  60. </If>
  61. <CustomBehavior File="WaitTimer" WaitTime="5000" />
  62.  
  63. </While>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement