tabina.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. --[[
  2. Script Name : soothsayertabina.lua
  3. Script Purpose : Waypoint Path for soothsayertabina.lua
  4. Script Author : Devn00b
  5. Script Date : 04/09/2020 01:54:12 AM
  6. Script Notes : Locations collected from Live
  7. Note: Added class specific callout - Dorbin 4/15/2022
  8. --]]
  9. local FIGHTER = 1
  10. local WARRIOR =2
  11. local GUARDIAN= 3
  12. local BERSERKER = 4
  13. local BRAWLER = 5
  14. local MONK = 6
  15. local BRUISER= 7
  16. local CRUSADER = 8
  17. local SHADOWKNIGHT = 9
  18. local PALADIN = 10
  19. local PRIEST = 11
  20. local CLERIC = 12
  21. local TEMPLAR = 13
  22. local INQUISITOR = 14
  23. local DRUID = 15
  24. local WARDEN = 16
  25. local FURY = 17
  26. local SHAMAN = 18
  27. local MYSTIC = 19
  28. local DEFILER = 20
  29. local MAGE = 21
  30. local SORCERER = 22
  31. local WIZARD = 23
  32. local WARLOCK = 24
  33. local ENCHANTER = 25
  34. local ILLUSIONIST = 26
  35. local COERCER = 27
  36. local SUMMONER = 28
  37. local CONJUROR = 29
  38. local NECROMANCER = 30
  39. local SCOUT = 31
  40. local ROGUE = 32
  41. local SWASHBUCKLER = 33
  42. local BRIGAND = 34
  43. local BARD = 35
  44. local TROUBADOR = 36
  45. local DIRGE = 37
  46. local PREDATOR = 38
  47. local RANGER = 39
  48. local ASSASSIN = 40
  49. local ANIMALIST = 41
  50. local BEASTLORD = 42
  51. local SHAPER = 43
  52. local CHANNELER = 44
  53. function spawn(NPC)
  54. SetPlayerProximityFunction(NPC, 8, "InRange", "LeaveRange")
  55. waypoints(NPC)
  56. end
  57. function hailed(NPC, Spawn)
  58. FaceTarget(NPC, Spawn)
  59. Seer(NPC,Spawn)
  60. end
  61. function respawn(NPC)
  62. spawn(NPC)
  63. end
  64. function InRange(NPC, Spawn) --Quest Callout
  65. if math.random(1, 100) <= 25 then
  66. FaceTarget(NPC, Spawn)
  67. SeerShout(NPC, Spawn)
  68. end
  69. end
  70. function Seer(NPC,Spawn)
  71. choice = math.random(1,2)
  72. FaceTarget(NPC, Spawn)
  73. if choice ==1 then
  74. PlayFlavor(NPC, "","", "ponder", 0, 0, Spawn)
  75. else
  76. if GetClass(Spawn)==SCOUT or GetClass(Spawn)==ROGUE or GetClass(Spawn)==SWASHBUCKLER or GetClass(Spawn)==BRIGAND or GetClass(Spawn)==BARD or GetClass(Spawn)==TROUBADOR or GetClass(Spawn)==DIRGE or GetClass(Spawn)==PREDATOR or GetClass(Spawn)==RANGER or GetClass(Spawn)==ASSASSIN or GetClass(Spawn)==ANIMALIST or GetClass(Spawn)==BEASTLORD or GetClass(Spawn)==SHAPER or GetClass(Spawn)==CHANNELER then
  77. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_scout_gf_a250f41f.mp3","Stealth, guile, and brovado shall follow you on your path to greatness.", "orate", 3335989969, 3601217765, Spawn)
  78. elseif GetClass(Spawn)==MAGE or GetClass(Spawn)==SORCERER or GetClass(Spawn)==WIZARD or GetClass(Spawn)==WARLOCK or GetClass(Spawn)==ENCHANTER or GetClass(Spawn)==ILLUSIONIST or GetClass(Spawn)==COERCER or GetClass(Spawn)==SUMMONER or GetClass(Spawn)==CONJUROR or GetClass(Spawn)==NECROMANCER then
  79. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_mage_gf_f18445ae.mp3","Clearly your intellect is your best asset. The world shall marvel at the wonders you control.", "orate", 2143349270, 291509869, Spawn)
  80. elseif GetClass(Spawn)==CLERIC or GetClass(Spawn)==TEMPLAR or GetClass(Spawn)==INQUISITOR or GetClass(Spawn)==DRUID or GetClass(Spawn)==WARDEN or GetClass(Spawn)==FURY or GetClass(Spawn)==SHAMAN or GetClass(Spawn)==MYSTIC or GetClass(Spawn)==DEFILER or GetClass(Spawn)==PRIEST then
  81. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_priest_gf_5c80506d.mp3","Your spirit is strong, as is your faith. You shall move more than mountains, you shall move souls.", "orate", 1603654197, 361421551, Spawn)
  82. elseif GetClass(Spawn)==FIGHTER or GetClass(Spawn)==WARRIOR or GetClass(Spawn)==GUARDIAN or GetClass(Spawn)==BERSERKER or GetClass(Spawn)==BRAWLER or GetClass(Spawn)==MONK or GetClass(Spawn)==BRUISER or GetClass(Spawn)==CRUSADER or GetClass(Spawn)==SHADOWKNIGHT or GetClass(Spawn)==PALADIN then
  83. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_fighter_gf_544e4a58.mp3","Epic battles await your future, but the strength of your arm shall tame them all!", "orate", 2750782728, 2274979632, Spawn)
  84. end
  85. end
  86. end
  87. function SeerShout(NPC,Spawn)
  88. if GetClass(Spawn)==SCOUT or GetClass(Spawn)==ROGUE or GetClass(Spawn)==SWASHBUCKLER or GetClass(Spawn)==BRIGAND or GetClass(Spawn)==BARD or GetClass(Spawn)==TROUBADOR or GetClass(Spawn)==DIRGE or GetClass(Spawn)==PREDATOR or GetClass(Spawn)==RANGER or GetClass(Spawn)==ASSASSIN or GetClass(Spawn)==ANIMALIST or GetClass(Spawn)==BEASTLORD or GetClass(Spawn)==SHAPER or GetClass(Spawn)==CHANNELER then
  89. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_scout_gf_a250f41f.mp3","Stealth, guile and brovado shall follow you on your path to greatness.", "orate", 3335989969, 3601217765, Spawn)
  90. elseif GetClass(Spawn)==MAGE or GetClass(Spawn)==SORCERER or GetClass(Spawn)==WIZARD or GetClass(Spawn)==WARLOCK or GetClass(Spawn)==ENCHANTER or GetClass(Spawn)==ILLUSIONIST or GetClass(Spawn)==COERCER or GetClass(Spawn)==SUMMONER or GetClass(Spawn)==CONJUROR or GetClass(Spawn)==NECROMANCER then
  91. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_mage_gf_f18445ae.mp3","Clearly your intellect is your best asset. The world shall marvel at the wonders you control.", "orate", 2143349270, 291509869)
  92. elseif GetClass(Spawn)==CLERIC or GetClass(Spawn)==TEMPLAR or GetClass(Spawn)==INQUISITOR or GetClass(Spawn)==DRUID or GetClass(Spawn)==WARDEN or GetClass(Spawn)==FURY or GetClass(Spawn)==SHAMAN or GetClass(Spawn)==MYSTIC or GetClass(Spawn)==DEFILER or GetClass(Spawn)==PRIEST then
  93. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_priest_gf_5c80506d.mp3","Your spirit is strong, as is your faith. You shall move more than mountains, you shall move souls.", "orate", 1603654197, 361421551)
  94. elseif GetClass(Spawn)==FIGHTER or GetClass(Spawn)==WARRIOR or GetClass(Spawn)==GUARDIAN or GetClass(Spawn)==BERSERKER or GetClass(Spawn)==BRAWLER or GetClass(Spawn)==MONK or GetClass(Spawn)==BRUISER or GetClass(Spawn)==CRUSADER or GetClass(Spawn)==SHADOWKNIGHT or GetClass(Spawn)==PALADIN then
  95. PlayFlavor(NPC, "voiceover/english/human_eco_good_seer/ft/eco/good/human_eco_good_seer_fighter_gf_544e4a58.mp3","Epic battles await your future, but the strength of your arm shall tame them all!", "orate", 2750782728, 2274979632)
  96. end
  97. end
  98. function respawn(NPC)
  99. spawn(NPC)
  100. end
  101. function waypoints(NPC)
  102. MovementLoopAddLocation(NPC, 797.49, -23.26, 98.44, 2, 30)
  103. MovementLoopAddLocation(NPC, 798.15, -23.26, 107.18, 2, 20)
  104. MovementLoopAddLocation(NPC, 805.71, -23.32, 107.4, 2, 0)
  105. MovementLoopAddLocation(NPC, 807.27, -23.33, 99.33, 2, 0)
  106. MovementLoopAddLocation(NPC, 819.55, -23.34, 64.6, 2, 0)
  107. MovementLoopAddLocation(NPC, 814.05, -23.27, 61.7, 2, 0)
  108. MovementLoopAddLocation(NPC, 809.61, -23.27, 62.88, 2, 0)
  109. MovementLoopAddLocation(NPC, 808.99, -23.27, 63.88, 2, 0)
  110. MovementLoopAddLocation(NPC, 809.29, -23.24, 66.71, 2, 0)
  111. MovementLoopAddLocation(NPC, 806.88, -23.27, 74, 2, 0)
  112. MovementLoopAddLocation(NPC, 798.86, -20.27, 69.6, 2, 0)
  113. MovementLoopAddLocation(NPC, 803.77, -17.27, 60.15, 2, 0)
  114. MovementLoopAddLocation(NPC, 809.55, -17.27, 51.81, 2, 0)
  115. MovementLoopAddLocation(NPC, 803.01, -17.27, 62.37, 2, 0)
  116. MovementLoopAddLocation(NPC, 798.64, -20.27, 68.82, 2, 0)
  117. MovementLoopAddLocation(NPC, 799.61, -20.27, 69.98, 2, 0)
  118. MovementLoopAddLocation(NPC, 806.66, -23.27, 73.81, 2, 0)
  119. MovementLoopAddLocation(NPC, 809.86, -23.24, 67.32, 2, 0)
  120. MovementLoopAddLocation(NPC, 813.33, -23.27, 65.58, 2, 0)
  121. MovementLoopAddLocation(NPC, 815.09, -23.27, 62.05, 2, 0)
  122. MovementLoopAddLocation(NPC, 820.09, -23.33, 64.4, 2, 0)
  123. MovementLoopAddLocation(NPC, 831.65, -23.33, 43.01, 2, 0)
  124. MovementLoopAddLocation(NPC, 835.95, -23.31, 41.23, 2, 0)
  125. MovementLoopAddLocation(NPC, 856.03, -25.25, 38.54, 2, 0)
  126. MovementLoopAddLocation(NPC, 860.98, -25.43, 37.91, 2, 0)
  127. MovementLoopAddLocation(NPC, 861.98, -25.43, 24.43, 2, 0)
  128. MovementLoopAddLocation(NPC, 848.36, -25.47, 14.77, 2, 0)
  129. MovementLoopAddLocation(NPC, 832.3, -25.43, -11.42, 2, 0)
  130. MovementLoopAddLocation(NPC, 835.61, -25.43, -23.7, 2, 0)
  131. MovementLoopAddLocation(NPC, 867.36, -25.46, -33.22, 2, 0)
  132. MovementLoopAddLocation(NPC, 875.66, -25.47, -32.07, 2, 0)
  133. MovementLoopAddLocation(NPC, 882.76, -25.46, -29.24, 2, 0)
  134. MovementLoopAddLocation(NPC, 897.46, -25.46, -19.43, 2, 0)
  135. MovementLoopAddLocation(NPC, 889.44, -25.35, -46.95, 2, 0)
  136. MovementLoopAddLocation(NPC, 882.31, -25.45, -54.72, 2, 0)
  137. MovementLoopAddLocation(NPC, 877.78, -25.49, -56.75, 2, 0)
  138. MovementLoopAddLocation(NPC, 874.21, -25.46, -58.26, 2, 0)
  139. MovementLoopAddLocation(NPC, 841.61, -25.46, -58.23, 2, 0)
  140. MovementLoopAddLocation(NPC, 812.05, -20.4, -58.23, 2, 0)
  141. MovementLoopAddLocation(NPC, 805.57, -20.4, -58.35, 2, 0)
  142. MovementLoopAddLocation(NPC, 791.84, -21.11, -57.67, 2, 0)
  143. MovementLoopAddLocation(NPC, 775.18, -20.64, -24.61, 2, 30)
  144. MovementLoopAddLocation(NPC, 791.84, -21.11, -57.67, 2, 0)
  145. MovementLoopAddLocation(NPC, 805.57, -20.4, -58.35, 2, 0)
  146. MovementLoopAddLocation(NPC, 812.05, -20.4, -58.23, 2, 0)
  147. MovementLoopAddLocation(NPC, 841.61, -25.46, -58.23, 2, 0)
  148. MovementLoopAddLocation(NPC, 874.21, -25.46, -58.26, 2, 0)
  149. MovementLoopAddLocation(NPC, 877.78, -25.49, -56.75, 2, 0)
  150. MovementLoopAddLocation(NPC, 882.31, -25.45, -54.72, 2, 0)
  151. MovementLoopAddLocation(NPC, 889.44, -25.35, -46.95, 2, 0)
  152. MovementLoopAddLocation(NPC, 897.46, -25.46, -19.43, 2, 0)
  153. MovementLoopAddLocation(NPC, 882.76, -25.46, -29.24, 2, 0)
  154. MovementLoopAddLocation(NPC, 875.66, -25.47, -32.07, 2, 0)
  155. MovementLoopAddLocation(NPC, 867.36, -25.46, -33.22, 2, 0)
  156. MovementLoopAddLocation(NPC, 835.61, -25.43, -23.7, 2, 0)
  157. MovementLoopAddLocation(NPC, 832.3, -25.43, -11.42, 2, 0)
  158. MovementLoopAddLocation(NPC, 848.36, -25.47, 14.77, 2, 0)
  159. MovementLoopAddLocation(NPC, 861.98, -25.43, 24.43, 2, 0)
  160. MovementLoopAddLocation(NPC, 860.98, -25.43, 37.91, 2, 0)
  161. MovementLoopAddLocation(NPC, 856.03, -25.25, 38.54, 2, 0)
  162. MovementLoopAddLocation(NPC, 835.95, -23.31, 41.23, 2, 0)
  163. MovementLoopAddLocation(NPC, 831.65, -23.33, 43.01, 2, 0)
  164. MovementLoopAddLocation(NPC, 820.09, -23.33, 64.4, 2, 0)
  165. MovementLoopAddLocation(NPC, 815.09, -23.27, 62.05, 2, 0)
  166. MovementLoopAddLocation(NPC, 813.33, -23.27, 65.58, 2, 0)
  167. MovementLoopAddLocation(NPC, 809.86, -23.24, 67.32, 2, 0)
  168. MovementLoopAddLocation(NPC, 806.66, -23.27, 73.81, 2, 0)
  169. MovementLoopAddLocation(NPC, 799.61, -20.27, 69.98, 2, 0)
  170. MovementLoopAddLocation(NPC, 798.64, -20.27, 68.82, 2, 0)
  171. MovementLoopAddLocation(NPC, 803.01, -17.27, 62.37, 2, 0)
  172. MovementLoopAddLocation(NPC, 809.55, -17.27, 51.81, 2, 0)
  173. MovementLoopAddLocation(NPC, 803.77, -17.27, 60.15, 2, 0)
  174. MovementLoopAddLocation(NPC, 798.86, -20.27, 69.6, 2, 0)
  175. MovementLoopAddLocation(NPC, 806.88, -23.27, 74, 2, 0)
  176. MovementLoopAddLocation(NPC, 809.29, -23.24, 66.71, 2, 0)
  177. MovementLoopAddLocation(NPC, 808.99, -23.27, 63.88, 2, 0)
  178. MovementLoopAddLocation(NPC, 809.61, -23.27, 62.88, 2, 0)
  179. MovementLoopAddLocation(NPC, 814.05, -23.27, 61.7, 2, 0)
  180. MovementLoopAddLocation(NPC, 819.55, -23.34, 64.6, 2, 0)
  181. MovementLoopAddLocation(NPC, 807.27, -23.33, 99.33, 2, 0)
  182. MovementLoopAddLocation(NPC, 805.71, -23.32, 107.4, 2, 0)
  183. MovementLoopAddLocation(NPC, 798.15, -23.26, 107.18, 2, 20)
  184. MovementLoopAddLocation(NPC, 797.49, -23.26, 98.44, 2, 30)
  185. end