Advertisement
WIXXZI

Class Trainer Script

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