ninja.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. //===== eAthena Script =======================================
  2. //= Ninja Job Quest
  3. //===== By: ==================================================
  4. //= Legionaire, Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  9. //===== Description: =========================================
  10. //= Ninja Job Change Quest
  11. //===== Additional Comments: =================================
  12. //= 1.1 Optimized, updated, checked [Lupus]
  13. //= 1.2 Added Akagi [Playtester]
  14. //= 1.3 Updated dialogs to official ones and optimized [SinSloth]
  15. //= 1.4 Fixed a minor bug [SinSloth]
  16. //= 1.5 Updated to match AEGIS script and Added Quest Log commands. [Kisuka]
  17. //= 1.6 Fixed AEGIS amatsu warp typo. [Kisuka]
  18. //============================================================
  19. alberta,30,65,3 script Akagi 730,{
  20. if (Class == Job_Novice) {
  21. if (JobLevel == 10) {
  22. mes "[Akagi]";
  23. mes "Hmmm...";
  24. mes "You must have come,";
  25. mes "sensing that someone";
  26. mes "is waiting for you here.";
  27. mes "Tell me, do you seek";
  28. mes "the path of patience?";
  29. next;
  30. if(select("No:Yes") == 1) {
  31. mes "[Akagi]";
  32. mes "I see.";
  33. mes "To each his own,";
  34. mes "I suppose. Take";
  35. mes "care of yourself.";
  36. close;
  37. }
  38. mes "[Akagi]";
  39. mes "Very well.";
  40. mes "Then, let me";
  41. mes "set you on that";
  42. mes "path right away...";
  43. close2;
  44. switch(rand(3)) {
  45. case 1:
  46. warp "amatsu",170,229;
  47. end;
  48. case 2:
  49. warp "amatsu",216,188;
  50. end;
  51. default:
  52. warp "amatsu",178,176;
  53. end;
  54. }
  55. }else{
  56. mes "[Akagi]";
  57. mes "Hm? I cannot be";
  58. mes "of any service to";
  59. mes "you until you grow";
  60. mes "a little stronger...";
  61. close;
  62. }
  63. }else{
  64. mes "[Akagi]";
  65. mes "Hmm...";
  66. mes "You and I...";
  67. mes "We are fairly equal in";
  68. mes "terms of combat ability.";
  69. mes "Perhaps we can spar";
  70. mes "together sometime.";
  71. close;
  72. }
  73. }
  74. que_ng,30,65,3 script Cougar#nq 730,{
  75. if (Upper == 2) {
  76. mes "[Cougar]";
  77. mes "I... I've never";
  78. mes "seen a baby as";
  79. mes "powerful as you!";
  80. mes "G-get away, you";
  81. mes "freak of nature!";
  82. close;
  83. }
  84. if (Class == Job_Novice) {
  85. if (JobLevel < 10) {
  86. mes "[Cougar]";
  87. mes "Hm? Have you come to";
  88. mes "learn how to be a Ninja?";
  89. mes "You're not quite experienced";
  90. mes "enough yet, so come back";
  91. mes "after you're more familiar";
  92. mes "with fighting monsters.";
  93. close;
  94. }
  95. if (NINJ_Q == 0) {
  96. mes "["+strcharinfo(0)+"]";
  97. mes "Excuse me.";
  98. mes "H-hello?";
  99. next;
  100. mes "[Cougar]";
  101. mes "...............................";
  102. mes "How did you do that?";
  103. next;
  104. mes "["+strcharinfo(0)+"]";
  105. mes "Do what? I didn't";
  106. mes "do anything, I don't think...";
  107. next;
  108. mes "[Cougar]";
  109. mes "H-How are you able to";
  110. mes "see me? I'm supposed to";
  111. mes "be invisible to the naked eye.";
  112. mes "Ah, now I get it. Wildcat Joe";
  113. mes "must have sent you to kill me! I won't fall for your tricks! Die!";
  114. next;
  115. mes "["+strcharinfo(0)+"]";
  116. mes "W-wait! I-I don't even";
  117. mes "know who Wildcat Joe is!";
  118. mes "Calm down, there's no";
  119. mes "need to get violent!";
  120. next;
  121. mes "[Cougar]";
  122. mes "What...?";
  123. mes "How did you dodge";
  124. mes "all of my attacks?";
  125. mes "You've got some talent,";
  126. mes "I'll give you that.";
  127. next;
  128. mes "["+strcharinfo(0)+"]";
  129. mes "...............................";
  130. mes "I came here hoping";
  131. mes "to change my job";
  132. mes "to a Ninja.";
  133. next;
  134. mes "[Cougar]";
  135. mes "...Oh. Is that all?";
  136. mes "Hmm, you've got great";
  137. mes "potential, but I can't help";
  138. mes "you now. I've got too many";
  139. mes "enemies, and I can't let my";
  140. mes "guard down for even a second.";
  141. next;
  142. mes "[Cougar]";
  143. mes "That Wildcat Joe is";
  144. mes "completely ruthless...!";
  145. mes "He could strike at any time!";
  146. mes "He'll do anything to achieve";
  147. mes "victory over his enemies!";
  148. next;
  149. mes "[Cougar]";
  150. mes "Wait, wait, I just";
  151. mes "thought of something.";
  152. mes "Maybe you can help me out.";
  153. mes "Do what I ask, and I'll teach";
  154. mes "you a few of my skills if you";
  155. mes "really want to be a Ninja.";
  156. next;
  157. if(select("Sure.:No, thanks.") == 2) {
  158. mes "[Cougar]";
  159. mes "Hm? Well, alright.";
  160. mes "Still, I don't see";
  161. mes "why we can't help";
  162. mes "each other in this";
  163. mes "little predicament...";
  164. close;
  165. }
  166. mes "[Cougar]";
  167. mes "Great! Now, I wanted to";
  168. mes "ask Wildcat Joe if he'd";
  169. mes "agree to a temporary truce.";
  170. mes "I'm aware that both of us";
  171. mes "are out of weapons, so we";
  172. mes "should get well equipped first.";
  173. next;
  174. mes "[Cougar]";
  175. mes "Please take this letter,";
  176. mes "and deliver it to Wildcat";
  177. mes "Joe in Einbroch. He's a master";
  178. mes "of disguise, so keep a careful";
  179. mes "eye out for him. Ah, and look";
  180. mes "for him in a high place.";
  181. next;
  182. mes "[Cougar]";
  183. mes "Yeah, Wildcat Joe";
  184. mes "always did have a thing";
  185. mes "for hiding in high places.";
  186. mes "Anyway, after you give him";
  187. mes "the letter, come back and";
  188. mes "let me know his answer.";
  189. set NINJ_Q,1;
  190. setquest 6015;
  191. close;
  192. }
  193. else if(NINJ_Q == 1) {
  194. mes "[Cougar]";
  195. mes "Even if this task";
  196. mes "isn't that urgent,";
  197. mes "please hurry over to";
  198. mes "Einbroch and deliver";
  199. mes "my letter to Wildcat Joe.";
  200. close;
  201. }
  202. else if(NINJ_Q == 2) {
  203. mes "[Cougar]";
  204. mes "Did you deliver that";
  205. mes "letter to Wildcat Joe?";
  206. mes "I still need to know his";
  207. mes "response to my proposal";
  208. mes "for a truce. Anyway, see";
  209. mes "if you can needle him for it.";
  210. close;
  211. }
  212. else if(NINJ_Q == 3) {
  213. mes "[Cougar]";
  214. mes "Ah, you've returned.";
  215. mes "So did Wildcat Joe send";
  216. mes "you back here with his";
  217. mes "response? Great, great,";
  218. mes "please let me read it.";
  219. next;
  220. mes "[Cougar]";
  221. mes "What...?! How could he";
  222. mes "reject my proposal for";
  223. mes "a truce?! This can only";
  224. mes "mean that he's made another";
  225. mes "Kunai. Nuts! I have to catch";
  226. mes "up to him, or I'm a goner!";
  227. next;
  228. mes "[Cougar]";
  229. mes "Listen, you've got to help";
  230. mes "me out again! I need you to";
  231. mes "gather some materials so that";
  232. mes "I can craft my own Kunai to fight Wildcat Joe. Then, I'll go ahead";
  233. mes "and change your job to a Ninja.";
  234. next;
  235. mes "[Cougar]";
  236. mes "All you need";
  237. mes "to bring me is";
  238. mes "^3355FF5 Cyfars^000000 and";
  239. mes "^3355FF1 Phracon^000000.";
  240. mes "Please get those";
  241. mes "as quickly as you can!";
  242. next;
  243. mes "["+strcharinfo(0)+"]";
  244. mes "Huh? That's funny,";
  245. mes "Wildcat Joe actually";
  246. mes "asked me to gather";
  247. mes "those same materials.";
  248. next;
  249. mes "[Cougar]";
  250. mes "Curses! Then that means...";
  251. mes "You actually helped Joe";
  252. mes "in crafting his Kunai! No!";
  253. mes "I should have thought about";
  254. mes "that earlier! Well, it's too";
  255. mes "late now. Just h-hurry it up!";
  256. set NINJ_Q,4;
  257. changequest 6017,6018;
  258. close;
  259. }
  260. else if(NINJ_Q == 4) {
  261. if (countitem(7053) < 5 || countitem(1010) < 1) {
  262. mes "[Cougar]";
  263. mes "Hurry and bring";
  264. mes "^3355FF5 Cyfars^000000 and";
  265. mes "^3355FF1 Phracon^000000 to me,";
  266. mes "so that I can craft";
  267. mes "my own Kunai to use";
  268. mes "against Wildcat Joe!";
  269. close;
  270. }
  271. if (Skillpoint != 0) {
  272. mes "[Cougar]";
  273. mes "Whoa, whoa...";
  274. mes "You still have some";
  275. mes "leftover Skill Points.";
  276. mes "You'd better spend all";
  277. mes "of them before you";
  278. mes "change jobs, right?";
  279. close;
  280. }
  281. mes "[Cougar]";
  282. mes "Ah, you're back with";
  283. mes "everything that I need.";
  284. mes "You've come earlier than";
  285. mes "I expected, eh? Great,";
  286. mes "as promised, I'll turn";
  287. mes "you into a Ninja.";
  288. next;
  289. mes "[Cougar]";
  290. mes "Let me formally introduce";
  291. mes "myself. I am High Ninja Cougar";
  292. mes "in the Touga Ninja Corps, and";
  293. mes "I'm in charge of the search";
  294. mes "party to find Sir Kazma.";
  295. next;
  296. mes "[Cougar]";
  297. mes "Sir Kazma is the chief";
  298. mes "of my village, but he's";
  299. mes "run away. This has resulted";
  300. mes "in an internal conflict within";
  301. mes "the Ninja Corps. Things are";
  302. mes "pretty unstable right now...";
  303. next;
  304. mes "[Cougar]";
  305. mes "I initially didn't want to";
  306. mes "accept you as a Ninja because";
  307. mes "of this complicated situation.";
  308. mes "However, you've proven that";
  309. mes "you're truly worthy of joining";
  310. mes "the Ninja ranks.";
  311. next;
  312. mes "[Cougar]";
  313. mes "According to his letter, even";
  314. mes "Joe thinks highly of you. Just";
  315. mes "remember that, as a Ninja, your";
  316. mes "mission is your highest priority. But don't let mission objectives";
  317. mes "supercede your conscience.";
  318. next;
  319. mes "[Cougar]";
  320. mes "''Secrecy above all else.''";
  321. mes "To keep our secrets in the";
  322. mes "shadows, you can only buy";
  323. mes "or sell Ninja weapons with";
  324. mes "authorized dealers. Please";
  325. mes "keep that in mind.";
  326. next;
  327. mes "[Cougar]";
  328. mes "As of today, you are";
  329. mes "now a proud member of the";
  330. mes "Touga Ninja Corps. Be as";
  331. mes "agile as the wind, and as";
  332. mes "quiet as the falling shadows.";
  333. callfunc "Job_Change",Job_Ninja;
  334. set NINJ_Q,5;
  335. getitem 13010,1; // Asura
  336. completequest 6018;
  337. close;
  338. }
  339. else {
  340. mes "[Cougar]";
  341. mes "How have you been?";
  342. mes "Train hard: you want";
  343. mes "to be able to vanish";
  344. mes "without a trace. If you";
  345. mes "can do that, you'll get";
  346. mes "the respect of any Ninja~";
  347. close;
  348. }
  349. }else{
  350. if (Class == Job_Ninja) {
  351. mes "[Cougar]";
  352. mes "How have you been?";
  353. mes "Train hard: you want";
  354. mes "to be able to vanish";
  355. mes "without a trace. If you";
  356. mes "can do that, you'll get";
  357. mes "the respect of any Ninja~";
  358. close;
  359. }else{
  360. mes "[Cougar]";
  361. mes "What...?";
  362. mes "How were you able";
  363. mes "to find me hidden";
  364. mes "in the shadows?!";
  365. mes "You must be more than";
  366. mes "a common adventurer, eh?";
  367. close;
  368. }
  369. }
  370. }
  371. einbroch,184,194,3 script Suspicious Man#nq 881,{
  372. if (NINJ_Q == 1) {
  373. mes "[Suspicious Man]";
  374. mes "I've traveled to many";
  375. mes "countries, but I've never";
  376. mes "been on a building as high";
  377. mes "as Einbroch Tower. All the";
  378. mes "buildings in my hometown";
  379. mes "are tiny in comparison...";
  380. next;
  381. mes "["+strcharinfo(0)+"]";
  382. mes "Oh, are you from";
  383. mes "Amatsu? I'm looking";
  384. mes "for someone named";
  385. mes "Wildcat Joe from there.";
  386. next;
  387. mes "[Suspicious Man]";
  388. mes "...No. No, I'm actually";
  389. mes "from Izlude, and I'm only";
  390. mes "here in Einbroch for some";
  391. mes "minerals. Tell me, why are";
  392. mes "you looking for this Wildcat Joe?";
  393. next;
  394. mes "["+strcharinfo(0)+"]";
  395. mes "Well, I need to deliver";
  396. mes "this letter to him and";
  397. mes "get his response so that";
  398. mes "I can become a Ninja.";
  399. next;
  400. mes "[Suspicious Man]";
  401. mes "Really? Now that I think";
  402. mes "about it, I do think that I've";
  403. mes "run once or twice into him";
  404. mes "in this town. Though, he prefers to be called ''Red Leopard Joe,''";
  405. mes "instead of ''Wildcat Joe.''";
  406. next;
  407. mes "["+strcharinfo(0)+"]";
  408. mes "I really want to help you";
  409. mes "find him, but first I need";
  410. mes "to find the minerals that";
  411. mes "I'm looking for. If you don't";
  412. mes "mind, would you help me?";
  413. mes "Then I can help you find Joe.";
  414. next;
  415. if(select("Don't worry, I'll find him alone.:Sure, I'll help you.") == 1) {
  416. mes "[Suspicious Man]";
  417. mes "You sure about that...?";
  418. mes "Red Leopard Joe is a true";
  419. mes "master of disguise. You'll";
  420. mes "need all the help you can";
  421. mes "get to find him...";
  422. close;
  423. }
  424. mes "[Suspicious Man]";
  425. mes "Great, I'm glad to";
  426. mes "hear that. Please";
  427. mes "help me find";
  428. mes "^3355FF5 Cyfars^000000 and";
  429. mes "^3355FF1 Phracon^000000.";
  430. set NINJ_Q,2;
  431. changequest 6015,6016;
  432. close;
  433. }
  434. else if(NINJ_Q == 2) {
  435. if (countitem(7053) < 5 || countitem(1010) < 1) {
  436. mes "[Suspicious Man]";
  437. mes "Please bring";
  438. mes "^3355FF5 Cyfars^000000 and";
  439. mes "^3355FF1 Phracon^000000 to me as";
  440. mes "soon as you can. Then,";
  441. mes "I can help you find";
  442. mes "Red Leopard Joe.";
  443. close;
  444. }
  445. mes "[Suspicious Man]";
  446. mes "Good, good. You've";
  447. mes "brought the minerals...";
  448. mes "Now, it's my turn to";
  449. mes "help you now. Here,";
  450. mes "let me see that letter.";
  451. next;
  452. mes "["+strcharinfo(0)+"]";
  453. mes "?????!!";
  454. next;
  455. mes "[Suspicious Man]";
  456. mes "Why? Didn't you bring Cougar's letter for me?";
  457. next;
  458. mes "["+strcharinfo(0)+"]";
  459. mes "Are you...";
  460. mes "Are you Wildcat Joe?";
  461. next;
  462. mes "[Suspicious Man]";
  463. mes "...Yes, but I prefer to";
  464. mes "be called Red Leopard Joe.";
  465. mes "Cougar sent you to me, right?";
  466. mes "He's the only one who calls";
  467. mes "me that. So you want to be";
  468. mes "a Ninja, eh? Hmm, alright.";
  469. next;
  470. mes "[Red Leopard Joe]";
  471. mes "If you want to be a Ninja,";
  472. mes "you should always be careful";
  473. mes "of what you see and what you trust. Don't forget that if your";
  474. mes "secrets are ever discovered, then you're finished as a Ninja.";
  475. next;
  476. mes "[Red Leopard Joe]";
  477. mes "Remember to move";
  478. mes "quickly, and to always";
  479. mes "vanish without a trace.";
  480. mes "To remain hidden in the";
  481. mes "shadows is really our";
  482. mes "ultimate power.";
  483. next;
  484. mes "["+strcharinfo(0)+"]";
  485. mes "I see...";
  486. mes "...........";
  487. next;
  488. mes "[Red Leopard Joe]";
  489. mes "For now, let me read";
  490. mes "this letter. Let's see...";
  491. mes "Hm. I thought that Cougar";
  492. mes "would want to challenge me";
  493. mes "again, but he actually wants";
  494. mes "a temporary truce? Hah!";
  495. next;
  496. mes "[Red Leopard Joe]";
  497. mes "Thanks to your help,";
  498. mes "I now have the minerals";
  499. mes "I need to construct a Kunai!";
  500. mes "Hahaha! I won't agree to a truce when I have the advantage!";
  501. next;
  502. mes "[Red Leopard Joe]";
  503. mes "Anyway, let me write my";
  504. mes "response to him. I'll also";
  505. mes "give you my recommendation...";
  506. mes "I think you'll make a very fine";
  507. mes "Ninja, even if I did trick you";
  508. mes "just earlier. Heh heh heh!";
  509. next;
  510. mes "["+strcharinfo(0)+"]";
  511. mes "......";
  512. mes ".........";
  513. mes "............";
  514. next;
  515. mes "[Red Leopard Joe]";
  516. mes "Here you go.";
  517. mes "Please bring this";
  518. mes "letter to Cougar.";
  519. mes "It'll take a while to";
  520. mes "return to Amatsu, so let";
  521. mes "me send you there directly...";
  522. delitem 1010,1; // Phracon
  523. delitem 7053,5; // Cyfar
  524. set NINJ_Q,3;
  525. changequest 6016,6017;
  526. close2;
  527. warp "amatsu",113,127;
  528. end;
  529. }
  530. else if(NINJ_Q == 3) {
  531. mes "[Red Leopard Joe]";
  532. mes "Eh? I'm not sure what";
  533. mes "happened, but it seems";
  534. mes "that you haven't delivered";
  535. mes "my response to Cougar yet.";
  536. mes "Shall I directly send you";
  537. mes "to Amatsu right now?";
  538. next;
  539. if(select("No, thanks.:Yes, please.") == 1) {
  540. mes "[Red Leopard Joe]";
  541. mes "Alright. Well, I was";
  542. mes "just trying to save";
  543. mes "you some time.";
  544. close;
  545. }
  546. mes "[Red Leopard Joe]";
  547. mes "Okay, then.";
  548. mes "Goodbye for now.";
  549. close2;
  550. warp "amatsu",113,127;
  551. end;
  552. }
  553. else if(NINJ_Q == 4) {
  554. mes "[Red Leopard Joe]";
  555. mes "Cougar asked you to";
  556. mes "gather some materials";
  557. mes "too? Oh well, I suppose";
  558. mes "that I can't blame him.";
  559. mes "Besides, I should be able";
  560. mes "to beat him in a fair fight~";
  561. close;
  562. }
  563. else if(NINJ_Q == 5 && Class == Job_Ninja) {
  564. mes "[Red Leopard Joe]";
  565. mes "Oh, you're a Ninja~";
  566. mes "I hope you continue to";
  567. mes "train yourself and master";
  568. mes "all the Ninja skills that";
  569. mes "you can. Always remember";
  570. mes "to blend into the shadows.";
  571. close;
  572. }
  573. else {
  574. mes "[Tourist]";
  575. mes "I've traveled to many";
  576. mes "countries, but I've never";
  577. mes "been on a building as high";
  578. mes "as Einbroch Tower. All the";
  579. mes "buildings in my hometown";
  580. mes "are tiny in comparison...";
  581. close;
  582. }
  583. }