Guest User

multiclass trainer lua

a guest
May 6th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.00 KB | None | 0 0
  1.  
  2. ​local​ npcid ​=​ ​93108
  3. ​ 
  4. ​function​ ​Class_OnGossip​(​unit​,​event​,​player​)
  5.  
  6. ​    ​if​ (player:​GetPlayerClass​() ​==​ ​"​Warrior​"​) ​then
  7. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  8. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​80​,​0​)
  9. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  10. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  11. ​        pUnit:​GossipSendMenu​(player)
  12. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Paladin​"​) ​then
  13. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  14. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​81​,​0​)
  15. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  16. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  17. ​        pUnit:​GossipSendMenu​(player)
  18. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Hunter​"​) ​then
  19. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  20. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​82​,​0​)
  21. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  22. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  23. ​        pUnit:​GossipSendMenu​(player)
  24. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Rogue​"​) ​then
  25. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  26. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​83​,​0​)
  27. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  28. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  29. ​        pUnit:​GossipSendMenu​(player)
  30. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Priest​"​) ​then
  31. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  32. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​84​,​0​)
  33. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  34. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  35. ​        pUnit:​GossipSendMenu​(player)
  36. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Death Knight​"​) ​then
  37. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  38. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​85​,​0​)
  39. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  40. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  41. ​        pUnit:​GossipSendMenu​(player)
  42. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Shaman​"​) ​then
  43. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  44. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​86​,​0​)
  45. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  46. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  47. ​        pUnit:​GossipSendMenu​(player)
  48. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Mage​"​) ​then
  49. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  50. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​87​,​0​)
  51. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  52. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  53. ​        pUnit:​GossipSendMenu​(player)
  54. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Warlock​"​) ​then
  55. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  56. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​88​,​0​)
  57. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  58. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  59. ​        pUnit:​GossipSendMenu​(player)
  60. ​    ​elseif​ (player:​GetPlayerClass​() ​==​ ​"​Druid​"​) ​then
  61. ​        pUnit:​GossipCreateMenu​(​100​, player, ​0​)
  62. ​        player:​GossipMenuAddItem​(​3​,​"​Learn All Spells​"​,​89​,​0​)
  63. ​        player:​GossipMenuAddItem​(​0​,​"​Reset Talent Points​"​,​90​,​0​)
  64. ​        player:​GossipMenuAddItem​(​2​,​"​All Done​"​,​999​,​0​)
  65. ​        pUnit:​GossipSendMenu​(player)
  66. ​    ​end
  67. ​end
  68. ​ 
  69. ​function​ ​Class_OnSelect​(​pUnit​,​event​,​player​,​id​,​intid​,​code​)
  70. ​    ​if​ (intid ​==​ ​80​) ​then
  71. ​        player:​LearnSpell​(​47436​)
  72. ​        player:​LearnSpell​(​47450​)
  73. ​        player:​LearnSpell​(​11578​)
  74. ​        player:​LearnSpell​(​47465​)
  75. ​        player:​LearnSpell​(​47502​)
  76. ​        player:​LearnSpell​(​34428​)
  77. ​        player:​LearnSpell​(​1715​)
  78. ​        player:​LearnSpell​(​2687​)
  79. ​        player:​LearnSpell​(​71​)
  80. ​        player:​LearnSpell​(​7386​)
  81. ​        player:​LearnSpell​(​355​)
  82. ​        player:​LearnSpell​(​72​)
  83. ​        player:​LearnSpell​(​47437​)
  84. ​        player:​LearnSpell​(​57823​)
  85. ​        player:​LearnSpell​(​694​)
  86. ​        player:​LearnSpell​(​2565​)
  87. ​        player:​LearnSpell​(​676​)
  88. ​        player:​LearnSpell​(​47520​)
  89. ​        player:​LearnSpell​(​20230​)
  90. ​        player:​LearnSpell​(​12678​)
  91. ​        player:​LearnSpell​(​47471​)
  92. ​        player:​LearnSpell​(​1161​)
  93. ​        player:​LearnSpell​(​871​)
  94. ​        player:​LearnSpell​(​2458​)
  95. ​        player:​LearnSpell​(​20252​)
  96. ​        player:​LearnSpell​(​47475​)
  97. ​        player:​LearnSpell​(​18499​)
  98. ​        player:​LearnSpell​(​1680​)
  99. ​        player:​LearnSpell​(​6552​)
  100. ​        player:​LearnSpell​(​47488​)
  101. ​        player:​LearnSpell​(​1719​)
  102. ​        player:​LearnSpell​(​23920​)
  103. ​        player:​LearnSpell​(​47440​)
  104. ​        player:​LearnSpell​(​3411​)
  105. ​        player:​LearnSpell​(​64382​)
  106. ​        player:​LearnSpell​(​55694​)
  107. ​        player:​LearnSpell​(​57755​)
  108. ​        player:​LearnSpell​(​674​)
  109. ​        player:​LearnSpell​(​750​)
  110. ​        player:​LearnSpell​(​5246​)
  111. ​    
  112. ​    ​if​ (player:​HasSpell​(​12294​)) ​then
  113. ​        player:​LearnSpell​(​47486​)
  114. ​    ​end
  115. ​    
  116. ​    ​if​ (player:​HasSpell​(​20243​)) ​then
  117. ​        player:​LearnSpell​(​47498​)
  118. ​    ​end
  119. ​    
  120. ​    player:​GossipComplete​()
  121. ​    ​end
  122. ​ 
  123. ​    ​if​ (intid ​==​ ​81​) ​then
  124. ​        player:​LearnSpell​(​750​)
  125. ​        player:​LearnSpell​(​48942​)
  126. ​        player:​LearnSpell​(​48782​)
  127. ​        player:​LearnSpell​(​48932​)
  128. ​        player:​LearnSpell​(​20271​)
  129. ​        player:​LearnSpell​(​498​)
  130. ​        player:​LearnSpell​(​853​)
  131. ​        player:​LearnSpell​(​1152​)
  132. ​        player:​LearnSpell​(​10278​)
  133. ​        player:​LearnSpell​(​48788​)
  134. ​        player:​LearnSpell​(​53408​)
  135. ​        player:​LearnSpell​(​48950​)
  136. ​        player:​LearnSpell​(​48936​)
  137. ​        player:​LearnSpell​(​31789​)
  138. ​        player:​LearnSpell​(​62124​)
  139. ​        player:​LearnSpell​(​54043​)
  140. ​        player:​LearnSpell​(​25780​)
  141. ​        player:​LearnSpell​(​1044​)
  142. ​        player:​LearnSpell​(​20217​)
  143. ​        player:​LearnSpell​(​48819​)
  144. ​        player:​LearnSpell​(​48801​)
  145. ​        player:​LearnSpell​(​48785​)
  146. ​        player:​LearnSpell​(​5502​)
  147. ​        player:​LearnSpell​(​20164​)
  148. ​        player:​LearnSpell​(​10326​)
  149. ​        player:​LearnSpell​(​1038​)
  150. ​        player:​LearnSpell​(​53407​)
  151. ​        player:​LearnSpell​(​48943​)
  152. ​        player:​LearnSpell​(​20165​)
  153. ​        player:​LearnSpell​(​48945​)
  154. ​        player:​LearnSpell​(​642​)
  155. ​        player:​LearnSpell​(​48947​)
  156. ​        player:​LearnSpell​(​20166​)
  157. ​        player:​LearnSpell​(​4987​)
  158. ​        player:​LearnSpell​(​48806​)
  159. ​        player:​LearnSpell​(​6940​)
  160. ​        player:​LearnSpell​(​48817​)
  161. ​        player:​LearnSpell​(​48934​)
  162. ​        player:​LearnSpell​(​48938​)
  163. ​        player:​LearnSpell​(​25898​)
  164. ​        player:​LearnSpell​(​25899​)
  165. ​        player:​LearnSpell​(​32223​)
  166. ​        player:​LearnSpell​(​31884​)
  167. ​        player:​LearnSpell​(​54428​)
  168. ​        player:​LearnSpell​(​61411​)
  169. ​        player:​LearnSpell​(​53601​)
  170. ​        player:​LearnSpell​(​33388​)
  171. ​        player:​LearnSpell​(​33391​)
  172. ​        player:​LearnSpell​(​34769​)
  173. ​        player:​LearnSpell​(​34767​)
  174. ​    
  175. ​    ​if​ (player:​GetTeam​() ​<​ ​1​) ​then
  176. ​        player:​LearnSpell​(​31801​)
  177. ​    ​else
  178. ​        player:​LearnSpell​(​53736​)
  179. ​    ​end
  180. ​    
  181. ​    ​if​ (player:​HasSpell​(​20925​)) ​then
  182. ​        player:​LearnSpell​(​48952​)
  183. ​    ​end
  184. ​    
  185. ​    ​if​ (player:​HasSpell​(​31935​)) ​then
  186. ​        player:​LearnSpell​(​48827​)
  187. ​    ​end
  188. ​    
  189. ​    ​if​ (player:​HasSpell​(​20473​)) ​then
  190. ​        player:​LearnSpell​(​48825​)
  191. ​    ​end
  192. ​    
  193. ​    player:​GossipComplete​()
  194. ​    ​end
  195. ​ 
  196. ​    ​if​ (intid ​==​ ​82​) ​then
  197. ​        player:​LearnSpell​(​8737​)
  198. ​        player:​LearnSpell​(​1494​)
  199. ​        player:​LearnSpell​(​13163​)
  200. ​        player:​LearnSpell​(​48996​)
  201. ​        player:​LearnSpell​(​49001​)
  202. ​        player:​LearnSpell​(​49045​)
  203. ​        player:​LearnSpell​(​53338​)
  204. ​        player:​LearnSpell​(​5116​)
  205. ​        player:​LearnSpell​(​27044​)
  206. ​        player:​LearnSpell​(​883​)
  207. ​        player:​LearnSpell​(​2641​)
  208. ​        player:​LearnSpell​(​6991​)
  209. ​        player:​LearnSpell​(​982​)
  210. ​        player:​LearnSpell​(​1515​)
  211. ​        player:​LearnSpell​(​19883​)
  212. ​        player:​LearnSpell​(​20736​)
  213. ​        player:​LearnSpell​(​48990​)
  214. ​        player:​LearnSpell​(​2974​)
  215. ​        player:​LearnSpell​(​6197​)
  216. ​        player:​LearnSpell​(​1002​)
  217. ​        player:​LearnSpell​(​14327​)
  218. ​        player:​LearnSpell​(​5118​)
  219. ​        player:​LearnSpell​(​49056​)
  220. ​        player:​LearnSpell​(​53339​)
  221. ​        player:​LearnSpell​(​49048​)
  222. ​        player:​LearnSpell​(​19884​)
  223. ​        player:​LearnSpell​(​34074​)
  224. ​        player:​LearnSpell​(​781​)
  225. ​        player:​LearnSpell​(​14311​)
  226. ​        player:​LearnSpell​(​1462​)
  227. ​        player:​LearnSpell​(​19885​)
  228. ​        player:​LearnSpell​(​19880​)
  229. ​        player:​LearnSpell​(​13809​)
  230. ​        player:​LearnSpell​(​13161​)
  231. ​        player:​LearnSpell​(​5384​)
  232. ​        player:​LearnSpell​(​1543​)
  233. ​        player:​LearnSpell​(​19878​)
  234. ​        player:​LearnSpell​(​49067​)
  235. ​        player:​LearnSpell​(​3034​)
  236. ​        player:​LearnSpell​(​13159​)
  237. ​        player:​LearnSpell​(​19882​)
  238. ​        player:​LearnSpell​(​58434​)
  239. ​        player:​LearnSpell​(​49071​)
  240. ​        player:​LearnSpell​(​49052​)
  241. ​        player:​LearnSpell​(​19879​)
  242. ​        player:​LearnSpell​(​19263​)
  243. ​        player:​LearnSpell​(​19801​)
  244. ​        player:​LearnSpell​(​34026​)
  245. ​        player:​LearnSpell​(​34600​)
  246. ​        player:​LearnSpell​(​34477​)
  247. ​        player:​LearnSpell​(​61006​)
  248. ​        player:​LearnSpell​(​61847​)
  249. ​        player:​LearnSpell​(​53271​)
  250. ​        player:​LearnSpell​(​60192​)
  251. ​        player:​LearnSpell​(​62757​)
  252. ​    
  253. ​    ​if​ (player:​HasSpell​(​19386​)) ​then
  254. ​        player:​LearnSpell​(​49012​)
  255. ​    ​end
  256. ​    
  257. ​    ​if​ (player:​HasSpell​(​53301​)) ​then
  258. ​        player:​LearnSpell​(​60053​)
  259. ​    ​end
  260. ​    
  261. ​    ​if​ (player:​HasSpell​(​19306​)) ​then
  262. ​        player:​LearnSpell​(​48999​)
  263. ​    ​end
  264. ​    
  265. ​    ​if​ (player:​HasSpell​(​19434​)) ​then
  266. ​        player:​LearnSpell​(​49050​)
  267. ​    ​end
  268. ​    
  269. ​    player:​GossipComplete​()
  270. ​    ​end
  271. ​ 
  272. ​    ​if​ (intid ​==​ ​83​) ​then
  273. ​        player:​LearnSpell​(​674​)
  274. ​        player:​LearnSpell​(​48668​)
  275. ​        player:​LearnSpell​(​48638​)
  276. ​        player:​LearnSpell​(​1784​)
  277. ​        player:​LearnSpell​(​48657​)
  278. ​        player:​LearnSpell​(​921​)
  279. ​        player:​LearnSpell​(​1776​)
  280. ​        player:​LearnSpell​(​26669​)
  281. ​        player:​LearnSpell​(​51724​)
  282. ​        player:​LearnSpell​(​6774​)
  283. ​        player:​LearnSpell​(​11305​)
  284. ​        player:​LearnSpell​(​1766​)
  285. ​        player:​LearnSpell​(​48676​)
  286. ​        player:​LearnSpell​(​48659​)
  287. ​        player:​LearnSpell​(​1804​)
  288. ​        player:​LearnSpell​(​8647​)
  289. ​        player:​LearnSpell​(​48691​)
  290. ​        player:​LearnSpell​(​51722​)
  291. ​        player:​LearnSpell​(​48672​)
  292. ​        player:​LearnSpell​(​1725​)
  293. ​        player:​LearnSpell​(​26889​)
  294. ​        player:​LearnSpell​(​2836​)
  295. ​        player:​LearnSpell​(​1833​)
  296. ​        player:​LearnSpell​(​1842​)
  297. ​        player:​LearnSpell​(​8643​)
  298. ​        player:​LearnSpell​(​2094​)
  299. ​        player:​LearnSpell​(​1860​)
  300. ​        player:​LearnSpell​(​57993​)
  301. ​        player:​LearnSpell​(​48674​)
  302. ​        player:​LearnSpell​(​31224​)
  303. ​        player:​LearnSpell​(​5938​)
  304. ​        player:​LearnSpell​(​57934​)
  305. ​        player:​LearnSpell​(​51723​)
  306. ​    
  307. ​    ​if​ (player:​HasSpell​(​16511​)) ​then
  308. ​        player:​LearnSpell​(​48660​)
  309. ​    ​end
  310. ​    
  311. ​    ​if​ (player:​HasSpell​(​1329​)) ​then
  312. ​        player:​LearnSpell​(​48666​)
  313. ​    ​end
  314. ​    
  315. ​    player:​GossipComplete​()
  316. ​    ​end
  317. ​ 
  318. ​    ​if​ (intid ​==​ ​84​) ​then
  319. ​        player:​LearnSpell​(​2053​)
  320. ​        player:​LearnSpell​(​48161​)
  321. ​        player:​LearnSpell​(​48123​)
  322. ​        player:​LearnSpell​(​48125​)
  323. ​        player:​LearnSpell​(​48066​)
  324. ​        player:​LearnSpell​(​586​)
  325. ​        player:​LearnSpell​(​48068​)
  326. ​        player:​LearnSpell​(​48127​)
  327. ​        player:​LearnSpell​(​48171​)
  328. ​        player:​LearnSpell​(​48168​)
  329. ​        player:​LearnSpell​(​10890​)
  330. ​        player:​LearnSpell​(​6064​)
  331. ​        player:​LearnSpell​(​988​)
  332. ​        player:​LearnSpell​(​48300​)
  333. ​        player:​LearnSpell​(​6346​)
  334. ​        player:​LearnSpell​(​48071​)
  335. ​        player:​LearnSpell​(​48135​)
  336. ​        player:​LearnSpell​(​48078​)
  337. ​        player:​LearnSpell​(​453​)
  338. ​        player:​LearnSpell​(​9484​)
  339. ​        player:​LearnSpell​(​10909​)
  340. ​        player:​LearnSpell​(​8129​)
  341. ​        player:​LearnSpell​(​48073​)
  342. ​        player:​LearnSpell​(​605​)
  343. ​        player:​LearnSpell​(​48072​)
  344. ​        player:​LearnSpell​(​48169​)
  345. ​        player:​LearnSpell​(​552​)
  346. ​        player:​LearnSpell​(​1706​)
  347. ​        player:​LearnSpell​(​48063​)
  348. ​        player:​LearnSpell​(​48162​)
  349. ​        player:​LearnSpell​(​48170​)
  350. ​        player:​LearnSpell​(​48074​)
  351. ​        player:​LearnSpell​(​48158​)
  352. ​        player:​LearnSpell​(​48120​)
  353. ​        player:​LearnSpell​(​34433​)
  354. ​        player:​LearnSpell​(​48113​)
  355. ​        player:​LearnSpell​(​32375​)
  356. ​        player:​LearnSpell​(​64843​)
  357. ​        player:​LearnSpell​(​64901​)
  358. ​        player:​LearnSpell​(​53023​)
  359. ​    
  360. ​    ​if​ (player:​HasSpell​(​34914​)) ​then
  361. ​        player:​LearnSpell​(​48160​)
  362. ​    ​end
  363. ​    
  364. ​    ​if​ (player:​HasSpell​(​47540​)) ​then
  365. ​        player:​LearnSpell​(​53007​)
  366. ​    ​end
  367. ​    
  368. ​    ​if​ (player:​HasSpell​(​724​)) ​then
  369. ​        player:​LearnSpell​(​48087​)
  370. ​    ​end
  371. ​    
  372. ​    ​if​ (player:​HasSpell​(​19236​)) ​then
  373. ​        player:​LearnSpell​(​48173​)
  374. ​    ​end
  375. ​    
  376. ​    ​if​ (player:​HasSpell​(​34861​)) ​then
  377. ​        player:​LearnSpell​(​48089​)
  378. ​    ​end
  379. ​    
  380. ​    ​if​ (player:​HasSpell​(​15407​)) ​then
  381. ​        player:​LearnSpell​(​48156​)
  382. ​    ​end
  383. ​    
  384. ​    player:​GossipComplete​()
  385. ​    ​end
  386. ​ 
  387. ​    ​if​ (intid ​==​ ​85​) ​then
  388. ​        player:​LearnSpell​(​50842​)
  389. ​        player:​LearnSpell​(​49941​)
  390. ​        player:​LearnSpell​(​49930​)
  391. ​        player:​LearnSpell​(​47476​)
  392. ​        player:​LearnSpell​(​45529​)
  393. ​        player:​LearnSpell​(​3714​)
  394. ​        player:​LearnSpell​(​56222​)
  395. ​        player:​LearnSpell​(​48743​)
  396. ​        player:​LearnSpell​(​48263​)
  397. ​        player:​LearnSpell​(​49909​)
  398. ​        player:​LearnSpell​(​66188​)
  399. ​        player:​LearnSpell​(​47528​)
  400. ​        player:​LearnSpell​(​45524​)
  401. ​        player:​LearnSpell​(​48792​)
  402. ​        player:​LearnSpell​(​57623​)
  403. ​        player:​LearnSpell​(​56815​)
  404. ​        player:​LearnSpell​(​47568​)
  405. ​        player:​LearnSpell​(​49895​)
  406. ​        player:​LearnSpell​(​50977​)
  407. ​        player:​LearnSpell​(​49576​)
  408. ​        player:​LearnSpell​(​49921​)
  409. ​        player:​LearnSpell​(​46584​)
  410. ​        player:​LearnSpell​(​49938​)
  411. ​        player:​LearnSpell​(​48707​)
  412. ​        player:​LearnSpell​(​48265​)
  413. ​        player:​LearnSpell​(​61999​)
  414. ​        player:​LearnSpell​(​42650​)
  415. ​        player:​LearnSpell​(​53428​)
  416. ​        player:​LearnSpell​(​53331​)
  417. ​        player:​LearnSpell​(​54447​)
  418. ​        player:​LearnSpell​(​53342​)
  419. ​        player:​LearnSpell​(​54446​)
  420. ​        player:​LearnSpell​(​53323​)
  421. ​        player:​LearnSpell​(​53344​)
  422. ​        player:​LearnSpell​(​70164​)
  423. ​        player:​LearnSpell​(​62158​)
  424. ​        player:​LearnSpell​(​33391​)
  425. ​        player:​LearnSpell​(​48778​)
  426. ​        player:​LearnSpell​(​51425​)
  427. ​        player:​LearnSpell​(​49924​)
  428. ​        player:​LearnSpell​(​49924​)
  429. ​    
  430. ​    ​if​ (player:​HasSpell​(​55050​)) ​then
  431. ​        player:​LearnSpell​(​55262​)
  432. ​    ​end
  433. ​    
  434. ​    ​if​ (player:​HasSpell​(​49143​)) ​then
  435. ​        player:​LearnSpell​(​55268​)
  436. ​    ​end
  437. ​    
  438. ​    ​if​ (player:​HasSpell​(​49184​)) ​then
  439. ​        player:​LearnSpell​(​51411​)
  440. ​    ​end
  441. ​    
  442. ​    ​if​ (player:​HasSpell​(​55090​)) ​then
  443. ​        player:​LearnSpell​(​55271​)
  444. ​    ​end
  445. ​        
  446. ​    ​if​ (player:​HasSpell​(​49158​)) ​then
  447. ​        player:​LearnSpell​(​51328​)
  448. ​    ​end
  449. ​ 
  450. ​    player:​GossipComplete​()
  451. ​    ​end
  452. ​ 
  453. ​    ​if​ (intid ​==​ ​86​) ​then
  454. ​        player:​LearnSpell​(​8737​)
  455. ​        player:​LearnSpell​(​49273​)
  456. ​        player:​LearnSpell​(​49238​)
  457. ​        player:​LearnSpell​(​10399​)
  458. ​        player:​LearnSpell​(​49231​)
  459. ​        player:​LearnSpell​(​58753​)
  460. ​        player:​LearnSpell​(​2484​)
  461. ​        player:​LearnSpell​(​49281​)
  462. ​        player:​LearnSpell​(​58582​)
  463. ​        player:​LearnSpell​(​49233​)
  464. ​        player:​LearnSpell​(​58790​)
  465. ​        player:​LearnSpell​(​58704​)
  466. ​        player:​LearnSpell​(​58643​)
  467. ​        player:​LearnSpell​(​49277​)
  468. ​        player:​LearnSpell​(​61657​)
  469. ​        player:​LearnSpell​(​8012​)
  470. ​        player:​LearnSpell​(​526​)
  471. ​        player:​LearnSpell​(​2645​)
  472. ​        player:​LearnSpell​(​57994​)
  473. ​        player:​LearnSpell​(​8143​)
  474. ​        player:​LearnSpell​(​49236​)
  475. ​        player:​LearnSpell​(​58796​)
  476. ​        player:​LearnSpell​(​58757​)
  477. ​        player:​LearnSpell​(​49276​)
  478. ​        player:​LearnSpell​(​57960​)
  479. ​        player:​LearnSpell​(​131​)
  480. ​        player:​LearnSpell​(​58745​)
  481. ​        player:​LearnSpell​(​6196​)
  482. ​        player:​LearnSpell​(​58734​)
  483. ​        player:​LearnSpell​(​58774​)
  484. ​        player:​LearnSpell​(​58739​)
  485. ​        player:​LearnSpell​(​58656​)
  486. ​        player:​LearnSpell​(​546​)
  487. ​        player:​LearnSpell​(​556​)
  488. ​        player:​LearnSpell​(​66842​)
  489. ​        player:​LearnSpell​(​51994​)
  490. ​        player:​LearnSpell​(​8177​)
  491. ​        player:​LearnSpell​(​58749​)
  492. ​        player:​LearnSpell​(​20608​)
  493. ​        player:​LearnSpell​(​36936​)
  494. ​        player:​LearnSpell​(​58804​)
  495. ​        player:​LearnSpell​(​49271​)
  496. ​        player:​LearnSpell​(​8512​)
  497. ​        player:​LearnSpell​(​6495​)
  498. ​        player:​LearnSpell​(​8170​)
  499. ​        player:​LearnSpell​(​66843​)
  500. ​        player:​LearnSpell​(​55459​)
  501. ​        player:​LearnSpell​(​66844​)
  502. ​        player:​LearnSpell​(​3738​)
  503. ​        player:​LearnSpell​(​2894​)
  504. ​        player:​LearnSpell​(​60043​)
  505. ​        player:​LearnSpell​(​51514​)
  506. ​    
  507. ​    ​if​ (player:​GetTeam​() ​<​ ​1​) ​then
  508. ​        player:​LearnSpell​(​32182​)
  509. ​    ​else
  510. ​        player:​LearnSpell​(​2825​)
  511. ​    ​end
  512. ​    
  513. ​    ​if​ (player:​HasSpell​(​61295​)) ​then
  514. ​        player:​LearnSpell​(​61301​)
  515. ​    ​end
  516. ​    
  517. ​    ​if​ (player:​HasSpell​(​974​)) ​then
  518. ​        player:​LearnSpell​(​49284​)
  519. ​    ​end
  520. ​    
  521. ​    ​if​ (player:​HasSpell​(​30706​)) ​then
  522. ​        player:​LearnSpell​(​57722​)
  523. ​    ​end
  524. ​    
  525. ​    ​if​ (player:​HasSpell​(​51490​)) ​then
  526. ​        player:​LearnSpell​(​59159​)
  527. ​    ​end
  528. ​    
  529. ​    player:​GossipComplete​()
  530. ​    ​end
  531. ​ 
  532. ​    ​if​ (intid ​==​ ​87​) ​then
  533. ​        player:​LearnSpell​(​42995​)
  534. ​        player:​LearnSpell​(​42833​)
  535. ​        player:​LearnSpell​(​27090​)
  536. ​        player:​LearnSpell​(​42842​)
  537. ​        player:​LearnSpell​(​33717​)
  538. ​        player:​LearnSpell​(​42873​)
  539. ​        player:​LearnSpell​(​42846​)
  540. ​        player:​LearnSpell​(​12826​)
  541. ​        player:​LearnSpell​(​28271​)
  542. ​        player:​LearnSpell​(​61780​)
  543. ​        player:​LearnSpell​(​61721​)
  544. ​        player:​LearnSpell​(​28272​)
  545. ​        player:​LearnSpell​(​61305​)
  546. ​        player:​LearnSpell​(​42917​)
  547. ​        player:​LearnSpell​(​43015​)
  548. ​        player:​LearnSpell​(​130​)
  549. ​        player:​LearnSpell​(​42921​)
  550. ​        player:​LearnSpell​(​42926​)
  551. ​        player:​LearnSpell​(​43017​)
  552. ​        player:​LearnSpell​(​475​)
  553. ​        player:​LearnSpell​(​1953​)
  554. ​        player:​LearnSpell​(​42940​)
  555. ​        player:​LearnSpell​(​12051​)
  556. ​        player:​LearnSpell​(​43010​)
  557. ​        player:​LearnSpell​(​43020​)
  558. ​        player:​LearnSpell​(​43012​)
  559. ​        player:​LearnSpell​(​42859​)
  560. ​        player:​LearnSpell​(​2139​)
  561. ​        player:​LearnSpell​(​42931​)
  562. ​        player:​LearnSpell​(​42985​)
  563. ​        player:​LearnSpell​(​43008​)
  564. ​        player:​LearnSpell​(​45438​)
  565. ​        player:​LearnSpell​(​43024​)
  566. ​        player:​LearnSpell​(​43002​)
  567. ​        player:​LearnSpell​(​43046​)
  568. ​        player:​LearnSpell​(​42897​)
  569. ​        player:​LearnSpell​(​42914​)
  570. ​        player:​LearnSpell​(​66​)
  571. ​        player:​LearnSpell​(​58659​)
  572. ​        player:​LearnSpell​(​30449​)
  573. ​        player:​LearnSpell​(​42956​)
  574. ​        player:​LearnSpell​(​47610​)
  575. ​        player:​LearnSpell​(​61316​)
  576. ​        player:​LearnSpell​(​61024​)
  577. ​        player:​LearnSpell​(​55342​)
  578. ​        player:​LearnSpell​(​53142​)
  579. ​ 
  580. ​        ​if​ (player:​GetTeam​() ​<​ ​1​) ​then
  581. ​            player:​LearnSpell​(​32271​)
  582. ​            player:​LearnSpell​(​49359​)
  583. ​            player:​LearnSpell​(​3565​)
  584. ​            player:​LearnSpell​(​33690​)
  585. ​            player:​LearnSpell​(​3562​)
  586. ​            player:​LearnSpell​(​3561​)
  587. ​            player:​LearnSpell​(​11419​)
  588. ​            player:​LearnSpell​(​32266​)
  589. ​            player:​LearnSpell​(​11416​)
  590. ​            player:​LearnSpell​(​33691​)
  591. ​            player:​LearnSpell​(​11059​)
  592. ​            player:​LearnSpell​(​49360​)
  593. ​        ​else
  594. ​            player:​LearnSpell​(​3567​)
  595. ​            player:​LearnSpell​(​35715​)
  596. ​            player:​LearnSpell​(​3566​)
  597. ​            player:​LearnSpell​(​49358​)
  598. ​            player:​LearnSpell​(​32272​)
  599. ​            player:​LearnSpell​(​3563​)
  600. ​            player:​LearnSpell​(​11417​)
  601. ​            player:​LearnSpell​(​35717​)
  602. ​            player:​LearnSpell​(​32267​)
  603. ​            player:​LearnSpell​(​49361​)
  604. ​            player:​LearnSpell​(​11420​)
  605. ​            player:​LearnSpell​(​11418​)
  606. ​        ​end
  607. ​        
  608. ​    ​if​ (player:​HasSpell​(​11366​)) ​then
  609. ​        player:​LearnSpell​(​42891​)
  610. ​    ​end
  611. ​    
  612. ​    ​if​ (player:​HasSpell​(​11426​)) ​then
  613. ​        player:​LearnSpell​(​43039​)
  614. ​    ​end
  615. ​    
  616. ​    ​if​ (player:​HasSpell​(​44457​)) ​then
  617. ​        player:​LearnSpell​(​55360​)
  618. ​    ​end
  619. ​    
  620. ​    ​if​ (player:​HasSpell​(​31661​)) ​then
  621. ​        player:​LearnSpell​(​42950​)
  622. ​    ​end
  623. ​    
  624. ​    ​if​ (player:​HasSpell​(​11113​)) ​then
  625. ​        player:​LearnSpell​(​42945​)
  626. ​    ​end
  627. ​    
  628. ​    ​if​ (player:​HasSpell​(​44425​)) ​then
  629. ​        player:​LearnSpell​(​44781​)
  630. ​    ​end
  631. ​        
  632. ​    player:​GossipComplete​()
  633. ​    ​end
  634. ​ 
  635. ​    ​if​ (intid ​==​ ​88​) ​then
  636. ​        player:​LearnSpell​(​696​)
  637. ​        player:​LearnSpell​(​47811​)
  638. ​        player:​LearnSpell​(​47809​)
  639. ​        player:​LearnSpell​(​688​)
  640. ​        player:​LearnSpell​(​47813​)
  641. ​        player:​LearnSpell​(​50511​)
  642. ​        player:​LearnSpell​(​57946​)
  643. ​        player:​LearnSpell​(​47864​)
  644. ​        player:​LearnSpell​(​6215​)
  645. ​        player:​LearnSpell​(​47878​)
  646. ​        player:​LearnSpell​(​47855​)
  647. ​        player:​LearnSpell​(​697​)
  648. ​        player:​LearnSpell​(​47856​)
  649. ​        player:​LearnSpell​(​47857​)
  650. ​        player:​LearnSpell​(​5697​)
  651. ​        player:​LearnSpell​(​47884​)
  652. ​        player:​LearnSpell​(​47815​)
  653. ​        player:​LearnSpell​(​47889​)
  654. ​        player:​LearnSpell​(​47820​)
  655. ​        player:​LearnSpell​(​698​)
  656. ​        player:​LearnSpell​(​712​)
  657. ​        player:​LearnSpell​(​126​)
  658. ​        player:​LearnSpell​(​5138​)
  659. ​        player:​LearnSpell​(​5500​)
  660. ​        player:​LearnSpell​(​11719​)
  661. ​        player:​LearnSpell​(​132​)
  662. ​        player:​LearnSpell​(​60220​)
  663. ​        player:​LearnSpell​(​18647​)
  664. ​        player:​LearnSpell​(​61191​)
  665. ​        player:​LearnSpell​(​47823​)
  666. ​        player:​LearnSpell​(​691​)
  667. ​        player:​LearnSpell​(​47865​)
  668. ​        player:​LearnSpell​(​47891​)
  669. ​        player:​LearnSpell​(​47888​)
  670. ​        player:​LearnSpell​(​17928​)
  671. ​        player:​LearnSpell​(​47860​)
  672. ​        player:​LearnSpell​(​47825​)
  673. ​        player:​LearnSpell​(​1122​)
  674. ​        player:​LearnSpell​(​47867​)
  675. ​        player:​LearnSpell​(​18540​)
  676. ​        player:​LearnSpell​(​47893​)
  677. ​        player:​LearnSpell​(​47838​)
  678. ​        player:​LearnSpell​(​29858​)
  679. ​        player:​LearnSpell​(​58887​)
  680. ​        player:​LearnSpell​(​47836​)
  681. ​        player:​LearnSpell​(​61290​)
  682. ​        player:​LearnSpell​(​48018​)
  683. ​        player:​LearnSpell​(​48020​)
  684. ​        player:​LearnSpell​(​33388​)
  685. ​        player:​LearnSpell​   (​33391​)
  686. ​        player:​LearnSpell​(​23161​)
  687. ​    
  688. ​    ​if​ (player:​HasSpell​(​17877​)) ​then
  689. ​        player:​LearnSpell​(​47827​)
  690. ​    ​end
  691. ​    
  692. ​    ​if​ (player:​HasSpell​(​30283​)) ​then
  693. ​        player:​LearnSpell​(​47847​)
  694. ​    ​end
  695. ​    
  696. ​    ​if​ (player:​HasSpell​(​30108​)) ​then
  697. ​        player:​LearnSpell​(​47843​)
  698. ​    ​end
  699. ​    
  700. ​    ​if​ (player:​HasSpell​(​50796​)) ​then
  701. ​        player:​LearnSpell​(​59172​)
  702. ​    ​end
  703. ​    
  704. ​    ​if​ (player:​HasSpell​(​48181​)) ​then
  705. ​        player:​LearnSpell​(​59164​)
  706. ​    ​end
  707. ​    
  708. ​    ​if​ (player:​HasSpell​(​18220​)) ​then
  709. ​        player:​LearnSpell​(​59092​)
  710. ​    ​end
  711. ​    
  712. ​    player:​GossipComplete​()
  713. ​    ​end
  714. ​ 
  715. ​    ​if​ (intid ​==​ ​89​) ​then
  716. ​        player:​LearnSpell​(​48378​)
  717. ​        player:​LearnSpell​(​48469​)
  718. ​        player:​LearnSpell​(​48461​)
  719. ​        player:​LearnSpell​(​48463​)
  720. ​        player:​LearnSpell​(​48441​)
  721. ​        player:​LearnSpell​(​53307​)
  722. ​        player:​LearnSpell​(​53308​)
  723. ​        player:​LearnSpell​(​5487​)
  724. ​        player:​LearnSpell​(​48560​)
  725. ​        player:​LearnSpell​(​6795​)
  726. ​        player:​LearnSpell​(​48480​)
  727. ​        player:​LearnSpell​(​53312​)
  728. ​        player:​LearnSpell​(​18960​)
  729. ​        player:​LearnSpell​(​5229​)
  730. ​        player:​LearnSpell​(​48443​)
  731. ​        player:​LearnSpell​(​50763​)
  732. ​        player:​LearnSpell​(​8983​)
  733. ​        player:​LearnSpell​(​8946​)
  734. ​        player:​LearnSpell​(​1066​)
  735. ​        player:​LearnSpell​(​48562​)
  736. ​        player:​LearnSpell​(​783​)
  737. ​        player:​LearnSpell​(​770​)
  738. ​        player:​LearnSpell​(​16857​)
  739. ​        player:​LearnSpell​(​18658​)
  740. ​        player:​LearnSpell​(​768​)
  741. ​        player:​LearnSpell​(​1082​)
  742. ​        player:​LearnSpell​(​16979​)
  743. ​        player:​LearnSpell​(​49376​)
  744. ​        player:​LearnSpell​(​5215​)
  745. ​        player:​LearnSpell​(​48477​)
  746. ​        player:​LearnSpell​(​49800​)
  747. ​        player:​LearnSpell​(​48465​)
  748. ​        player:​LearnSpell​(​48572​)
  749. ​        player:​LearnSpell​(​26995​)
  750. ​        player:​LearnSpell​(​48574​)
  751. ​        player:​LearnSpell​(​2782​)
  752. ​        player:​LearnSpell​(​50213​)
  753. ​        player:​LearnSpell​(​2893​)
  754. ​        player:​LearnSpell​(​33357​)
  755. ​        player:​LearnSpell​(​5209​)
  756. ​        player:​LearnSpell​(​48575​)
  757. ​        player:​LearnSpell​(​48447​)
  758. ​        player:​LearnSpell​(​48577​)
  759. ​        player:​LearnSpell​(​48579​)
  760. ​        player:​LearnSpell​(​5225​)
  761. ​        player:​LearnSpell​(​22842​)
  762. ​        player:​LearnSpell​(​49803​)
  763. ​        player:​LearnSpell​(​9634​)
  764. ​        player:​LearnSpell​(​20719​)
  765. ​        player:​LearnSpell​(​48467​)
  766. ​        player:​LearnSpell​(​29166​)
  767. ​        player:​LearnSpell​(​62600​)
  768. ​        player:​LearnSpell​(​22812​)
  769. ​        player:​LearnSpell​(​48470​)
  770. ​        player:​LearnSpell​(​48564​)
  771. ​        player:​LearnSpell​(​48566​)
  772. ​        player:​LearnSpell​(​33891​)
  773. ​        player:​LearnSpell​(​33943​)
  774. ​        player:​LearnSpell​(​49802​)
  775. ​        player:​LearnSpell​(​48451​)
  776. ​        player:​LearnSpell​(​48568​)
  777. ​        player:​LearnSpell​(​33786​)
  778. ​        player:​LearnSpell​(​40120​)
  779. ​        player:​LearnSpell​(​62078​)
  780. ​        player:​LearnSpell​(​52610​)
  781. ​        player:​LearnSpell​(​50464​)
  782. ​        player:​LearnSpell​(​48570​)
  783. ​    
  784. ​    ​if​ (player:​HasSpell​(​50516​)) ​then
  785. ​        player:​LearnSpell​(​61384​)
  786. ​    ​end
  787. ​    
  788. ​    ​if​ (player:​HasSpell​(​48505​)) ​then
  789. ​        player:​LearnSpell​(​53201​)
  790. ​    ​end
  791. ​    
  792. ​    ​if​ (player:​HasSpell​(​48438​)) ​then
  793. ​        player:​LearnSpell​(​53251​)
  794. ​    ​end
  795. ​    
  796. ​    ​if​ (player:​HasSpell​(​5570​)) ​then
  797. ​        player:​LearnSpell​(​48468​)
  798. ​    ​end
  799. ​    
  800. ​    player:​GossipComplete​()
  801. ​    ​end
  802. ​ 
  803. ​    ​if​ (intid ​==​ ​90​) ​then
  804. ​        player:​ResetTalents​()
  805. ​    player:​GossipComplete​()
  806. ​    ​end
  807. ​ 
  808. ​    ​if​ (intid ​==​ ​999​) ​then
  809. ​        player:​GossipComplete​()
  810. ​    ​end
  811. ​end
  812. ​ 
  813. ​RegisterCreatureGossipEvent​(npcid, ​1​, ​"​Class_OnGossip​"​)
  814. ​RegisterCreatureGossipEvent​(npcid, ​2​, ​"​Class_OnSelect​"​)
Advertisement
Add Comment
Please, Sign In to add comment