ninja.txt 16 KB

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