2nd_class_skills.txt 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  1. //===== eAthena Script =======================================
  2. //= New Skills Quests
  3. //===== By: ==================================================
  4. //= Lupus, Reddozen
  5. //===== Current Version: =====================================
  6. //= 1.3a
  7. //===== Compatible With: =====================================
  8. //= eAthena Revision 3800+
  9. //===== Description: =========================================
  10. //= Temp quests for new skills for 2nd classes
  11. //===== Additional Comments: =================================
  12. //= 1.0 for fully working skills only [Lupus]
  13. //= 1.1 Added more new skill quests for more classes [Lupus]
  14. //= Somehow eA engine doesn't let you keep learn't skill V_V'
  15. //= 1.2 Added to correct locations, correct NPC's, fixed
  16. //= some of the items required and made them into real
  17. //= quests. [Reddozen]
  18. //= 1.3 Fixed bugs and minor typos. Optimized [Lupus]
  19. //= 1.3a fixed an item ID typo, thx 2Spiritual Kid
  20. //============================================================
  21. //============================================================
  22. // SAGE SKILL - CREATE CONVERTER + ELEMENTAL CHARGE
  23. //============================================================
  24. yuno_in03.gat,176,24,3 script Mischna 755,{
  25. mes "[Mischna]";
  26. if(BaseJob!=Job_Sage) goto L_sageno;
  27. if(getskilllv(1007)) goto L_elemental;
  28. mes "I can teach you a new skill";
  29. mes "that I discovered, but you";
  30. mes "will need to bring me a few";
  31. mes "things to complete the";
  32. mes "process.";
  33. next;
  34. mes "[Mischna]";
  35. mes "We will need:";
  36. mes "10 Scorpion Tails";
  37. mes "7 Horns";
  38. mes "12 Rainbow Shells";
  39. mes "10 Snail Shells";
  40. mes "4 Blank Scrolls";
  41. next;
  42. mes "[Mischna]";
  43. mes "Let me check your items.";
  44. next;
  45. if(countitem(904)<10 || countitem(947)<7 || countitem(1013)<12 || countitem(946)<10 || countitem(7433)<4) goto L_noitems;//Items: Scorpion_Tail, Horn, Rainbow_Shell, Snail's_Shell, Blank_Scroll,
  46. delitem 904, 10;//Items: Scorpion_Tail,
  47. delitem 947, 7;//Items: Horn,
  48. delitem 1013, 12;//Items: Rainbow_Shell,
  49. delitem 946, 10;//Items: Snail's_Shell,
  50. delitem 7433, 4;//Items: Blank_Scroll,
  51. mes "[Mischna]";
  52. mes "I see you have what we need,";
  53. mes "so I'll teach you this new";
  54. mes "talent of mine!";
  55. skill 1007,1,0;
  56. next;
  57. mes "[Mischna]";
  58. mes "Do you feel more in tune";
  59. mes "with nature?";
  60. close;
  61. L_noitems:
  62. mes "[Mischna]";
  63. mes "You dont have enough items.";
  64. mes "Come back when you have all";
  65. mes "the required items for me.";
  66. close;
  67. L_sageno:
  68. mes "Hi I'm Mischna. How are you?";
  69. mes "Please enjoy your stay here";
  70. mes "within the walls of the great";
  71. mes "Sage's guild.";
  72. close;
  73. L_sagefail:
  74. mes "[Mischna]";
  75. mes "You dont have enough items.";
  76. mes "Come back when you have all";
  77. mes "the required items for me.";
  78. mes "to give you this power over";
  79. mes "the elements.";
  80. close;
  81. L_alreadyhave:
  82. mes "You are such a wonderfull";
  83. mes "student. It's too bad I have";
  84. mes "nothing more to teach you.";
  85. close;
  86. L_elemental:
  87. if(getskilllv(1008) || getskilllv(1017) || getskilllv(1018) || getskilllv(1019)) goto L_alreadyhave;
  88. mes "I have one more skill that";
  89. mes "I can teach you, but you";
  90. mes "will need to bring me one of";
  91. mes "these sets in return...";
  92. next;
  93. mes "[Mischna]";
  94. mes "I can only except one set.";
  95. mes "20 Red blood (fire)";
  96. mes "20 Crystal Blue (water)";
  97. mes "20 Wind of Verdure (Wind)";
  98. mes "20 Green Live (Earth)";
  99. next;
  100. mes "[Mischna]";
  101. mes "Rember that I can only teach";
  102. mes "you one, so Choose carefully!";
  103. next;
  104. menu "Water Charge",sage_1, "Earth Charge",sage_2, "Fire Charge",sage_3, "Wind Charge",sage_4;
  105. sage_1:
  106. if(countitem(991)<20)goto L_sagefail;//Items: Crystal_Blue,
  107. delitem 991, 20; //Items: Crystal_Blue,
  108. skill 1008,1,0;
  109. goto L_alreadyhave;
  110. sage_2:
  111. if(countitem(993)<20)goto L_sagefail;//Items: Green_Live,
  112. delitem 993, 20;//Items: Green_Live,
  113. skill 1017,1,0;
  114. goto L_alreadyhave;
  115. sage_3:
  116. if(countitem(990)<20)goto L_sagefail;//Items: Red_Blood,
  117. delitem 990, 20;//Items: Red_Blood,
  118. skill 1018,1,0;
  119. goto L_alreadyhave;
  120. sage_4:
  121. if(countitem(992)<20)goto L_sagefail;//Items: Wind_of_Verdure,
  122. delitem 992, 20;//Items: Wind_of_Verdure,
  123. skill 1019,1,0;
  124. goto L_alreadyhave;
  125. }
  126. //============================================================
  127. // HUNTER SKILL - PHANTASMIC ARROW
  128. //============================================================
  129. payon_in02.gat,54,13,7 script Master Kabac 55,{
  130. mes "[Master Kabac]";
  131. if(BaseJob!=Job_Hunter) goto L_hunterno;
  132. if(getskilllv(1009)) goto L_alreadyhave;
  133. if(JobLevel<40) goto L_nojob;
  134. mes "I can teach you a secret";
  135. mes "technique pased down through";
  136. mes "my family for generation. My";
  137. mes "family has guarded this secret";
  138. mes "for years, but I could teach";
  139. mes "for a few supplies.";
  140. next;
  141. mes "[Master Kabac]";
  142. mes "I am running low on on a few";
  143. mes "things. Here is my list:";
  144. mes "5 Cursed Rubys";
  145. mes "5 Harpy's Feathers";
  146. mes "30 Pet Food";
  147. next;
  148. mes "[Master Kabac]";
  149. mes "Let me check your items.";
  150. next;
  151. if(countitem(724)<5 || countitem(7115)<5 || countitem(537)<30) goto L_noitems;//Items: Cursed_Ruby, Harpy_Feather, Pet_Food,
  152. delitem 724, 5;//Items: Cursed_Ruby,
  153. delitem 7115, 5;//Items: Harpy_Feather,
  154. delitem 537, 30;//Items: Pet_Food,
  155. mes "[Master Kabac]";
  156. mes "I see you have what you need,";
  157. mes "so I'll teach you my talent.";
  158. skill 1009,1,0;
  159. close;
  160. L_noitems:
  161. mes "[Master Kabac]";
  162. mes "You dont have enough items.";
  163. mes "Come back when you have all";
  164. mes "the required items for me.";
  165. close;
  166. L_nojob:
  167. mes "Come back when you've Learned";
  168. mes "more about being a Hunter.";
  169. mes "You need to have at least 40";
  170. mes "levels as a hunter first.";
  171. close;
  172. L_alreadyhave:
  173. mes "Ahh, my apprentence, you";
  174. mes "came to visit me...";
  175. close;
  176. L_hunterno:
  177. mes "Is there something I can";
  178. mes "help you with? I believe";
  179. mes "you have the wrong old man.";
  180. close;
  181. }
  182. //============================================================
  183. // BLACKSMITH SKILL - GREED + UNFAIR TRICK
  184. //============================================================
  185. //== DOODDAY - GREED SKILL ===================================
  186. geffen.gat,172,53,7 script Goodday 826,{
  187. mes "[Goodday]";
  188. if(BaseJob!=Job_Blacksmith) goto L_nosmith;
  189. if(getskilllv(1013)) goto L_alreadyhave;
  190. if(Weight < 5000 || (Weight > MaxWeight-MaxWeight/10)) goto L_notstrong;
  191. mes "You look pretty strong, so I'll";
  192. mes "teach you a little trick I found";
  193. mes "while watching some wizards move";
  194. mes "things around without lifting a";
  195. mes "finger!";
  196. skill 1013,1,0;
  197. close;
  198. L_notstrong:
  199. mes "Come back when you're strong";
  200. mes "enough to handle the weight";
  201. mes "of my ability. You will need";
  202. mes "to be able to carry over 5000";
  203. mes "weight, and not be over 90%.";
  204. close;
  205. L_nosmith:
  206. mes "Geffen is such a great town.";
  207. mes "Don't you think so too?";
  208. next;
  209. emotion 23;
  210. mes "[Goodday]";
  211. mes "WHAT...";
  212. mes "You don't!";
  213. close;
  214. L_alreadyhave:
  215. mes "I've already tought you";
  216. mes "everything I know, so I";
  217. mes "need to get back to my";
  218. mes "work.";
  219. close;
  220. }
  221. //== AKI - UNFAIR TRICK SKILL ==================================
  222. geffen.gat,178,72,7 script Aki 726,{
  223. mes "[Aki]";
  224. if(BaseJob!=Job_Blacksmith) goto L_nosmith;
  225. if(getskilllv(1012)) goto L_alreadyhave;
  226. if(getskilllv(1013)<1) goto L_nogreed;
  227. if(JobLevel<30) goto L_nojob;
  228. mes "We're going to need a few things";
  229. mes "for this lesson. Bring me:";
  230. mes "2 Steel";
  231. mes "8 Coal";
  232. mes "2 Iron Hammers";
  233. mes "1 Detrimindexta";
  234. mes "500 Zeny";
  235. next;
  236. mes "[Aki]";
  237. mes "Let me check your items.";
  238. next;
  239. if(countitem(999)<2 || countitem(1003)<8 || countitem(613)<2 || countitem(971)<1 || zeny<500) goto L_noitems;//Items: Steel, Coal, Iron_Hammer, Detrimindexta,
  240. delitem 999, 2;//Items: Steel,
  241. delitem 1003, 8;//Items: Coal,
  242. delitem 613, 2;//Items: Iron_Hammer,
  243. delitem 971, 1;//Items: Detrimindexta,
  244. set zeny, zeny-500;
  245. mes "[Aki]";
  246. mes "Good, You brought everything";
  247. mes "with you already! We'll start";
  248. mes "the process now.";
  249. skill 1012,1,0;
  250. next;
  251. specialeffect 183;
  252. mes "Wow, you're a fast learner.";
  253. mes "Enjoy your new talents!";
  254. close;
  255. L_noitems:
  256. mes "[Aki]";
  257. mes "You dont have enough items.";
  258. mes "Come back when you have all";
  259. mes "the required items for me.";
  260. close;
  261. L_nosmith:
  262. mes "Don't mind Goodday overthere.";
  263. mes "He thinks everyone should like";
  264. mes "this boring place!";
  265. emotion e_laugh;
  266. close;
  267. L_nogreed:
  268. mes "If you're looking for more";
  269. mes "to learn, then you should";
  270. mes "talk to Goodday over there";
  271. close;
  272. L_alreadyhave:
  273. mes "WOW, I guess you've learned";
  274. mes "all that the Blacksmith's of";
  275. mes "Geffen can teach. Good luck";
  276. mes "with your travels.";
  277. close;
  278. L_nojob:
  279. mes "Come back when you've Learned";
  280. mes "more about being a blacksmith.";
  281. mes "You will need a Job level of at";
  282. mes "least lv 30 to learn what I";
  283. mes "know.";
  284. close;
  285. }
  286. //============================================================
  287. // CRUSADER SKILL - SHRINK
  288. //============================================================
  289. geffen.gat,110,118,3 script Ford 752,{
  290. mes "[Ford]";
  291. if(BaseJob!=Job_Crusader) goto L_nocruz;
  292. if(getskilllv(1002)) goto L_alreadyhave;
  293. mes "Maybe I'll teach you a little skill";
  294. mes "if you bring me a few things...";
  295. mes "Bring me these items and we'll";
  296. mes "see if I feel like giving it to you.";
  297. next;
  298. mes "[Ford]";
  299. mes "1 Red Potion";
  300. mes "20 Sticky Mucus";
  301. mes "3 Empty Bottles";
  302. mes "5 Jellopies";
  303. mes "1 Unripe Apple";
  304. mes "1 Grape";
  305. mes "1 Coal";
  306. mes "3 Cyfars";
  307. next;
  308. mes "[Ford]";
  309. mes "Let me check your items.";
  310. next;
  311. if(countitem(501)<1 || countitem(938)<20 || countitem(713)<3 || countitem(909)<5 || countitem(619)<1 || countitem(514)<1 || countitem(1003)<1 || countitem(7053)<3)goto L_noitems;//Items: Red_Potion, Sticky_Mucus, Empty_Bottle, Jellopy, Unripe_Apple, Grape, Coal, Cyfar,
  312. delitem 501, 1;//Items: Red_Potion,
  313. delitem 938, 20;//Items: Sticky_Mucus,
  314. delitem 713, 3;//Items: Empty_Bottle,
  315. delitem 909, 5;//Items: Jellopy,
  316. delitem 619, 1;//Items: Unripe_Apple,
  317. delitem 514, 1;//Items: Grape,
  318. delitem 1003, 1;//Items: Coal,
  319. delitem 7053, 3;//Items: Cyfar,
  320. mes "[Ford]";
  321. mes "Time to roll my lucky dice.";
  322. mes "Good luck, I almost never lose.";
  323. //TODO: add DICE emotions? 8)
  324. emotion 29;
  325. next;
  326. if(rand(1,6)!=3) goto L_lose;
  327. emotion 58;
  328. next;
  329. skill 1002,1,0;
  330. mes "[Ford]";
  331. mes "I can't believe I lost!";
  332. mes "I NEVER lose...";
  333. emotion 28;
  334. close;
  335. L_noitems:
  336. mes "[Ford]";
  337. mes "You dont have enough items.";
  338. mes "Come back when you have all";
  339. mes "the required items for me.";
  340. close;
  341. L_lose:
  342. emotion 63;
  343. next;
  344. mes "[Ford]";
  345. mes "I win again!!";
  346. mes "I'm not teaching you";
  347. mes "anything this time. Come";
  348. mes "back if you want to Try";
  349. mes "again";
  350. close;
  351. L_nocruz:
  352. mes "If you are not a Crusader,";
  353. mes "then you have no business";
  354. mes "with me...";
  355. close;
  356. L_alreadyhave:
  357. mes "Hey, you were lucky I";
  358. mes "even tought you the";
  359. mes "skill I did! Don't press";
  360. mes "your luck.";
  361. close;
  362. }
  363. //============================================================
  364. // MONK - KI TRANSLATION + KI EXPLOSION
  365. //============================================================
  366. monk_test.gat,316,69,3 script Krate 823,{
  367. mes "[Krate]";
  368. if(BaseJob!=Job_Monk) goto L_nomonk;
  369. if(getskilllv(1015) && getskilllv(1016)) goto L_alreadyhave;
  370. if(monk_skill) goto L_verif;
  371. if(Weight>0) goto L_heavymonk;
  372. mes "I'll teach you all I know, but you must bring me:";
  373. mes "40 Stems";
  374. mes "3 Shoots";
  375. set monk_skill, 1;
  376. next;
  377. goto L_verif;
  378. L_verif:
  379. mes "Let me check your items.";
  380. next;
  381. if(countitem(711)<3 || countitem(905)<40) goto L_noitems;//Items: Shoot, Stem,
  382. delitem 711, 3;//Items: Shoot,
  383. delitem 905, 40;//Items: Stem,
  384. next;
  385. mes "[Krate]";
  386. mes "I see you have what you need,";
  387. mes "so I'll teach you my talent.";
  388. skill 1015,1,0;
  389. skill 1016,1,0;
  390. set monk_skill, 0;
  391. close;
  392. L_noitems:
  393. mes "[Krate]";
  394. mes "You dont have enough items.";
  395. mes "Come back when you have all";
  396. mes "the required items for me.";
  397. close;
  398. L_nomonk:
  399. mes "It's seems that your soul is disagree with your body";
  400. mes "come back when your body and your soul will be like Ying and Yang.";
  401. emotion e_gasp;
  402. close;
  403. L_alreadyhave:
  404. mes "I've already tought you";
  405. mes "everything I know...";
  406. close;
  407. L_heavymonk:
  408. mes "Come back when you've cleansed";
  409. mes "youself of your worldly possesions";
  410. close;
  411. }
  412. //============================================================
  413. // ALCHEMIST - ELEMENTAL POTION CREATION
  414. //============================================================
  415. yuno_in04.gat,33,108,5 script Pislik 750,{
  416. mes "[Pislik]";
  417. if(BaseJob!=Job_Alchem) goto L_noalche;
  418. if(countitem(7434)) goto L_alreadyhave;//Items: Elemental_Potion_Creation_Guide,
  419. if(JobLevel<40) goto L_nojob;
  420. mes "I'll teach you all I know, but";
  421. mes "you have to bring me some things";
  422. mes "first.";
  423. mes "5 Yellow Gemstones";
  424. mes "4 Empty Potion Bottles";
  425. mes "10 Hearts of Mermaid";
  426. mes "10 Moth Dust";
  427. mes "20 Maneater Blossoms";
  428. mes "1 Geek Glasses";
  429. next;
  430. mes "[Pislik]";
  431. mes "Let me check your items.";
  432. next;
  433. if(countitem(715)<5 || countitem(1093)<4 || countitem(950)<10 || countitem(1057)<10 || countitem(1032)<20 || countitem(2243)<1) goto L_noitems;//Items: Yellow_Gemstone, Empty_Potion_Bottle, Heart_of_Mermaid, Moth_Dust, Maneater_Blossom, Geek_Glasses,
  434. delitem 715, 5;//Items: Yellow_Gemstone,
  435. delitem 1093, 4;//Items: Empty_Potion_Bottle,
  436. delitem 950, 10;//Items: Heart_of_Mermaid,
  437. delitem 1057, 10;//Items: Moth_Dust,
  438. delitem 1032, 20;//Items: Maneater_Blossom,
  439. delitem 2243, 1;//Items: Geek_Glasses,
  440. getitem 7434, 1;//Items: Elemental_Potion_Creation_Guide,
  441. mes "[Pislik]";
  442. mes "I see you have what you need,";
  443. mes "so I'll give you my manual.";
  444. close;
  445. L_noitems:
  446. mes "[Pislik]";
  447. mes "You dont have enough items.";
  448. mes "Come back when you have all";
  449. mes "the required items for me.";
  450. close;
  451. L_noalche:
  452. mes "Sorry, but my knowledge its only about alchemy.";
  453. mes "I can't help you.";
  454. emotion e_gasp;
  455. close;
  456. L_alreadyhave:
  457. mes "I've already given you";
  458. mes "my Elemental Potion Creation Guide...";
  459. close;
  460. L_nojob:
  461. mes "Come back when you've learned";
  462. mes "more about being an Alchemist.";
  463. close;
  464. }
  465. //prontera.gat,147,135,6 script Skill Master 749,{
  466. // //Rocker Egg x 2
  467. // callfunc "F_Skill2Quest","Skill Master", 238,"Basis of Life", Job_Alchem, 9011,2, //250000;
  468. // end;
  469. //}
  470. //============================================================
  471. // ASSASSIN - SONIC ACCELERATION + THROW VENOM KNIFE
  472. //============================================================
  473. in_moc_16.gat,14,21,3 script Kiltin 884,{
  474. mes "[Kiltin]";
  475. if(BaseJob!=Job_Assassin) goto L_nosin;
  476. if(getskilllv(1003) && getskilllv(1004)) goto L_alreadyhave;
  477. mes "I'll teach you all I know, but";
  478. mes "you need to steal some things";
  479. mes "for me:";
  480. mes "3 Sapphires";
  481. mes "1 Ruby";
  482. next;
  483. mes "[Kiltin]";
  484. mes "Let me check your items.";
  485. next;
  486. if(countitem(726)<3 || countitem(723)<1) goto L_noitems;//Items: Sapphire, Ruby,
  487. delitem 726, 3;//Items: Sapphire,
  488. delitem 723, 1;//Items: Ruby,
  489. mes "[Kiltin]";
  490. mes "I see you have what you need,";
  491. mes "so I'll teach you my talent.";
  492. skill 1003,1,0;
  493. skill 1004,1,0;
  494. close;
  495. L_noitems:
  496. mes "[Kiltin]";
  497. mes "You dont have enough items.";
  498. mes "Come back when you have all";
  499. mes "the required items for me.";
  500. close;
  501. L_nosin:
  502. mes "Sorry, but I'm on service of Shadowmen.";
  503. emotion e_gasp;
  504. close;
  505. L_alreadyhave:
  506. mes "I've already tought you";
  507. mes "everything I know...";
  508. close;
  509. }
  510. //============================================================
  511. // BARD - PANG VOICE
  512. //============================================================
  513. prontera.gat,134,328,7 script Timid man 89,{
  514. mes "[Timid man]";
  515. if(BaseJob!=Job_Bard) goto L_nobard;
  516. if(getskilllv(1010)) goto L_alreadyhave;
  517. if(JobLevel<40) goto L_nojob;
  518. mes "I'll teach you all I know, but";
  519. mes "I'm a little thirsty. Bring me";
  520. mes "1 Tropical Sograt";
  521. next;
  522. mes "[Timid man]";
  523. mes "Let me check your items.";
  524. next;
  525. if (countitem(12112)<1) goto L_noitems;//Items: Tropical_Sograt,
  526. delitem 12112, 1;//Items: Tropical_Sograt,
  527. mes "[Timid man]";
  528. mes "I see you have what you need,";
  529. mes "so I'll teach you my talent.";
  530. skill 1010,1,0;
  531. close;
  532. L_noitems:
  533. mes "[Timid man]";
  534. mes "You dont have enough items.";
  535. mes "Come back when you have all";
  536. mes "the required items for me.";
  537. close;
  538. L_nobard:
  539. mes "Hum... you don't seems to be a musician";
  540. emotion e_gasp;
  541. close;
  542. L_alreadyhave:
  543. mes "I've already tought you";
  544. mes "everything I know...";
  545. close;
  546. L_nojob:
  547. mes "Come back when you've learned";
  548. mes "more about being a bard.";
  549. close;
  550. }
  551. //============================================================
  552. // DANCER - WINK OF CHARM
  553. //============================================================
  554. comodo.gat,205,171,7 script Chanel 724,{
  555. mes "[Chanel]";
  556. if(BaseJob!=Job_Dancer) goto L_nodancer;
  557. if(getskilllv(1011)) goto L_alreadyhave;
  558. mes "I'll teach you all I know for:";
  559. mes "1 Crystal Mirror";
  560. mes "1 Alcohol";
  561. mes "1 China";
  562. mes "1 Apple";
  563. mes "3 Bananas";
  564. mes "5 Well-baked Cookies";
  565. next;
  566. mes "[Chanel]";
  567. mes "Let me check your items.";
  568. next;
  569. if(countitem(747)<1 || countitem(970)<1 || countitem(736)<1 || countitem(512)<1 || countitem(513)<3 || countitem(538)<5) goto L_noitems;//Items: Crystal_Mirror, Alcohol, China, Apple, Banana, Well-baked_Cookie,
  570. delitem 747, 1;//Items: Crystal_Mirror,
  571. delitem 970, 1;//Items: Alcohol,
  572. delitem 736, 1;//Items: China,
  573. delitem 512, 1;//Items: Apple,
  574. delitem 513, 3;//Items: Banana,
  575. delitem 538, 5;//Items: Well-baked_Cookie,
  576. mes "[Chanel]";
  577. mes "I see you have what you need,";
  578. mes "so I'll teach you my talent.";
  579. skill 1011,1,0;
  580. close;
  581. L_noitems:
  582. mes "[Chanel]";
  583. mes "You dont have enough items.";
  584. mes "Come back when you have all";
  585. mes "the required items for me.";
  586. close;
  587. L_nodancer:
  588. mes "Hum... you don't seems to be a musician";
  589. emotion e_gasp;
  590. close;
  591. L_alreadyhave:
  592. mes "I've already tought you";
  593. mes "everything I know...";
  594. close;
  595. }
  596. //============================================================
  597. // KNIGHT - CHARGE ATTACK
  598. //============================================================
  599. prt_in.gat,84,98,3 script Esope 734,{
  600. mes "[Esope]";
  601. if(BaseJob!=Job_Knight) goto L_noknight;
  602. if(getskilllv(1001)) goto L_alreadyhave;
  603. mes "I'll teach you all I know for:";
  604. mes "5 Candy canes";
  605. mes "3 Witherless Roses";
  606. next;
  607. mes "[Esope]";
  608. mes "Let me check your items.";
  609. next;
  610. if(countitem(530)<5 || countitem(748)<3)goto L_noitems;//Items: Candy_Cane, Witherless_Rose,
  611. delitem 530, 5;//Items: Candy_Cane,
  612. delitem 748, 3;//Items: Witherless_Rose,
  613. mes "[Esope]";
  614. mes "I see you have what you need,";
  615. mes "so I'll teach you my talent.";
  616. skill 1001,1,0;
  617. close;
  618. L_noitems:
  619. mes "[Esope]";
  620. mes "You dont have enough items.";
  621. mes "Come back when you have all";
  622. mes "the required items for me.";
  623. close;
  624. L_noknight:
  625. mes "Looking for your master?";
  626. emotion e_gasp;
  627. close;
  628. L_alreadyhave:
  629. mes "I've already tought you";
  630. mes "everything I know...";
  631. close;
  632. }
  633. //============================================================
  634. // ROGUE - CLOSE CONFINE
  635. //============================================================
  636. in_rogue.gat,387,94,3 script Hyzaragrack 84,{
  637. mes "[Hyzaragrack]";
  638. if(BaseJob!=Job_Rogue) goto L_norogue;
  639. if(getskilllv(1005)) goto L_alreadyhave;
  640. mes "I'll teach you all I know, but";
  641. mes "you'll have to steel some things";
  642. mes "for me first...";
  643. mes "5 Immortal Hearts";
  644. mes "5 Stone Hearts";
  645. mes "2 Burning hearts";
  646. next;
  647. mes "[Hyzaragrack]";
  648. mes "Let me check your items.";
  649. next;
  650. if(countitem(929)<5 || countitem(953)<5 || countitem(7097)<2) goto L_noitems;//Items: Immortal_Heart, Stone_Heart, Burning_Heart,
  651. delitem 929, 5;//Items: Immortal_Heart,
  652. delitem 953, 5;//Items: Stone_Heart,
  653. delitem 7097, 2;//Items: Burning_Heart,
  654. mes "[Hyzaragrack]";
  655. mes "I see you have what you need,";
  656. mes "so I'll teach you my talent.";
  657. skill 1005,1,0;
  658. close;
  659. L_noitems:
  660. mes "[Hyzaragrack]";
  661. mes "You dont have enough items.";
  662. mes "Come back when you have all";
  663. mes "the required items for me.";
  664. close;
  665. L_norogue:
  666. mes "Looking for your master?";
  667. emotion e_gasp;
  668. close;
  669. L_alreadyhave:
  670. mes "I've already tought you";
  671. mes "everything I know...";
  672. close;
  673. }
  674. //============================================================
  675. // WIZARD - SIGHTBLASTER
  676. //============================================================
  677. gef_tower.gat,116,37,1 script Nyao 748,{
  678. mes "[Nyao]";
  679. if(BaseJob!=Job_Wizard) goto L_nowiz;
  680. if(getskilllv(1006)) goto L_alreadyhave;
  681. mes "I'll teach you all I know for:";
  682. mes "10 Crystal Blue";
  683. mes "10 Green Live";
  684. mes "10 Red Blood";
  685. mes "10 Wind of Verdure";
  686. next;
  687. mes "[Nyao]";
  688. mes "Let me check your items.";
  689. next;
  690. if(countitem(990)<10 || countitem(991)<10 || countitem(992)<10 || countitem(993)<10) goto L_noitems;//Items: Red_Blood, Crystal_Blue, Wind_of_Verdure, Green_Live,
  691. delitem 990, 10;//Items: Red_Blood,
  692. delitem 991, 10;//Items: Crystal_Blue,
  693. delitem 992, 10;//Items: Wind_of_Verdure,
  694. delitem 993, 10;//Items: Green_Live,
  695. mes "[Nyao]";
  696. mes "I see you have what you need,";
  697. mes "so I'll teach you my talent.";
  698. skill 1006,1,0;
  699. close;
  700. L_noitems:
  701. mes "[Nyao]";
  702. mes "You dont have enough items.";
  703. mes "Come back when you have all";
  704. mes "the required items for me.";
  705. close;
  706. L_nowiz:
  707. mes "You must have the magical power.";
  708. emotion e_gasp;
  709. close;
  710. L_alreadyhave:
  711. mes "I've already tought you";
  712. mes "everything I know...";
  713. close;
  714. }
  715. //============================================================
  716. // PRIEST - REDEMPTIO
  717. //============================================================
  718. prt_church.gat,111,112,3 script Nun Linus 79,{
  719. mes "[Nun Linus]";
  720. if(BaseJob!=Job_Priest) goto L_nopriest;
  721. if(getskilllv(1014)) goto L_alreadyhave;
  722. if(getskilllv(54)<1) goto L_norez;
  723. mes "I can teach you the mercy of God";
  724. mes "if you bring me a couple things,";
  725. mes "and if God finds you worthy!";
  726. mes "1 Blue Gemstone";
  727. mes "1 Holy Water";
  728. next;
  729. mes "[Nun Linus]";
  730. mes "Let me check your items.";
  731. next;
  732. if(countitem(717)<1 || countitem(523)<1) goto L_noitems;//Items: Blue_Gemstone, Holy_Water,
  733. delitem 717, 1;//Items: Blue_Gemstone,
  734. delitem 523, 1;//Items: Holy_Water,
  735. mes "[Nun Linus]";
  736. mes "I see you have what you need,";
  737. mes "so we shall see if God finds";
  738. mes "you worthy yet!";
  739. next;
  740. if(rand(100)<JobLevel+25) goto L_bless;
  741. mes "[Nun Linus]";
  742. mes "Sorry, but God has not";
  743. mes "shined on you as of yet.";
  744. mes "Try again when you are a";
  745. mes "stronger Priest.";
  746. close;
  747. L_bless:
  748. mes "[Nun Linus]";
  749. mes "Hum... I see god is shined on you this time";
  750. skill 1014,1,0;
  751. close;
  752. L_noitems:
  753. mes "[Nun Linus]";
  754. mes "You dont have enough items.";
  755. mes "Come back when you have all";
  756. mes "the required items for me.";
  757. close;
  758. L_nopriest:
  759. mes "Sorry, you need to have some faith in God.";
  760. emotion e_gasp;
  761. close;
  762. L_alreadyhave:
  763. mes "I've already tought you";
  764. mes "everything I know...";
  765. close;
  766. L_norez:
  767. mes "Come back when you've learned";
  768. mes "more about priest and God.";
  769. close;
  770. }