viewing paste pRO Daily Quest | Athena

Posted on the
  1. // -- pRO Offical Daily Quest
  2. // -- Coded by: Gennosuke Kouga, vStyleRO 2009~2012
  3. // -- Code included: NPCinUsed by ToastofDoom...
  4. // -- Wanted: Master Thief, Mage Hunter, Cargo Delivery, Message Delivery, Swab The Deck v.v..
  5.  
  6. // -- Cargo Delivery Quest
  7.  
  8. alberta,90,62,4	script	[Quest] Port Manager#	542,{
  9.  
  10. 	if( checkquest(9020,PLAYTIME) == 2 )
  11. 	{
  12.  
  13. 	erasequest 9020;
  14. 	goto readyfornext;
  15.  
  16. 	}
  17. 	else if( checkquest(9020,PLAYTIME) != -1 )
  18. 	{
  19.  
  20. 	mes "[ Port Manager ]";
  21. 	mes "Well, boxes are not arrived yet.";
  22. 	mes "Since you have completed to help me out yesterday, you need to come back 20 hours later.";
  23. 	close;
  24.  
  25. 	}
  26.  
  27. 	if( dailyquest_cd == 1 )
  28. 	{
  29.  
  30. 	mes "[ Port Manager ]";
  31. 	mes "Why are you still here?";
  32. 	mes "Please get me the first crate that is near the docks.";
  33. 	close;	
  34.  
  35. 	}
  36. 	else if( dailyquest_cd == 2 )
  37. 	{
  38.  
  39. 	if( BaseLevel < 21 )
  40. 	{
  41.  
  42. 	mes "[ Port Manager ]";
  43. 	mes "You managed to bring it back! Great work!";
  44. 	mes "Here is little gift for you!";
  45. 	next;
  46. 	mes "[ Port Manager ]";
  47. 	mes "I just need a help once a day.";
  48. 	mes "You already did work for today, so I will need some help 20 hours later.";
  49. 	mes "Right now, there is nothing to help.";
  50. 	set dailyquest_cd, 0;
  51. 	getexp 142,0;	
  52. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  53. 	setquest 9020;
  54. 	// -- Item added to inventory: Red Potion (19) x 20 - Usable
  55. 	getitem 501, 20;
  56. 	// -- Item added to inventory: Warp Free Ticket (20) x 1 - Non-usable
  57. 	getitem 7060, 1;
  58. 	close;	
  59.  
  60. 	}
  61.  
  62. 	mes "[ Port Manager ]";
  63. 	mes "You managed to bring it back! Great work!";
  64. 	mes "Here is little gift for you!";
  65. 	next;
  66. 	mes "[ Port Manager ]";
  67. 	mes "You did geat work to get me first crate. Now can you retrieve the second crate?";
  68. 	mes "Last I heard it wandered off somewhere near the east part of the docks.";
  69. 	set dailyquest_cd, 3;
  70. 	getexp 142,0;
  71. 	// -- Item added to inventory: Red Potion (19) x 20 - Usable
  72. 	getitem 501, 20;
  73. 	// -- Item added to inventory: Warp Free Ticket (20) x 1 - Non-usable
  74. 	getitem 7060, 1;
  75. 	close;
  76.  
  77. 	}
  78. 	else if( dailyquest_cd == 3 )
  79. 	{
  80.  
  81. 	mes "[ Port Manager ]";
  82. 	mes "Why are you still here?";
  83. 	mes "Please get me the second crate that is near the east part of the docks.";
  84. 	close;
  85.  
  86. 	}
  87. 	else if( dailyquest_cd == 4 )
  88. 	{
  89.  
  90. 	if( BaseLevel > 20 && BaseLevel < 41 )
  91. 	{
  92.  
  93. 	mes "[ Port Manager ]";
  94. 	mes "You're still in one piece! Excellent!";
  95. 	mes "Here, some gifts as I promised.";
  96. 	next;
  97. 	mes "[ Port Manager ]";
  98. 	mes "I just need a help once a day.";
  99. 	mes "You already did work for today, so I will need some help 20 hours later.";
  100. 	mes "Right now, there is nothing to help.";
  101. 	set dailyquest_cd, 0;
  102. 	getexp 1642,0;
  103. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  104. 	setquest 9020;
  105. 	// -- Item added to inventory: Orange Potion (8) x 5 - Usable
  106. 	getitem 502, 5;
  107. 	close;	
  108.  
  109. 	}
  110.  
  111. 	mes "[ Port Manager ]";
  112. 	mes "You did it again! Thank you so much.";
  113. 	mes "Here, some gifts as I promised.";
  114. 	next;
  115. 	mes "[ Port Manager ]";
  116. 	mes "The third crate should be with that old Turtle Island scholar near the docks.";
  117. 	mes "Please get me the third crate.";
  118. 	set dailyquest_cd, 5;
  119. 	getexp 1642,0;
  120. 	// -- Item added to inventory: Orange Potion (21) x 5 - Usable
  121. 	getitem 502, 5;
  122. 	close;	
  123.  
  124. 	}
  125. 	else if( dailyquest_cd == 5 )
  126. 	{
  127.  
  128. 	mes "[ Port Manager ]";
  129. 	mes "The third crate should be with that old Turtle Island scholar near the docks.";
  130. 	mes "That's where the last guy lost his nerve and dropped it!";
  131. 	close;	
  132.  
  133. 	}
  134. 	else if( dailyquest_cd == 6 )
  135. 	{
  136.  
  137. 	if( BaseLevel > 40 && BaseLevel < 61 )
  138. 	{
  139.  
  140. 	mes "[ Port Manager ]";
  141. 	mes "You are back! I almost can't believe my eyes!";
  142. 	mes "Thanks so much! Ok, let me check.";
  143. 	next;
  144. 	mes "[ Port Manager ]";
  145. 	mes "I just need a help once a day.";
  146. 	mes "You already did work for today, so I will need some help 20 hours later.";
  147. 	mes "Right now, there is nothing to help.";
  148. 	set dailyquest_cd, 0;
  149. 	getexp 18296,0;	
  150. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  151. 	setquest 9020;
  152. 	// -- Item added to inventory: Yellow potion (42) x 10 - Usable
  153. 	getitem 503, 10;
  154. 	close;	
  155.  
  156. 	}
  157.  
  158. 	mes "[ Port Manager ]";
  159. 	mes "You did it again! Thank you so much.";
  160. 	mes "Here, some gifts as I promised.";
  161. 	next;
  162. 	mes "[ Port Manager ]";
  163. 	mes "You're the only person I can rely on! Please get me the fourth crate.";
  164. 	mes "I must know where it is...but I can not remember somehow...";
  165. 	mes "But I am sure, the number is marked on the crate. So you can find it somewhere...";
  166. 	set dailyquest_cd, 7;
  167. 	getexp 18296,0;
  168. 	// -- Item added to inventory: Yellow potion (22) x 10 - Usable
  169. 	getitem 503, 10;
  170. 	close;
  171.  
  172. 	}
  173. 	else if( dailyquest_cd == 7 )
  174. 	{
  175.  
  176. 	mes "[ Port Manager ]";
  177. 	mes "You're the only person I can rely on! Please get me the fourth crate.";
  178. 	mes "I must know where it is...but I can not remember somehow...";
  179. 	mes "But I am sure, the number is marked on the crate. So you can find it somewhere...";
  180. 	close;	
  181.  
  182. 	}
  183. 	else if( dailyquest_cd == 8 )
  184. 	{
  185.  
  186. 	if( BaseLevel > 60 && BaseLevel < 81 )
  187. 	{
  188.  
  189. 	mes "[ Port Manager ]";
  190. 	mes "I never thought I'd see the day when someone would retreive the fourth crate!";
  191. 	mes "You must truly be the stuff of legends!";
  192. 	mes "Thanks a million.";
  193. 	next;
  194. 	mes "[ Port Manager ]";
  195. 	mes "Here are some gifts for you.";
  196. 	mes "I just need a help once a day.";
  197. 	mes "You already did work for today, so I will need some help 20 hours later.";
  198. 	mes "Right now, there is nothing to help.";
  199. 	set dailyquest_cd, 0;
  200. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  201. 	setquest 9020;
  202. 	getexp 178601,0;
  203. 	// -- Item added to inventory: White Potion (24) x 10 - Usable
  204. 	getitem 504, 10;
  205. 	close;	
  206.  
  207. 	}
  208.  
  209. 	mes "[ Port Manager ]";
  210. 	mes "I never thought I'd see the day when someone would retreive the fourth crate!";
  211. 	mes "You must truly be the stuff of legends!";
  212. 	mes "Thanks a million.";
  213. 	next;
  214. 	mes "[ Port Manager ]";
  215. 	mes "Here are some gifts for you.";
  216. 	mes "There is no one else who can pull off the miracle of getting the fifth crate..";
  217. 	mes "I've lost many good men trying to retreieve it! I mean a lot of them quit before the job was done!";
  218. 	mes "Now, I can only trust you. Please find the fifth crate.";
  219. 	mes "I have no idea where it has gone...If you bring it I will treat you well.";
  220. 	set dailyquest_cd, 9;
  221. 	getexp 178601,0;
  222. 	// -- Item added to inventory: White Potion (11) x 10 - Usable
  223. 	getitem 504, 10;
  224. 	close;
  225.  
  226. 	}
  227. 	else if( dailyquest_cd == 9 )
  228. 	{	
  229.  
  230. 	mes "[ Port Manager ]";
  231. 	mes "There is no one else who can pull off the miracle of getting the fifth crate..";
  232. 	mes "I've lost many good men trying to retreieve it! I mean a lot of them quit before the job was done!";
  233. 	mes "Now, I can only trust you. Please find the fifth crate.";
  234. 	mes "I have no idea where it has gone...If you bring it I will treat you well.";
  235. 	close;
  236.  
  237. 	}
  238. 	else if( dailyquest_cd == 10 )
  239. 	{
  240.  
  241. 	if( BaseLevel > 80 && BaseLevel < 98 )
  242. 	{
  243.  
  244. 	mes "[ Port Manager ]";
  245. 	mes "What is this?! Do my eyes deceive me? No, it's true!";
  246. 	mes "You have recovered the fifth crate! I can't say how much I appreciate what you have done.";
  247. 	next;
  248. 	mes "[ Port Manager ]";
  249. 	mes "Here are little rewards for you.";
  250. 	mes "I just need a help once a day.";
  251. 	mes "You already did work for today, so I will need some help 20 hours later.";
  252. 	mes "Right now, there is nothing to help.";
  253. 	set dailyquest_cd, 0;
  254. 	getexp 565471,0;
  255. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  256. 	setquest 9020;
  257. 	// -- Item added to inventory: Blue Potion (12) x 10 - Usable
  258. 	getitem 505, 10;
  259. 	close;
  260.  
  261. 	}
  262.  
  263. 	mes "[ Port Manager ]";
  264. 	mes "Well, as I expected you did great job!!";
  265. 	mes "I appreciate your help.";
  266. 	next;
  267. 	mes "[ Port Manager ]";
  268. 	mes "The time has come for you to embark on your greatest challenge.";
  269. 	mes "The final, sixth create has been found. It broke free of the chains that held it";
  270. 	mes "and has wandered throughout the city of Alberta, sowing terror and fear wherever it went.";
  271. 	// -- Item added to inventory: Blue Potion (13) x 10 - Usable
  272. 	set dailyquest_cd, 11;
  273. 	getexp 565471,0;
  274. 	getitem 505, 10;
  275. 	next;
  276. 	mes "[ Port Manager ]";
  277. 	mes "Now our wounded scouts have reported seeing it center north of Alberta...";
  278. 	close;
  279.  
  280. 	}
  281. 	else if( dailyquest_cd == 11 )
  282. 	{
  283.  
  284. 	mes "[ Port Manager ]";
  285. 	mes "Now our wounded scouts have reported seeing it center north of Alberta...";
  286. 	close;
  287.  
  288. 	}
  289. 	else if( dailyquest_cd == 12 )
  290. 	{
  291.  
  292. 	mes "[ Port Manager ]";
  293. 	mes "It... it can't be possible...! You're back with the last crate!";
  294. 	mes "You are truly one of the best at getting things back.";
  295. 	next;
  296. 	mes "[ Port Manager ]";
  297. 	mes "Please take my little gifts.";
  298. 	mes "I wish you may bless with your adventure.";
  299. 	next;
  300. 	mes "[ Port Manager ]";
  301. 	mes "I just need a help once a day.";
  302. 	mes "You already did work for today, so I will need some help 20 hours later.";
  303. 	mes "Right now, there is nothing to help.";
  304. 	set dailyquest_cd, 0;
  305. 	// -- Quest: Cargo Delivery Quest (9020) has been added.
  306. 	setquest 9020;
  307. 	// -- Item added to inventory: Yggdrasil Seed (28) x 1 - Usable
  308. 	getitem 608, 1;
  309. 	// -- Item added to inventory: Blue Potion (13) x 5 - Usable
  310. 	getitem 505, 5;
  311. 	close;	
  312.  
  313. 	}
  314.  
  315. 	readyfornext:
  316. 	mes "[ Port Manager ]";
  317. 	mes "Hello, adventure??";
  318. 	mes "You look like a reliable sort of fellow.";
  319. 	mes "What say you do some port work for me and I will make it worth your while?";
  320. 	next;
  321. 	mes "[ Port Manager ]";
  322. 	mes "I am the port manager here.";
  323. 	mes "My job is to make sure the cargo from the ships are moved to the warehouses on time.";
  324. 	next;
  325. 	mes "[ Port Manager ]";
  326. 	mes "My problem is that some cargo came in some very UNUSUAL containers.";
  327. 	mes "Some corporation was very uptight about security so they put their cargo inside MIMICs of all things!";
  328. 	next;
  329. 	if( select("Okay, I'm up for the job!", "Some other time..") != 1 )
  330. 	{
  331.  
  332. 	mes "[ "+strcharinfo(0)+" ]
  333. 	mes "I am sorry, but I am very busy.";
  334. 	mes "I can not help you right now.";
  335. 	next;
  336. 	mes "[ Port Manager ]";
  337. 	mes "Ok. Then come back when you have some time to spare for the job.";
  338. 	close;
  339.  
  340. 	}
  341.  
  342. 	mes "[ "+strcharinfo(0)+" ]
  343. 	mes "How can I help you?";
  344. 	next;
  345. 	mes "[ Port Manager ]";
  346. 	mes "I knew you were reliable the moment I saw you!";
  347. 	mes "Please listen carefully.";
  348. 	next;
  349. 	mes "[ Port Manager ]";
  350. 	mes "Get me the first crate. It should be near the docks.";
  351. 	mes "The number is marked on the crate. You can easily recognize the first crate.";
  352. 	set dailyquest_cd, 1;
  353. 	close;
  354. }
  355.  
  356. alberta,188,173,4	script	Deadly Cargo [1]#	464,{
  357.  
  358. 	if( dailyquest_cd == 1 )
  359. 	{
  360.  
  361. 	set .@a,rand(1,3);
  362. 	if( .@a == 1 )
  363. 	{
  364.  
  365. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  366. 	mes "You think it's better to deliver it to the manager right away...";
  367. 	next;
  368. 	mes "before it changes its mind and bites you.";
  369. 	set dailyquest_cd, 2;
  370. 	close;
  371.  
  372. 	}
  373.  
  374. 	// -- Another SN: *Omg*
  375. 	emotion e_omg,1;
  376. 	mes "That HURT!!";
  377. 	percentheal -10,0;
  378. 	close;
  379.  
  380. 	}
  381. 	else if( dailyquest_cd > 1 )
  382. 	{
  383.  
  384. 	mes "[ "+strcharinfo(0)+" ]";
  385. 	mes "I have already moved this crate...";
  386. 	close;
  387.  
  388. 	}
  389. 	mes "[ "+strcharinfo(0)+" ]";
  390. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  391. 	close;	
  392. }
  393.  
  394. alberta,232,104,5	script	Deadly Cargo [2]#	464,{
  395.  
  396. 	if( dailyquest_cd == 2 )
  397. 	{
  398.  
  399. 	mes "[ "+strcharinfo(0)+" ]";
  400. 	mes "- This crate says number 2... I better go find the manager first. -";
  401. 	close;";
  402.  
  403. 	}
  404. 	else if( dailyquest_cd == 3 )
  405. 	{
  406.  
  407. 	set .@a,rand(1,3);
  408. 	if( .@a == 1 )
  409. 	{	
  410.  
  411. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  412. 	mes "You think it's better to deliver it to the manager right away...";
  413. 	next;
  414. 	mes "before it changes its mind and bites you.";
  415. 	set dailyquest_cd, 4;
  416. 	close;
  417.  
  418. 	}
  419.  
  420. 	// -- Another SN: *Omg*
  421. 	emotion e_omg,1;
  422. 	mes "That HURT!!";
  423. 	percentheal -10,0;
  424. 	close;		
  425.  
  426. 	}
  427. 	else if( dailyquest_cd > 3 )
  428. 	{
  429.  
  430. 	mes "[ "+strcharinfo(0)+" ]";
  431. 	mes "I have already moved this crate...";
  432. 	close;
  433.  
  434. 	}
  435. 	mes "[ "+strcharinfo(0)+" ]";
  436. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  437. 	close;	
  438. }
  439.  
  440. alberta,246,87,4	script	Deadly Cargo [3]#	464,{
  441.  
  442. 	if( dailyquest_cd == 5 )
  443. 	{
  444.  
  445. 	set .@a,rand(1,3);
  446. 	if( .@a == 1 )
  447. 	{	
  448.  
  449. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  450. 	mes "You think it's better to deliver it to the manager right away...";
  451. 	next;
  452. 	mes "before it changes its mind and bites you.";
  453. 	set dailyquest_cd, 6;
  454. 	close;
  455.  
  456. 	}
  457.  
  458. 	// -- Another SN: *Omg*
  459. 	emotion e_omg,1;
  460. 	mes "That HURT!!";
  461. 	percentheal -10,0;
  462. 	close;		
  463.  
  464. 	}
  465. 	else if( dailyquest_cd > 5 )
  466. 	{
  467.  
  468. 	mes "[ "+strcharinfo(0)+" ]";
  469. 	mes "I have already moved this crate...";
  470. 	close;
  471.  
  472. 	}
  473. 	mes "[ "+strcharinfo(0)+" ]";
  474. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  475. 	close;	
  476. }
  477.  
  478. alberta,245,67,1	script	Deadly Cargo [4]#	464,{
  479.  
  480. 	if( dailyquest_cd == 7 )
  481. 	{
  482.  
  483. 	set .@a,rand(1,3);
  484. 	if( .@a == 1 )
  485. 	{		
  486.  
  487. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  488. 	mes "You think it's better to deliver it to the manager right away...";
  489. 	next;
  490. 	mes "before it changes its mind and bites you.";
  491. 	set dailyquest_cd, 8;
  492. 	close;
  493.  
  494. 	}
  495.  
  496. 	// -- Another SN: *Omg*
  497. 	emotion e_omg,1;
  498. 	mes "That HURT!!";
  499. 	percentheal -10,0;
  500. 	close;		
  501.  
  502. 	}
  503. 	else if( dailyquest_cd > 7 )
  504. 	{
  505.  
  506. 	mes "[ "+strcharinfo(0)+" ]";
  507. 	mes "I have already moved this crate...";
  508. 	close;
  509.  
  510. 	}
  511. 	mes "[ "+strcharinfo(0)+" ]";
  512. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  513. 	close;	
  514. }
  515.  
  516. alberta,243,43,4	script	Deadly Cargo [5]#	464,{
  517.  
  518. 	if( dailyquest_cd == 9 )
  519. 	{
  520.  
  521. 	set .@a,rand(1,3);
  522. 	if( .@a == 1 )
  523. 	{	
  524.  
  525. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  526. 	mes "You think it's better to deliver it to the manager right away...";
  527. 	next;
  528. 	mes "before it changes its mind and bites you.";
  529. 	set dailyquest_cd, 10;
  530. 	close;
  531.  
  532. 	}
  533.  
  534. 	// -- Another SN: *Omg*
  535. 	emotion e_omg,1;
  536. 	mes "That HURT!!";
  537. 	percentheal -10,0;
  538. 	close;		
  539.  
  540. 	}
  541. 	else if( dailyquest_cd > 9 )
  542. 	{
  543.  
  544. 	mes "[ "+strcharinfo(0)+" ]";
  545. 	mes "I have already moved this crate...";
  546. 	close;
  547.  
  548. 	}
  549. 	mes "[ "+strcharinfo(0)+" ]";
  550. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  551. 	close;	
  552. }
  553.  
  554. alberta,123,221,4	script	Deadly Cargo [6]#	464,{
  555.  
  556. 	if( dailyquest_cd == 11 )
  557. 	{
  558.  
  559. 	set .@a,rand(1,3);
  560. 	if( .@a == 1 )
  561. 	{	
  562.  
  563. 	mes "Even if the crate looks dangerous, you sum up your courage and pick it up.";
  564. 	mes "You think it's better to deliver it to the manager right away...";
  565. 	next;
  566. 	mes "before it changes its mind and bites you.";
  567. 	set dailyquest_cd, 12;
  568. 	close;
  569.  
  570. 	}
  571.  
  572. 	// -- Another SN: *Omg*
  573. 	emotion e_omg,1;
  574. 	mes "That HURT!!";
  575. 	percentheal -10,0;
  576. 	close;		
  577.  
  578. 	}
  579. 	else if( dailyquest_cd > 11 )
  580. 	{
  581.  
  582. 	mes "[ "+strcharinfo(0)+" ]";
  583. 	mes "I have already moved this crate...";
  584. 	close;
  585.  
  586. 	}
  587. 	mes "[ "+strcharinfo(0)+" ]";
  588. 	mes "- This looks like a VERY dangerous thing to be left lying around Alberta! It's best to stay away from it...-";
  589. 	close;	
  590. }
  591.  
  592. // -- Message Delivery
  593.  
  594. alberta,122,55,5	script	[Quest] Messenger Girl#	831,{
  595.  
  596. 	if( checkquest(4034) >= 0 || checkquest(4035) >= 0 || checkquest(4036) >= 0 || checkquest(4037) >= 0 || checkquest(4038) >= 0 )
  597. 	{
  598.  
  599. 	mes "[ Messenger Girl ]";
  600. 	mes "I hope the knights can get the letters as soon as possible.";
  601. 	mes "The girls are waiting for their reply!";
  602. 	close;	
  603.  
  604. 	}
  605. 	else if( checkquest(4100,PLAYTIME) == 2 )
  606. 	{
  607.  
  608. 	// -- Quest: Complete Message Delivery quest (4100) has been deleted.
  609. 	erasequest 4100;
  610. 	mes "[ Messenger Girl ]";
  611. 	mes "Um... hey there!";
  612. 	mes "Could you give an overworked girl a hand?";
  613. 	next;
  614. 	mes "[ Messenger Girl ]";
  615. 	mes "I'm a bit over my head";
  616. 	mes "in this delivery business.";
  617. 	next;
  618. 	goto alittlebit;
  619.  
  620. 	}
  621. 	else if( checkquest(4100,PLAYTIME) != -1 )
  622. 	{
  623.  
  624. 	mes "[ Messenger Girl ]";
  625. 	mes "I already delivered all the letters for today.";
  626. 	mes "But I think I will need your help tomorrow.";
  627. 	mes "Could you come 20 hours later to help me out?";
  628. 	close;
  629.  
  630. 	}
  631.  
  632. 	mes "[ Messenger Girl ]";
  633. 	mes "Um... hey there!";
  634. 	mes "Could you give an overworked girl a hand?";
  635. 	next;
  636. 	mes "[ Messenger Girl ]";
  637. 	mes "I'm a bit over my head";
  638. 	mes "in this delivery business.";
  639. 	next;
  640. 	next;
  641. 	alittlebit:
  642. 	if( select("Sure, I'd love to help!", "Sorry, I'm busy as well") != 1 )
  643. 	{
  644.  
  645. 	mes "[ Messenger Girl ]";
  646. 	mes "Oh, that's alright then. Maybe you can come back and help me some other time!";
  647. 	close;		
  648.  
  649. 	}
  650.  
  651. 	mes "[ Messenger Girl ]";
  652. 	mes "Thank you SO much!";
  653. 	mes "I'm already overloaded with package deliveries,";
  654. 	mes "but the boss had me do extra tasks like having fan mail and love letters delivered to handsome knights!";
  655. 	next;
  656. 	mes "[ Messenger Girl ]";
  657. 	mes "I simply can't keep up with all these girls sending all these letters in.";
  658. 	mes "If you could deliver just one letter for me for today I would be very grateful!";
  659. 	next;
  660. 	mes "[ Messenger Girl ]";
  661. 	mes "Let's see¡¦.Oh, I have 5 letters that need to be delivered by today.";
  662. 	mes "Who you want to deliver this letter to?";
  663. 	next;
  664. 	chooseanother:
  665. 	switch( select("To Sir Donovan in Alberta Lv1~20","To Sir Richard in Treasure Island Lv21~40","To sir Lion in Prontera Lv41~60",
  666. 	"To Sir Midetz in Izlude Lv61~80","To Sir Grevious in Turtle Island Lv81+","Cancel") )
  667. 	{
  668.  
  669. 	case 1:
  670. 	mes "[ Messenger Girl ]";
  671. 	mes "Great! Sir Donovan is just outside. Head up north a bit and follow the road, he should be there.";
  672. 	mes "He likes the local girls so he hangs around Alberta a lot.";
  673. 	// -- Quest: Message Delivery quest (4034) has been added.
  674. 	setquest 4034;
  675. 	close;
  676.  
  677. 	case 2:
  678. 	if( BaseLevel < 21 )
  679. 		goto enoughlevel;	
  680. 	mes "[ Messenger Girl ]";
  681. 	mes "Thank you so much! You can find Sir Richard flirting with the Kafra Girl on Treasure Island nearby.";
  682. 	mes "Please deliver this message of love from one of his fans.";
  683. 	// -- Quest: Message Delivery quest (4035) has been added.
  684. 	setquest 4035;
  685. 	close;
  686.  
  687. 	case 3:
  688. 	if( BaseLevel < 41 )
  689. 		goto enoughlevel;	
  690. 	mes "[ Messenger Girl ]";
  691. 	mes "Sir Lion always likes busy places so you'll find him at Prontera.";
  692. 	mes "I heard he has a thing for the Gift Merchant lady there.";
  693. 	mes "Anyway, here is a fan letter for him from a girl that lives in Moscovia.";
  694. 	// -- Quest: Message Delivery quest (4036) has been added.
  695. 	setquest 4036;
  696. 	close;	
  697.  
  698. 	case 4:
  699. 	if( BaseLevel < 61 )
  700. 		goto enoughlevel;
  701. 	mes "[ Messenger Girl ]";
  702. 	mes "I'm really grateful. Please deliver this letter and these handmade chocolates to Sir Midetz in Izlude.";
  703. 	mes "You'll find him in the northern part of the town.";
  704. 	mes "Be sure to deliver them before the love in the chocolate melts!";
  705. 	// -- Quest: Message Delivery quest (4037) has been added.
  706. 	setquest 4037;
  707. 	close;
  708.  
  709. 	case 5:
  710. 	if( BaseLevel < 81 )
  711. 	{
  712.  
  713. 	enoughlevel:
  714. 	mes "[ Messenger Girl ]";
  715. 	mes "Sorry, I don't think you're capable of delivering a message to that Knight yet.";
  716. 	mes "He's very popular and always swarmed by girls that stalk him.";
  717. 	next;
  718. 	mes "[ Messenger Girl ]";
  719. 	mes "So it is very dangerous even for a guy to get close!";
  720. 	mes "Why don't you deliver it to other Knight?";
  721. 	next;
  722. 	goto chooseanother;
  723.  
  724. 	}
  725.  
  726. 	mes "[ Messenger Girl ]";
  727. 	mes "Ah, this letter of affection is directed to the most elusive of the popular knights, Sir Greivous.";
  728. 	mes "He's stalked by so many fans that he's hid himself in Turtle Island to keep them at bay.";
  729. 	next;
  730. 	mes "[ Messenger Girl ]";
  731. 	mes "This letter must be from a die hard fan.";
  732. 	mes "The envelope is tough and even waterproof to prevent it from being damaged from the rough environment there.";
  733. 	mes "Please make sure that her words reach him! You're the only one I trust who can do this!";
  734. 	// -- Quest: Message Delivery quest (4038) has been added.
  735. 	setquest 4038;
  736. 	close;	
  737.  
  738. 	case 6:
  739. 	mes "[ Messenger Girl ]";
  740. 	mes "Oh, that's ok. Just come back if you change your mind!";
  741. 	close;	
  742.  
  743. 	}
  744. }
  745.  
  746. tur_dun01,192,117,4	script	Grevious#nk	65,{
  747.  
  748. 	if( checkquest(4038) >= 0 )
  749. 	{
  750.  
  751. 	mes "[ Sir Grevious ]";
  752. 	mes "Love will only make you soft and vulnerable!";
  753. 	mes "Begone whilst I train!";
  754. 	next;
  755. 	mes "[ Sir Grevious ]";
  756. 	mes "What is it?";
  757. 	mes "Are you here to deliver another one of those pansy letters?!";
  758. 	mes "Knights are suppose to live and die fighting, not being pampered by dozens of fangirls!";
  759. 	next;
  760. 	mes "[ Sir Grevious ]";
  761. 	mes "Huh? Wait...What is this?!";
  762. 	mes "Such an elegant container...";
  763. 	mes "This sweet fragrance that could only be from a proper and respectable lady!";
  764. 	mes "Perhaps I have finally found the woman who will understand me!";
  765. 	mes "Thank you brave messager!";
  766. 	// -- Quest: Message Delivery quest (4038) has been deleted.
  767. 	// -- Quest: Complete Message Delivery quest (4100) has been added.
  768. 	changequest 4038,4100;
  769. 	// -- You have gained 235407/10100 (42.80%/4.48%) Exp
  770. 	getexp 500000,150000;
  771. 	// -- Item added to inventory: Warp Free Ticket (17) x 2 - Non-usable
  772. 	getitem 7060, 2;
  773. 	close;	
  774.  
  775. 	}
  776.  
  777. 	mes "[ Sir Grevious ]";
  778. 	mes "Love will only make you soft and vulnerable!";
  779. 	mes "Begone whilst I train!";
  780. 	next;
  781. 	mes "[ Sir Grevious ]";
  782. 	mes "If you have nothing to do...";
  783. 	mes "Why don't you write a love letter to your sweetheart...";
  784. 	close;
  785. }
  786.  
  787. alberta,67,70,5	script	Donovan#nk	65,{
  788.  
  789. 	if( checkquest(4034) >= 0 )
  790. 	{
  791.  
  792. 	mes "[ Sir Donovan ]";
  793. 	mes "I'm sorry but I'm rather occupied at the moment staring at all the beauty this city has to offer.";
  794. 	next;
  795. 	mes "[ Sir Donovan ]";
  796. 	mes "A message for me? Wonderful.";
  797. 	mes "Thank you for bringing me this letter...";
  798. 	mes "Oh, scented paper!";
  799. 	// -- Quest: Message Delivery quest (4034) has been deleted.
  800. 	// -- Quest: Complete Message Delivery quest (4100) has been added.
  801. 	changequest 4034,4100;
  802. 	// -- You are now job level 2
  803. 	// -- You gained a job level!
  804. 	// -- You have gained 141/40 (3.71%/30.77%) Exp
  805. 	getexp 141,100;
  806. 	close;
  807.  
  808. 	}
  809.  
  810. 	mes "[ Sir Donovan ]";
  811. 	mes "I'm sorry but I'm rather occupied at the moment staring at all the beauty this city has to offer.";
  812. 	next;
  813. 	mes "[ Sir Donovan ]";
  814. 	mes "Excuse me, I'm busy plotting my advances on the object of my desire.";
  815. 	mes "Please talk to me another time.";
  816. 	close;
  817. }
  818.  
  819. alb2trea,57,67,4	script	Richard#nk	65,{
  820.  
  821. 	if( checkquest(4035) >= 0 )
  822. 	{
  823.  
  824. 	mes "[ Sir Richard ]";
  825. 	mes "What a beautiful Island it is!";
  826. 	mes "Staring at the sights makes me feel relaxed.";
  827. 	mes "Huh? Who is this?";
  828. 	next;
  829. 	mes "[ Sir Richard ]";
  830. 	mes "Another letter from a girl?";
  831. 	mes "It's so vile of me to already give my heart to a lady when there are so many who still wish for my attentions... yet.";
  832. 	mes "I will at least read it and cherish my fan's affections, but it will not sway my feelings in the least.";
  833. 	mes "Anyway you made an effort to deliver this to me. Thanks anyway.";
  834. 	// -- Quest: Message Delivery quest (4035) has been deleted.
  835. 	// -- Quest: Complete Message Delivery quest (4100) has been added.
  836. 	changequest 4035,4100;
  837. 	// -- You are now job level 2
  838. 	// -- You gained a job level!
  839. 	// -- You have gained 2250/59 (13.24%/45.38%) Exp
  840. 	getexp 1500,1000;
  841. 	// -- Item added to inventory: Warp Free Ticket (4) x 1 - Non-usable
  842. 	getitem 7060, 1;
  843. 	close;
  844.  
  845. 	}
  846.  
  847. 	mes "[ Sir Richard ]";
  848. 	mes "What a beautiful Island it is!";
  849. 	mes "Staring at the sights makes me feel relaxed.";
  850. 	mes "Huh? Who is this?";
  851. 	next;
  852. 	mes "[ Sir Richard ]";
  853. 	mes "I don't care who you are.";
  854. 	mes "But please don't interrupt me.";
  855. 	mes "I just want to enjoy my moment being in this Island.";
  856. 	close;
  857. }
  858.  
  859. prontera,115,108,5	script	Lion#nk	65,{
  860.  
  861. 	if( checkquest(4036) >= 0 )
  862. 	{
  863.  
  864. 	mes "[ Sir Lion ]";
  865. 	mes "Out of my way!";
  866. 	mes "My love will not be halted by any man or beast!";
  867. 	next;
  868. 	mes "[ Sir Lion ]";
  869. 	mes "Another letter from that girl from Moscovia?";
  870. 	mes "How many times must I write back telling her that I already have eyes for one woman alone?";
  871. 	next;
  872. 	mes "[ Sir Lion ]";
  873. 	mes "Still it would be rude not to reply so I shall write her again until she gives up!";
  874. 	mes "Anyway you made an effort to deliver this to me. Thanks anyway.";
  875. 	// -- Quest: Message Delivery quest (4036) has been deleted.
  876. 	// -- Quest: Complete Message Delivery quest (4100) has been added.
  877. 	changequest 4036,4100;
  878. 	// -- You have gained 24763/15000 (46.72%/21.40%) Exp
  879. 	getexp 16509,10000;
  880. 	// -- Item added to inventory: Warp Free Ticket (4) x 1 - Non-usable
  881. 	getitem 7060, 1;
  882. 	close;	
  883.  
  884. 	}
  885.  
  886. 	mes "[ Sir Lion ]";
  887. 	mes "Out of my way!";
  888. 	mes "My love will not be halted by any man or beast!";
  889. 	next;
  890. 	mes "[ Sir Lion ]";
  891. 	mes "Someday I will find my girl in this city.";
  892. 	mes "I can feel it...";
  893. 	mes "I can feel it...";
  894. 	close;
  895. }
  896.  
  897. izlude,121,174,5	script	Midetz#nk	65,{
  898.  
  899. 	if( checkquest(4037) >= 0 )
  900. 	{
  901.  
  902. 	mes "[ Sir Midetz ]";
  903. 	mes "Izlude...";
  904. 	mes "Hum..Interesting city...";
  905. 	mes "Who is this? What brings you here?";
  906. 	next;
  907. 	mes "[ Sir Midetz ]";
  908. 	mes "I am saved!";
  909. 	mes "Once more my fans have not failed to send me the soothing sweetness of their love through this chocolate!";
  910. 	next;
  911. 	mes "[ Sir Midetz ]";
  912. 	mes "I shall cherish every single bite! Thank you.";
  913. 	mes "Here is my little gift for you.";
  914. 	// -- Quest: Message Delivery quest (4037) has been deleted.
  915. 	// -- Quest: Complete Message Delivery quest (4100) has been added.
  916. 	changequest 4037,4100;
  917. 	// -- You are now level 79
  918. 	// -- You gained a level!
  919. 	// -- You are now job level 39
  920. 	// -- You gained a job level!
  921. 	// -- You have gained 2131/0 (0.93%/0.00%) Exp
  922. 	getexp 160308,100000;
  923. 	// -- Item added to inventory: Warp Free Ticket (17) x 1 - Non-usable
  924. 	getitem 7060, 1;
  925. 	close;
  926.  
  927. 	}
  928.  
  929. 	mes "[ Sir Midetz ]";
  930. 	mes "Izlude...";
  931. 	mes "Hum..Interesting city...";
  932. 	mes "Who is this? What brings you here?";
  933. 	next;
  934. 	mes "[ Sir Midetz ]";
  935. 	mes "Ooh dear, I feel my heart running dry from the lack of sweet affection.";
  936. 	mes "I am too distressed to talk to you. Please leave me be.";
  937. 	close;
  938. }
  939.  
  940. // -- Swap The Deck
  941.  
  942. alberta,104,60,4	script	[Quest] First Mate	748,{
  943.  
  944. 	if( checkquest(9025) >= 0 )
  945. 	{
  946.  
  947. 	if( countitem(6221) > 0 )
  948. 	{
  949.  
  950. 	mes "[ First Mate ]";
  951. 	mes "Wow, you have done!!";
  952. 	mes "Thanks so much! Keep";
  953. 	mes "whatever useful stuff you";
  954. 	mes "picked up from the sticky rat.";
  955. 	mes "I'm sure I'll be needing your";
  956. 	mes "help again, so drop by after";
  957. 	mes "20 hours or so.";
  958. 	mes "Then I will give you ^008000Leaf Cat Ball^000000 again.";
  959. 	// -- Item added to inventory: Mystic Leaf Cat Ball (16) x 0 - Non-usable
  960. 	// -- Inventory Item Removed: Mystic Leaf Cat Ball (12) x 1
  961. 	delitem 6221, 1;
  962. 	// -- Quest: Swab the Deck: Sticky Rats (9025) has been deleted.
  963. 	// -- Quest: Swab the Deck: Present status (9026) has been added.
  964. 	changequest 9025,9026;
  965. 	// -- Item added to inventory: Shiny Bead (12) x 1 - Non-usable
  966. 	getitem 6222, 1;
  967. 	// -- You have gained 170527/7800 (85.26%/4.10%) Exp
  968. 	getexp 170527,7800;
  969. 	close;
  970.  
  971. 	}
  972.  
  973. 	if( countitem(12408) > 4 )
  974. 	{
  975.  
  976. 	mes "[ First Mate ]";
  977. 	mes "What happened? Is there something wrong?";
  978. 	next;
  979. 	if( select("Nothing", "Ask him about the matters.") != 1 )
  980. 	{
  981.  
  982. 	mes "[ First Mate ]";
  983. 	mes "You see I have an";
  984. 	mes "unusual problem on my";
  985. 	mes "ship. The rat on it is...";
  986. 	mes "unusually dangerous..";
  987. 	next;
  988. 	mes "[ First Mate ]";
  989. 	mes "We don't even know";
  990. 	mes "where it came from anymore.";
  991. 	next;
  992. 	mes "[ First Mate ]";
  993. 	mes "The sailors tried, but one of";
  994. 	mes "them almost lost a leg trying";
  995. 	mes "to catch the rats.";
  996. 	mes "I need someone with a lot";
  997. 	mes "more ability to get the job done.";
  998. 	next;
  999. 	mes "[ First Mate ]";
  1000. 	mes "Here is a special ball";
  1001. 	mes "to kill that ^FF0000Sticky Rat^000000...";
  1002. 	mes "It's called ^008000Leaf Cat Ball^000000";
  1003. 	mes "It has special poison inside";
  1004. 	mes "and it can kill the rats right away.";
  1005. 	mes "But remember, sometimes rats are smart enough to beat us down.";
  1006. 	next;
  1007. 	mes "[ First Mate ]";
  1008. 	mes "I hope you can scour";
  1009. 	mes "all rats from my ship.";
  1010. 	mes "I will provide you ^008000Leaf Cat Balls^000000 as much as you need.";
  1011. 	next;
  1012. 	mes "[ First Mate ]";
  1013. 	mes "If you already have";
  1014. 	mes "a ^008000Leaf Cat Ball^000000,";
  1015. 	mes "then you'll find ^FF0000Sticky Rat^000000";
  1016. 	mes "on the deck and inside the ship itself.";
  1017. 	mes "If you are lucky, you can catch the rat at once. But if you are not, then...well..Let's see. Good luck!";
  1018. 	close;	
  1019.  
  1020. 	}
  1021.  
  1022. 	mes "[ First Mate ]";
  1023. 	mes "Ok, then please keep helping me out scouring ^FF0000Sticky Rats^000000.";
  1024. 	close;
  1025.  
  1026. 	}
  1027.  
  1028. 	mes "[ First Mate ]";
  1029. 	mes "Do you need more ^008000Leaf Cat Ball^000000??";
  1030. 	mes "Here you are.";
  1031. 	// -- Item added to inventory: Leaf Cat Ball (15) x 1 - Usable
  1032. 	getitem 12408, 1;
  1033. 	close;	
  1034.  
  1035. 	}
  1036. 	else if( checkquest(9026,PLAYTIME) == 2 )
  1037. 	{
  1038.  
  1039. 	erasequest 9026;
  1040. 	mes "[ First Mate ]";
  1041. 	mes "Hello, "+strcharinfo(0)+" is here!";
  1042. 	next;
  1043. 	goto afterdelay;
  1044.  
  1045. 	}
  1046. 	else if( checkquest(9026,PLAYTIME) != -1 )
  1047. 	{
  1048.  
  1049. 	mes "[ First Mate ]";
  1050. 	mes "Hello, "+strcharinfo(0)+" is here!";
  1051. 	next;
  1052. 	mes "[ First Mate ]";
  1053. 	mes "I really appreciate that you helped me last time.";
  1054. 	mes "^008000Leaf Cat Ball^000000 is provided every 20 hours.";
  1055. 	mes "Since you have completed to help me out yesterday, you need to come back 20 hours later.";
  1056. 	next;
  1057. 	select("Come back later");
  1058. 	mes "[ First Mate ]";
  1059. 	mes "Alright, have a good day!";
  1060. 	close;	
  1061.  
  1062. 	}
  1063.  
  1064. 	afterdelay:
  1065. 	mes "[ First Mate ]";
  1066. 	mes "Hello.";
  1067. 	mes "Why don't you help me catch ^FF0000Sticky Rats^000000?";
  1068. 	next;
  1069. 	switch( select("Um, yeah. Sure", "Sorry, I'm in a hurry", "What happened??") )
  1070. 	{
  1071.  
  1072. 	case 1:
  1073. 	// -- Quest: Swab the Deck: Sticky Rats (9025) has been added.
  1074. 	setquest 9025;
  1075. 	// -- Item added to inventory: Leaf Cat Ball (15) x 1 - Usable
  1076. 	getitem 12408, 1;
  1077. 	mes "[ First Mate ]";
  1078. 	mes "Thank you so much. Here are special balls";
  1079. 	mes "You can catch those sticky rats with thisLeaf Cat Balls.";
  1080. 	mes "Here you are.";
  1081. 	mes "Please clean up ^FF0000Sticky Rat^000000 with balls.";
  1082. 	mes "Good luck.";
  1083. 	close;	
  1084.  
  1085. 	case 2:
  1086. 	mes "[ First Mate ]";
  1087. 	mes "Darn it, and I though I";
  1088. 	mes "already found someone";
  1089. 	mes "strong enough to clean";
  1090. 	mes "my ship for me.";
  1091. 	mes "Come back if you change";
  1092. 	mes "your mind.";
  1093. 	close;
  1094.  
  1095. 	case 3:
  1096. 	mes "[ First Mate ]";
  1097. 	mes "You see I have an";
  1098. 	mes "unusual problem on my";
  1099. 	mes "ship. The rat on it is...";
  1100. 	mes "unusually dangerous..";
  1101. 	next;
  1102. 	mes "[ First Mate ]";
  1103. 	mes "We don't even know";
  1104. 	mes "where it came from anymore.";
  1105. 	next;
  1106. 	mes "[ First Mate ]";
  1107. 	mes "The sailors tried, but one of";
  1108. 	mes "them almost lost a leg trying";
  1109. 	mes "to catch the rats.";
  1110. 	mes "I need someone with a lot";
  1111. 	mes "more ability to get the job done.";
  1112. 	next;
  1113. 	mes "[ First Mate ]";
  1114. 	mes "Here is a special ball";
  1115. 	mes "to kill that ^FF0000Sticky Rat^000000...";
  1116. 	mes "It's called ^008000Leaf Cat Ball^000000";
  1117. 	mes "It has special poison inside";
  1118. 	mes "and it can kill the rats right away.";
  1119. 	mes "But remember, sometimes rats are smart enough to beat us down.";
  1120. 	next;
  1121. 	mes "[ First Mate ]";
  1122. 	mes "I hope you can scour";
  1123. 	mes "all rats from my ship.";
  1124. 	mes "I will provide you ^008000Leaf Cat Balls^000000 as much as you need.";
  1125. 	next;
  1126. 	mes "[ First Mate ]";
  1127. 	mes "If you already have";
  1128. 	mes "a ^008000Leaf Cat Ball^000000,";
  1129. 	mes "then you'll find ^FF0000Sticky Rat^000000";
  1130. 	mes "on the deck and inside the ship itself.";
  1131. 	mes "If you are lucky, you can catch the rat at once. But if you are not, then...well..Let's see. Good luck!";
  1132. 	close;	
  1133.  
  1134. 	}	
  1135. }
  1136.  
  1137. alberta,107,59,5	script	[Quest] Second Mate	100,{
  1138.  
  1139. 	mes "[ Second Mate ]";
  1140. 	mes "Oh, you want to change";
  1141. 	mes "^008000Shiny Bead^000000";
  1142. 	mes "to other items?";
  1143. 	next;
  1144. 	switch( select("Yes", "No", "What is Shiny Bead?") )
  1145. 	{
  1146.  
  1147. 	case 1:
  1148. 	mes "[ Second Mate ]";
  1149. 	mes "That is a good choice!";
  1150. 	mes "Here is the list of items.";
  1151. 	mes "Please choose what you want.";
  1152. 	next;
  1153. 	setarray .@Shop[0],5773,50,1,5691,50,1,505,2,1,5578,30,1,5772,50,1,5474,50,1;
  1154. 	set .@Index, (select("Navy Blue Beret","Sailor's Bandana [1]",
  1155. 	"Blue Potion","Voyage Hat","Blood Admiral's Hat","AFK Hat") - 1) * 3;
  1156.  
  1157. 	set .@Item, .@Shop[.@Index];
  1158. 	set .@Require, .@Shop[.@Index + 1];
  1159. 	set .@Amount, .@Shop[.@Index + 2];
  1160.  
  1161. 	if( countitem(6222) < .@Require )
  1162. 	{
  1163.  
  1164. 	mes "[ Second Mate ]";
  1165. 	mes "If you want to have a ^008000"+getitemname(.@Item)+"^000000,";
  1166. 	mes "you have to bring "+.@Require+" ^008000Shiny Beads^000000.";
  1167. 	mes "You can get 1 ^008000Shiny Bead^000000 every time you have completed ^FF0000Swab the Deck Quest^000000.";
  1168. 	close;
  1169.  
  1170. 	}
  1171.  
  1172. 	if( checkweight(.@Item, .@Amount) == 0 )
  1173. 	{
  1174.  
  1175. 	mes "[ Second Mate ]";
  1176. 	mes "- Wait a minute !! -";
  1177. 	mes "- Currently you're carrying -";
  1178. 	mes "- too many items with you. -";
  1179. 	mes "- Please try again -";
  1180. 	mes "- after you loose some weight. -";
  1181. 	close;
  1182.  
  1183. 	}
  1184.  
  1185. 	mes "[ Second Mate ]";
  1186. 	mes "Exchanging of item is done. Thanks.";
  1187. 	getitem .@Item, .@Amount;
  1188. 	delitem 6222, .@Require;
  1189. 	close;
  1190.  
  1191. 	case 2:
  1192. 	mes "[ Second Mate ]";
  1193. 	mes "Oh, Ok. Whatever~!";
  1194. 	mes "Have a good day~!";
  1195. 	close;	
  1196.  
  1197. 	case 3:
  1198. 	mes "[ Second Mate ]";
  1199. 	mes "Can you see that guy over there?";
  1200. 	mes "He is a ^0000FFFirst Mate^000000 and";
  1201. 	mes "he will let you know all about ^008000Swab the Deck Quest^000000. You can get ^008000Shiny Beads^000000 by helping him.";
  1202. 	next;
  1203. 	if( select("I want to know more about it.", "I don't want to know.") != 1 )
  1204. 	{
  1205.  
  1206. 	mes "[ Second Mate ]";
  1207. 	mes "Alright! Have a good day~!";
  1208. 	close;		
  1209.  
  1210. 	}
  1211.  
  1212. 	mes "[ Second Mate ]";
  1213. 	mes "If you have qualified amount of ^008000Shiny Beads^000000,";
  1214. 	mes "you can exchange them into unique items.";
  1215. 	next;
  1216. 	mes "[ Second Mate ]";
  1217. 	mes "I am in charge of exchanging";
  1218. 	mes "^008000Shiny Beads^000000 into other items.";
  1219. 	mes "So, if you want to exchange Shiny Beads for other items please talk to me!";
  1220. 	close;
  1221.  
  1222. 	}
  1223. }
  1224.  
  1225. // -- Sticky Rat Spawn
  1226.  
  1227. 	alb_ship,0,0,0,0	monster	Sticky Rat	2057,20,0,0,0
  1228.  
  1229. // -- Army Supply
  1230.  
  1231. prontera,159,191,5	script	[Quest] Army Officer#nk	105,{
  1232.  
  1233. 	if( checkquest(4136) >= 0 || checkquest(4137) >= 0 || checkquest(4138) >= 0 ||
  1234. 	checkquest(4139) >= 0 || checkquest(4140) >= 0 ||
  1235. 	checkquest(4141) >= 0 )
  1236. 	{
  1237.  
  1238. 	mes "[ Army Officer ]";
  1239. 	mes "Hurry up! They are all";
  1240. 	mes "waiting for you in Morroc.";
  1241. 	mes "Only you can help them out.";
  1242. 	mes "We are out of time, hurry!";
  1243. 	close;
  1244.  
  1245. 	}
  1246. 	else if( checkquest(4142) >= 0 )
  1247. 	{
  1248.  
  1249. 	mes "[ Army Officer ]";
  1250. 	mes "You are back!";
  1251. 	mes "I heard the injured armies";
  1252. 	mes "have been given some";
  1253. 	mes "supplies by you.";
  1254. 	next;
  1255. 	mes "[ Army Officer ]";
  1256. 	mes "Thank you. If you can come back";
  1257. 	mes "in 20 hours and donate again, I";
  1258. 	mes "will be here to accept it.";
  1259. 	// -- Quest: Army Supplies (4142) has been deleted.
  1260. 	// -- Quest: Army Supplies (4143) has been added.
  1261. 	changequest 4142,4143;
  1262. 	// -- You have gained 0/120000 (0.00%/53.29%) Exp
  1263. 	if( dailyquest_as == 1 ) getexp 80000,50000;
  1264. 	else if( dailyquest_as == 2 || dailyquest_as == 3 ) getexp 200000,80000;
  1265. 	else if( dailyquest_as == 4 ) getexp 160000,100000;
  1266. 	else if( dailyquest_as == 5 ) getexp 500000,150000;
  1267. 	else getexp 1046821,300000;
  1268. 	set dailyquest_as, 0;
  1269. 	close;
  1270.  
  1271. 	}
  1272. 	else if( checkquest(4143,PLAYTIME) == 2 )
  1273. 	{
  1274.  
  1275. 	erasequest 4143;
  1276. 	goto readyfornext;
  1277.  
  1278. 	}
  1279. 	else if( checkquest(4143,PLAYTIME) != -1 )
  1280. 	{
  1281.  
  1282. 	mes "[ Army Officer ]";
  1283. 	mes "I don't need your help, yet.";
  1284. 	mes "Please come back";
  1285. 	mes "20 hours later.";
  1286. 	mes "That time, I am sure there will be injured armies who need your help.";
  1287. 	close;	
  1288.  
  1289. 	}
  1290.  
  1291. 	readyfornext:
  1292. 	mes "[ Army Officer ]";
  1293. 	mes "My job is to manage supply donations";
  1294. 	mes "for the brave soldiers in the front";
  1295. 	mes "lines risking their lives to fight the";
  1296. 	mes "minons of Satan Morroc.";
  1297. 	next;
  1298. 	mes "[ Army Officer ]";
  1299. 	mes "You look like you're a seasoned";
  1300. 	mes "adventurer. Perhaps you can";
  1301. 	mes "donate some potions to our";
  1302. 	mes "troops in the front lines.";
  1303. 	next;
  1304. 	mes "[ Army Officer ]";
  1305. 	mes "I'm sure good fortune will";
  1306. 	mes "grace you in return for your";
  1307. 	mes "support.";
  1308. 	next;
  1309. 	mes "[ Army Officer ]";
  1310. 	mes "Yggdrasilberries would be";
  1311. 	mes "the best to give to our troops";
  1312. 	mes "but the regular White Potions";
  1313. 	mes "will be fine also.";
  1314. 	next;
  1315. 	switch( select("I am not interested", "Donate White Potions", "Donate Yggdrasilberries") )
  1316. 	{
  1317.  
  1318. 	case 1:
  1319. 	mes "[ Army Officer ]";
  1320. 	mes "Well. that is fine.";
  1321. 	mes "But, just remember...";
  1322. 	mes "injured armies are dying in Morroc..That is so sad..";
  1323. 	close;
  1324.  
  1325. 	case 2:
  1326. 	if( BaseLevel < 61 )
  1327. 	{
  1328.  
  1329. 	notenough:
  1330. 	mes "[ Army Officer ]";
  1331. 	mes "Hum...";
  1332. 	mes "You are not strong enough.";
  1333. 	mes "Sorry but, seems like you are a weak adventurer.";
  1334. 	next;
  1335. 	mes "[ Army Officer ]";
  1336. 	mes "When you're capable enough, please";
  1337. 	mes "consider donating supplies so that";
  1338. 	mes "our fighting men and women will";
  1339. 	mes "never run out of resources.";
  1340. 	close;	
  1341.  
  1342. 	}
  1343. 	else if( BaseLevel > 60 && BaseLevel < 81 )
  1344. 	{
  1345.  
  1346. 	mes "[ Army Officer ]";
  1347. 	mes "It will be enough if you can donate";
  1348. 	mes "5 White Potions for our army";
  1349. 	mes "supplies.";
  1350. 	next;
  1351. 	mes "[ Army Officer ]";
  1352. 	mes "Go to Morroc and find the Injured Recruit.";
  1353. 	mes "Bring him the potions so he can";
  1354. 	mes "fight again!";
  1355. 	// -- Quest: Army Supplies (4136) has been added.
  1356. 	set dailyquest_as, 1;
  1357. 	setquest 4136;
  1358. 	close;	
  1359.  
  1360. 	}
  1361. 	else if( BaseLevel > 80 && BaseLevel < 98 )
  1362. 	{
  1363.  
  1364. 	mes "[ Army Officer ]";
  1365. 	mes "It will be enough if you can donate";
  1366. 	mes "100 White Potions for our army";
  1367. 	mes "supplies.";
  1368. 	next;
  1369. 	mes "[ Army Officer ]";
  1370. 	mes "Go to Morroc and find the Injured Veteran.";
  1371. 	mes "Bring him the potions so he can";
  1372. 	mes "fight again!";
  1373. 	// -- Quest: Army Supplies (4137) has been added.
  1374. 	set dailyquest_as, 2;
  1375. 	setquest 4137;
  1376. 	close;
  1377.  
  1378. 	}
  1379.  
  1380. 	mes "[ Army Officer ]";
  1381. 	mes "It will be enough if you can donate";
  1382. 	mes "100 White Potions for our army";
  1383. 	mes "supplies.";
  1384. 	next;
  1385. 	mes "[ Army Officer ]";
  1386. 	mes "Go to Morroc and find the Injured Elite.";
  1387. 	mes "Bring him the potions so he can";
  1388. 	mes "fight again!";
  1389. 	// -- Quest: Army Supplies (4141) has been added.
  1390. 	set dailyquest_as, 3;
  1391. 	setquest 4141;
  1392. 	close;	
  1393.  
  1394. 	case 3:
  1395. 	if( BaseLevel < 61 )
  1396. 		goto notenough;
  1397.  
  1398. 	else if( BaseLevel > 60 && BaseLevel < 81 )
  1399. 	{
  1400.  
  1401. 	mes "[ Army Officer ]";
  1402. 	mes "It will be enough if you can donate";
  1403. 	mes "1 Yggdrasilberry for our";
  1404. 	mes "army supplies.";
  1405. 	next;
  1406. 	mes "[ Army Officer ]";
  1407. 	mes "Go to Morroc and find the Injured Recruit.";
  1408. 	mes "Bring him the Yggdrasilberry so he can";
  1409. 	mes "fight again!";
  1410. 	// -- Quest: Army Supplies (4138) has been added.
  1411. 	set dailyquest_as, 4;
  1412. 	setquest 4138;
  1413. 	close;
  1414.  
  1415. 	}
  1416. 	else if( BaseLevel > 80 && BaseLevel < 98 )
  1417. 	{
  1418.  
  1419. 	mes "[ Army Officer ]";
  1420. 	mes "It will be enough if you can donate";
  1421. 	mes "2 Yggdrasilberries for our";
  1422. 	mes "army supplies.";
  1423. 	next;
  1424. 	mes "[ Army Officer ]";
  1425. 	mes "Go to Morroc and find the Injured Veteran.";
  1426. 	mes "Bring him the Yggdrasilberries so he can";
  1427. 	mes "fight again!";
  1428. 	// -- Quest: Army Supplies (4139) has been added.
  1429. 	set dailyquest_as, 5;
  1430. 	setquest 4139;
  1431. 	close;
  1432.  
  1433. 	}
  1434.  
  1435. 	mes "[ Army Officer ]";
  1436. 	mes "It will be enough if you can donate";
  1437. 	mes "3 Yggdrasilberries for our";
  1438. 	mes "army supplies.";
  1439. 	next;
  1440. 	mes "[ Army Officer ]";
  1441. 	mes "Go to Morroc and find the Injured Elite.";
  1442. 	mes "Bring him the Yggdrasilberries so he can";
  1443. 	mes "fight again!";
  1444. 	// -- Quest: Army Supplies (4140) has been added.
  1445. 	set dailyquest_as, 6;
  1446. 	setquest 4140;
  1447. 	close;	
  1448.  
  1449. 	}
  1450.  
  1451. 	OnInit:
  1452. 	hideonnpc "Revived Recruit#nk";
  1453. 	hideonnpc "Revived Veteran#nk";
  1454. 	hideonnpc "Revived Elite#nk";
  1455. 	end;
  1456. }
  1457.  
  1458. morocc,164,108,5	script	Injured Recruit#nk	849,{
  1459.  
  1460. 	// -- Checks if NPC in use
  1461. 	if( .currentCID != 0 )
  1462. 	{
  1463.  
  1464. 	if( isloggedin(.currentAID, .currentCID) )
  1465. 			end;
  1466. 	}
  1467.  
  1468. 	addtimer 1000, strnpcinfo(3)+"::On_Leave";
  1469. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  1470.  
  1471. 	set .currentCID, getcharid(0);
  1472. 	set .currentAID, getcharid(3);
  1473.  
  1474. 	if( checkquest(4136) >= 0 )
  1475. 	{
  1476.  
  1477. 	mes "[ Injured Recruit ]";
  1478. 	mes "Awee..It hurts...";
  1479. 	mes "I can't stand...";
  1480. 	next;
  1481. 	mes "[ Injured Recruit ]";
  1482. 	mes "I've been fighting for days.";
  1483. 	mes "Finally some minions of";
  1484. 	mes "Satan Morroc jumped me";
  1485. 	mes "when I was weak and I fell.";
  1486. 	next;
  1487. 	mes "If only I had some potions,";
  1488. 	mes "I would immediately get";
  1489. 	mes "back into the fight! Ugh...";
  1490. 	mes "wait bleeding bad, must";
  1491. 	mes "rest.";
  1492. 	next;
  1493. 	if( select("Ignore him", "Give him White Potion") != 1 )
  1494. 	{
  1495.  
  1496. 	if( countitem(504) < 5 )
  1497. 	{
  1498.  
  1499. 	mes "[ Injured Recruit ]";
  1500. 	mes "Awee...";
  1501. 	mes "You don't have enough Potions! Get away! I am so sick!";
  1502. 	close;
  1503.  
  1504. 	}
  1505.  
  1506. 	mes "[ Injured Recruit ]";
  1507. 	mes "Wow, Potions!!";
  1508. 	mes "Thank you so much...";
  1509. 	mes "Now.. I can gather myself up.";
  1510. 	// -- NPC Injured Veteran#nk (9) uses effect: Unknown #207
  1511. 	specialeffect 207;
  1512. 	// -- Inventory Item Removed: White Potion (8) x 5
  1513. 	delitem 504, 5;
  1514. 	// -- Quest: Army Supplies (4136) has been deleted.
  1515. 	// -- Quest: Army Supplies (4142) has been added.
  1516. 	changequest 4136,4142;
  1517. 	hideonnpc "Injured Recruit#nk";
  1518. 	hideoffnpc "Revived Recruit#nk";
  1519. 	initnpctimer;
  1520. 	next;
  1521. 	mes "[ Revived Recruit ]";
  1522. 	mes "Thanks to your potions I";
  1523. 	mes "can finally return to the";
  1524. 	mes "front line.";
  1525. 	next;
  1526. 	mes "[ Revived Recruit ]";
  1527. 	mes "Though, I wish";
  1528. 	mes "I could stay behind in the";
  1529. 	mes "safety of this city while";
  1530. 	mes "pretending to recover from";
  1531. 	mes "my injuries. *cough* I";
  1532. 	mes "mean... off I go!";
  1533. 	close;
  1534.  
  1535. 	}
  1536.  
  1537. 	mes "[ Injured Recruit ]";
  1538. 	mes "Awee... you are so bad.";
  1539. 	mes "I have given up my life";
  1540. 	mes "for protecting Rune-Midgard.";
  1541. 	mes "But, nobody helps me out!";
  1542. 	close;	
  1543.  
  1544. 	}
  1545. 	else if( checkquest(4138) >= 0 )
  1546. 	{
  1547.  
  1548. 	mes "[ Injured Recruit ]";
  1549. 	mes "Awee..It hurts...";
  1550. 	mes "I can't stand...";
  1551. 	next;
  1552. 	if( select("Ignore him", "Give him Yggdrasilberries") != 1 )
  1553. 	{
  1554.  
  1555. 	if( countitem(607) < 1 )
  1556. 	{
  1557.  
  1558. 	mes "[ Injured Recruit ]";
  1559. 	mes "Awee...";
  1560. 	mes "You don't have enough Yggdrasilberries! Get away! I am so sick!";
  1561. 	close;
  1562.  
  1563. 	}
  1564.  
  1565. 	mes "[ Injured Recruit ]";
  1566. 	mes "Wow, Yggdrasilberries!!";
  1567. 	mes "Thank you so much...";
  1568. 	mes "Now.. I can gather myself up.";
  1569. 	// -- NPC Injured Recruit#nk (6) uses effect: Unknown #77
  1570. 	specialeffect 77;
  1571. 	// -- Inventory Item Removed: Yggdrasilberry (18) x 1
  1572. 	delitem 607, 1;
  1573. 	// -- Quest: Army Supplies (4138) has been deleted.
  1574. 	// -- Quest: Army Supplies (4142) has been added.
  1575. 	changequest 4138,4142;
  1576. 	hideonnpc "Injured Recruit#nk";
  1577. 	hideoffnpc "Revived Recruit#nk";
  1578. 	initnpctimer;	
  1579. 	next;
  1580. 	mes "[ Revived Recruit ]";
  1581. 	mes "Thanks to your Yggdrasilberries.";
  1582. 	mes "I can finally return to the";
  1583. 	mes "front line.";
  1584. 	next;
  1585. 	mes "[ Revived Recruit ]";
  1586. 	mes "Though, I wish";
  1587. 	mes "I could stay behind in the";
  1588. 	mes "safety of this city while";
  1589. 	mes "pretending to recover from";
  1590. 	mes "my injuries. *cough* I";
  1591. 	mes "mean... off I go!";
  1592. 	close;	
  1593.  
  1594. 	}
  1595.  
  1596. 	mes "[ Injured Recruit ]";
  1597. 	mes "Awee... you are so bad.";
  1598. 	mes "I have given up my life";
  1599. 	mes "for protecting Rune-Midgard.";
  1600. 	mes "But, nobody helps me out!";
  1601. 	close;	
  1602.  
  1603. 	}
  1604.  
  1605. 	mes "[ Injured Recruit ]";
  1606. 	mes "Awee..It hurts...";
  1607. 	mes "I can't stand...";
  1608. 	next;
  1609. 	mes "[ Injured Recruit ]";
  1610. 	mes "Huh? Who are you?";
  1611. 	mes "Get away, I am so sick...";
  1612. 	close;
  1613.  
  1614. 	OnTimer1800000:
  1615. 	// -- 30 Minutes to Injured state
  1616. 	hideonnpc "Revived Recruit#nk";
  1617. 	hideoffnpc "Injured Recruit#nk";
  1618. 	stopnpctimer;
  1619. 	end;
  1620.  
  1621. 	On_Leave:
  1622. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  1623. 	end;	
  1624. }
  1625.  
  1626. morocc,164,108,5	script	Revived Recruit#nk	105,{
  1627.  
  1628. 	mes "[ Revived Recruit ]";
  1629. 	mes "Now, I can cheer up!";
  1630. 	mes "I will immediately return to the";
  1631. 	mes "battle against Satan Morroc!";
  1632. 	next;
  1633. 	mes "[ Revived Recruit ]";
  1634. 	mes "For Rune-Midgard's sake!";
  1635. 	close;
  1636. }
  1637.  
  1638. morocc,164,108,5	script	Injured Veteran#nk	849,{
  1639.  
  1640. 	// -- Checks if NPC in use
  1641. 	if( .currentCID != 0 )
  1642. 	{
  1643.  
  1644. 	if( isloggedin(.currentAID, .currentCID) )
  1645. 			end;
  1646. 	}
  1647.  
  1648. 	addtimer 1000, strnpcinfo(3)+"::On_Leave";
  1649. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  1650.  
  1651. 	set .currentCID, getcharid(0);
  1652. 	set .currentAID, getcharid(3);
  1653.  
  1654. 	if( checkquest(4137) >= 0 )
  1655. 	{
  1656.  
  1657. 	mes "[ Injured Veteran ]";
  1658. 	mes "Awee..It hurts...";
  1659. 	mes "I can't stand...";
  1660. 	next;
  1661. 	mes "[ Injured Veteran ]";
  1662. 	mes "I've been fighting for days.";
  1663. 	mes "Finally some minions of";
  1664. 	mes "Satan Morroc jumped me";
  1665. 	mes "when I was weak and I fell.";
  1666. 	next;
  1667. 	mes "If only I had some potions,";
  1668. 	mes "I would immediately get";
  1669. 	mes "back into the fight! Ugh...";
  1670. 	mes "wait bleeding bad, must";
  1671. 	mes "rest.";
  1672. 	next;
  1673. 	if( select("Ignore him", "Give him White Potion") != 1 )
  1674. 	{
  1675.  
  1676. 	if( countitem(504) < 100 )
  1677. 	{
  1678.  
  1679. 	mes "[ Injured Veteran ]";
  1680. 	mes "Awee...";
  1681. 	mes "You don't have enough Potions! Get away! I am so sick!";
  1682. 	close;
  1683.  
  1684. 	}
  1685.  
  1686. 	mes "[ Injured Veteran ]";
  1687. 	mes "Wow, Potions!!";
  1688. 	mes "Thank you so much...";
  1689. 	mes "Now.. I can gather myself up.";
  1690. 	// -- NPC Injured Veteran#nk (9) uses effect: Unknown #207
  1691. 	specialeffect 207;
  1692. 	// -- Inventory Item Removed: White Potion (8) x 100
  1693. 	delitem 504, 100;
  1694. 	// -- Quest: Army Supplies (4137) has been deleted.
  1695. 	// -- Quest: Army Supplies (4142) has been added.
  1696. 	changequest 4137,4142;
  1697. 	hideonnpc "Injured Veteran#nk";
  1698. 	hideoffnpc "Revived Veteran#nk";
  1699. 	initnpctimer;
  1700. 	next;
  1701. 	mes "[ Revived Veteran ]";
  1702. 	mes "Thanks to your potions I";
  1703. 	mes "can finally return to the";
  1704. 	mes "front line.";
  1705. 	next;
  1706. 	mes "[ Revived Veteran ]";
  1707. 	mes "Though, I wish";
  1708. 	mes "I could stay behind in the";
  1709. 	mes "safety of this city while";
  1710. 	mes "pretending to recover from";
  1711. 	mes "my injuries. *cough* I";
  1712. 	mes "mean... off I go!";
  1713. 	close;	
  1714.  
  1715. 	}
  1716.  
  1717. 	mes "[ Injured Veteran ]";
  1718. 	mes "Awee... you are so bad.";
  1719. 	mes "I have given up my life";
  1720. 	mes "for protecting Rune-Midgard.";
  1721. 	mes "But, nobody helps me out!";
  1722. 	close;	
  1723.  
  1724. 	}
  1725. 	else if( checkquest(4139) >= 0 )
  1726. 	{
  1727.  
  1728. 	mes "[ Injured Veteran ]";
  1729. 	mes "Awee..It hurts...";
  1730. 	mes "I can't stand...";
  1731. 	next;
  1732. 	if( select("Ignore him", "Give him Yggdrasilberries") != 1 )
  1733. 	{
  1734.  
  1735. 	if( countitem(607) < 2 )
  1736. 	{
  1737.  
  1738. 	mes "[ Injured Veteran ]";
  1739. 	mes "Awee...";
  1740. 	mes "You don't have enough Yggdrasilberries! Get away! I am so sick!";
  1741. 	close;
  1742.  
  1743. 	}
  1744.  
  1745. 	mes "[ Injured Veteran ]";
  1746. 	mes "Wow, Yggdrasilberries!!";
  1747. 	mes "Thank you so much...";
  1748. 	mes "Now.. I can gather myself up.";
  1749. 	// -- NPC Injured Veteran#nk (9) uses effect: Unknown #77
  1750. 	specialeffect 77;
  1751. 	// -- Inventory Item Removed: Yggdrasilberry (18) x 2
  1752. 	delitem 607, 2;
  1753. 	// -- Quest: Army Supplies (4139) has been deleted.
  1754. 	// -- Quest: Army Supplies (4142) has been added.
  1755. 	changequest 4139,4142;
  1756. 	hideonnpc "Injured Veteran#nk";
  1757. 	hideoffnpc "Revived Veteran#nk";
  1758. 	initnpctimer;
  1759. 	next;
  1760. 	mes "[ Revived Veteran ]";
  1761. 	mes "Thanks to your Yggdrasilberries.";
  1762. 	mes "I can finally return to the";
  1763. 	mes "front line.";
  1764. 	next;
  1765. 	mes "[ Revived Veteran ]";
  1766. 	mes "Though, I wish";
  1767. 	mes "I could stay behind in the";
  1768. 	mes "safety of this city while";
  1769. 	mes "pretending to recover from";
  1770. 	mes "my injuries. *cough* I";
  1771. 	mes "mean... off I go!";
  1772. 	close;	
  1773.  
  1774. 	}
  1775.  
  1776. 	mes "[ Injured Veteran ]";
  1777. 	mes "Awee... you are so bad.";
  1778. 	mes "I have given up my life";
  1779. 	mes "for protecting Rune-Midgard.";
  1780. 	mes "But, nobody helps me out!";
  1781. 	close;	
  1782.  
  1783. 	}	
  1784.  
  1785. 	mes "[ Injured Veteran ]";
  1786. 	mes "Awee..It hurts...";
  1787. 	mes "I can't stand...";
  1788. 	next;
  1789. 	mes "[ Injured Veteran ]";
  1790. 	mes "Huh? Who are you?";
  1791. 	mes "Get away, I am so sick...";
  1792. 	close;
  1793.  
  1794. 	OnTimer1800000:
  1795. 	// -- 30 Minutes to Injured state
  1796. 	hideonnpc "Revived Veteran#nk";
  1797. 	hideoffnpc "Injured Veteran#nk";
  1798. 	stopnpctimer;
  1799. 	end;
  1800.  
  1801. 	On_Leave:
  1802. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  1803. 	end;
  1804. }
  1805.  
  1806. morocc,164,108,5	script	Revived Veteran#nk	734,{
  1807.  
  1808. 	mes "[ Revived Veteran ]";
  1809. 	mes "Now, I can cheer up!";
  1810. 	mes "I will immediately return to the";
  1811. 	mes "battle against Satan Morroc!";
  1812. 	next;
  1813. 	mes "[ Revived Veteran ]";
  1814. 	mes "For Rune-Midgard's sake!";
  1815. 	close;
  1816. }
  1817.  
  1818. morocc,170,108,5	script	Injured Elite#nk	849,{
  1819.  
  1820. 	// -- Checks if NPC in use
  1821. 	if( .currentCID != 0 )
  1822. 	{
  1823.  
  1824. 	if( isloggedin(.currentAID, .currentCID) )
  1825. 			end;
  1826. 	}
  1827.  
  1828. 	addtimer 1000, strnpcinfo(3)+"::On_Leave";
  1829. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  1830.  
  1831. 	set .currentCID, getcharid(0);
  1832. 	set .currentAID, getcharid(3);
  1833.  
  1834. 	if( checkquest(4141) >= 0 )
  1835. 	{
  1836.  
  1837. 	mes "[ Injured Elite ]";
  1838. 	mes "Awee..It hurts...";
  1839. 	mes "I can't stand...";
  1840. 	next;
  1841. 	mes "[ Injured Elite ]";
  1842. 	mes "I've been fighting for days.";
  1843. 	mes "Finally some minions of";
  1844. 	mes "Satan Morroc jumped me";
  1845. 	mes "when I was weak and I fell.";
  1846. 	next;
  1847. 	mes "If only I had some potions,";
  1848. 	mes "I would immediately get";
  1849. 	mes "back into the fight! Ugh...";
  1850. 	mes "wait bleeding bad, must";
  1851. 	mes "rest.";
  1852. 	next;
  1853. 	if( select("Ignore him", "Give him White Potion") != 1 )
  1854. 	{
  1855.  
  1856. 	if( countitem(504) < 100 )
  1857. 	{
  1858.  
  1859. 	mes "[ Injured Elite ]";
  1860. 	mes "Awee...";
  1861. 	mes "You don't have enough Potions! Get away! I am so sick!";
  1862. 	close;
  1863.  
  1864. 	}
  1865.  
  1866. 	mes "[ Injured Elite ]";
  1867. 	mes "Wow, Yggdrasilberries!!";
  1868. 	mes "Thank you so much...";
  1869. 	mes "Now.. I can gather myself up.";
  1870. 	// -- NPC Injured Elite#nk (9) uses effect: Unknown #207
  1871. 	specialeffect 207;
  1872. 	// -- Inventory Item Removed: White Potion (8) x 100
  1873. 	delitem 504, 100;
  1874. 	// -- Quest: Army Supplies (4141) has been deleted.
  1875. 	// -- Quest: Army Supplies (4142) has been added.
  1876. 	changequest 4141,4142;
  1877. 	hideonnpc "Injured Elite#nk";
  1878. 	hideoffnpc "Revived Elite#nk";
  1879. 	initnpctimer;
  1880. 	next;
  1881. 	mes "[ Revived Elite ]";
  1882. 	mes "Thanks to your potions I";
  1883. 	mes "can finally return to the";
  1884. 	mes "front line.";
  1885. 	next;
  1886. 	mes "[ Revived Elite ]";
  1887. 	mes "Though, I wish";
  1888. 	mes "I could stay behind in the";
  1889. 	mes "safety of this city while";
  1890. 	mes "pretending to recover from";
  1891. 	mes "my injuries. *cough* I";
  1892. 	mes "mean... off I go!";
  1893. 	close;	
  1894.  
  1895. 	}
  1896.  
  1897. 	mes "[ Injured Elite ]";
  1898. 	mes "Awee... you are so bad.";
  1899. 	mes "I have given up my life";
  1900. 	mes "for protecting Rune-Midgard.";
  1901. 	mes "But, nobody helps me out!";
  1902. 	close;	
  1903.  
  1904. 	}
  1905. 	else if( checkquest(4140) >= 0 )
  1906. 	{
  1907.  
  1908. 	mes "[ Injured Elite ]";
  1909. 	mes "Awee..It hurts...";
  1910. 	mes "I can't stand...";
  1911. 	next;
  1912. 	if( select("Ignore him", "Give him Yggdrasilberries") != 1 )
  1913. 	{
  1914.  
  1915. 	if( countitem(607) < 3 )
  1916. 	{
  1917.  
  1918. 	mes "[ Injured Elite ]";
  1919. 	mes "Awee...";
  1920. 	mes "You don't have enough Yggdrasilberries! Get away! I am so sick!";
  1921. 	close;
  1922.  
  1923. 	}
  1924.  
  1925. 	mes "[ Injured Elite ]";
  1926. 	mes "Wow, Yggdrasilberries!!";
  1927. 	mes "Thank you so much...";
  1928. 	mes "Now.. I can gather myself up.";
  1929. 	// -- NPC Injured Elite#nk (9) uses effect: Unknown #77
  1930. 	specialeffect 77;
  1931. 	// -- Inventory Item Removed: Yggdrasilberry (18) x 3
  1932. 	delitem 607, 3;
  1933. 	// -- Quest: Army Supplies (4140) has been deleted.
  1934. 	// -- Quest: Army Supplies (4142) has been added.
  1935. 	changequest 4140,4142;
  1936. 	hideonnpc "Injured Elite#nk";
  1937. 	hideoffnpc "Revived Elite#nk";
  1938. 	initnpctimer;
  1939. 	next;
  1940. 	mes "[ Revived Elite ]";
  1941. 	mes "Thanks to your Yggdrasilberries.";
  1942. 	mes "I can finally return to the";
  1943. 	mes "front line.";
  1944. 	next;
  1945. 	mes "[ Revived Elite ]";
  1946. 	mes "Though, I wish";
  1947. 	mes "I could stay behind in the";
  1948. 	mes "safety of this city while";
  1949. 	mes "pretending to recover from";
  1950. 	mes "my injuries. *cough* I";
  1951. 	mes "mean... off I go!";
  1952. 	close;	
  1953.  
  1954. 	}
  1955.  
  1956. 	mes "[ Injured Elite ]";
  1957. 	mes "Awee... you are so bad.";
  1958. 	mes "I have given up my life";
  1959. 	mes "for protecting Rune-Midgard.";
  1960. 	mes "But, nobody helps me out!";
  1961. 	close;	
  1962.  
  1963. 	}
  1964.  
  1965. 	mes "[ Injured Elite ]";
  1966. 	mes "Awee..It hurts...";
  1967. 	mes "I can't stand...";
  1968. 	next;
  1969. 	mes "[ Injured Elite ]";
  1970. 	mes "Huh? Who are you?";
  1971. 	mes "Get away, I am so sick...";
  1972. 	close;
  1973.  
  1974. 	OnTimer1800000:
  1975. 	// -- 30 Minutes to Injured state
  1976. 	hideonnpc "Revived Elite#nk";
  1977. 	hideoffnpc "Injured Elite#nk";
  1978. 	stopnpctimer;
  1979. 	end;
  1980.  
  1981. 	On_Leave:
  1982. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  1983. 	end;	
  1984. }
  1985.  
  1986. morocc,170,108,5	script	Revived Elite#nk	813,{
  1987.  
  1988. 	mes "[ Revived Elite ]";
  1989. 	mes "Now, I can cheer up!";
  1990. 	mes "I will immediately return to the";
  1991. 	mes "battle against Satan Morroc!";
  1992. 	next;
  1993. 	mes "[ Revived Elite ]";
  1994. 	mes "For Rune-Midgard's sake!";
  1995. 	close;
  1996. }
  1997.  
  1998. // -- Church Donation
  1999.  
  2000. prontera,165,191,4	script	Church Worker#	790,{
  2001.  
  2002. 	if( checkquest(9027,PLAYTIME) == 2 )
  2003. 	{
  2004.  
  2005. 	erasequest 9027;
  2006. 	goto afterdelay;
  2007.  
  2008. 	}
  2009. 	else if( checkquest(9027,PLAYTIME) != -1 )
  2010. 	{
  2011.  
  2012. 	mes "[ Church Worker ]";
  2013. 	mes "I accept donation only once a day.";
  2014. 	mes "I appreciate your kindness, but could you come back after 20 hours later?";
  2015. 	close;
  2016.  
  2017. 	}
  2018.  
  2019. 	if( BaseLevel < 61 )
  2020. 	{
  2021.  
  2022. 	mes "[ Church Worker ]";
  2023. 	mes "Hello there, young adventurer.";
  2024. 	mes "I'm a representative of the";
  2025. 	mes "Church of Prontera and I";
  2026. 	mes "accept donations from people.";
  2027. 	mes "who have already found great";
  2028. 	mes "fortune from their travels.";
  2029. 	next;
  2030. 	mes "[ Church Worker ]";
  2031. 	mes "Humm.."+strcharinfo(0)+" is not ready yet.";
  2032. 	mes "Once you get stronger and begin";
  2033. 	mes "amassing your own wealth,";
  2034. 	mes "consider coming back here and";
  2035. 	mes "sharing your fortune with the";
  2036. 	mes "less fortunate. I'm sure you will";
  2037. 	mes "be blessed for your kindness.";
  2038. 	mes "<Lv 61 quest or higher>";
  2039. 	close;
  2040.  
  2041. 	}
  2042.  
  2043. 	afterdelay:
  2044. 	mes "[ Church Worker ]";
  2045. 	mes "Good day to you, kind adventurer.";
  2046. 	mes "I'm a worker from the Church of";
  2047. 	mes "Prontera. I'm hoping that you";
  2048. 	mes "could share some of your good";
  2049. 	mes "fortune with the less fortunate";
  2050. 	mes "by donating to the Church.";
  2051. 	next;
  2052. 	mes "[ Church Worker ]";
  2053. 	mes "Of course, I have prepared a little gift for you, if you like to donate...";
  2054. 	mes "Would you like to donate?";
  2055. 	next;
  2056. 	if( select("No,I am not wealthy enough to donate.", "Yes, I would like to donate!") != 1 )
  2057. 	{
  2058.  
  2059. 	mes "[ Church Worker ]";
  2060. 	mes "That is right! You are the best!";
  2061. 	mes "I only ask that you donate";
  2062. 	mes "an amount of zeny appropriate";
  2063. 	mes "for your status and I am sure";
  2064. 	mes "that in return, you will be";
  2065. 	mes "blessed for your generosity.";
  2066. 	next;
  2067. 	mes "[ Church Worker ]";
  2068. 	mes "Let me give you a simple explanation.";
  2069. 	mes "We have observed appropriate donation amount for each adventure's ability.";
  2070. 	mes "^0000FFLV 60~80^000000 should donate 40,000 zeny,";
  2071. 	mes "^0000FFLV 80~96^000000 should donate 80,000 zeny,";
  2072. 	mes "^0000FFLV 97~99^000000 should donate 200,000 zeny.";
  2073. 	next;
  2074. 	mes "[ Church Worker ]";
  2075. 	mes "So, I would like to accept your donation.";
  2076. 	next;
  2077. 	mes "[ Church Worker ]";
  2078. 	mes "Thank you very much.";
  2079. 	mes "Could you wait a while?";
  2080. 	// -- You lost 40,000 zeny.
  2081. 	if( BaseLevel > 59 && BaseLevel < 81 ) set Zeny, Zeny - 40000;
  2082. 	else if( BaseLevel > 80 && BaseLevel < 97 ) set Zeny, Zeny - 80000;
  2083. 	else if( BaseLevel > 96 ) set Zeny, Zeny - 200000;
  2084. 	next;
  2085. 	mes "[ Church Worker ]";
  2086. 	mes "Let me see.. Here it is.";
  2087. 	mes "You can donate only once per day. Please keep it in mind.";
  2088. 	mes "You can donate again after 20 hours later.";
  2089. 	// -- Quest: Church Donation Quest (9027) has been added.
  2090. 	setquest 9027;
  2091. 	// -- You use effect: Unknown #375
  2092. 	specialeffect2 375;
  2093. 	// -- You are now level 78
  2094. 	// -- You gained a level!
  2095. 	// -- You are now job level 38
  2096. 	// -- You gained a job level!
  2097. 	// -- You have gained 0/0 (0.00%/0.00%) Exp
  2098. 	if( BaseLevel > 59 && BaseLevel < 81 ) getexp 80000,50000;
  2099. 	else if( BaseLevel > 80 && BaseLevel < 97 ) getexp 200000,50000;
  2100. 	else if( BaseLevel > 96 ) getexp 400000,100000;
  2101. 	// -- Item added to inventory: Random Potion (14) x 1 - Usable
  2102. 	set .@a,rand(1,3);
  2103. 	if( .@a == 1 ) getitem 504, 1; // -- White Potion
  2104. 	else if( .@a == 2 ) getitem 505, 1; // -- Blue Potion
  2105. 	else getitem 608, 1; // -- Yggdrasil Seed
  2106. 	percentheal 100,100;
  2107. 	if( BaseLevel > 59 && BaseLevel < 81 )
  2108. 	{
  2109.  
  2110. 	sc_start SC_STRFOOD, 1950000, 5;
  2111. 	// -- You are now: Dragon Breath Cocktail (Duration: 1950s)
  2112. 	sc_start SC_INTFOOD, 1950000, 5;
  2113. 	// -- You are now: Hwergelmir's Tonic (Duration: 1950s)
  2114. 	sc_start SC_DEXFOOD, 1950000, 5;
  2115. 	// -- You are now: Steamed Desert Scorpions (Duration: 1950s)
  2116. 	sc_start SC_AGIFOOD, 1950000, 5;
  2117. 	// -- You are now: Cooked Nine Tail's Tails (Duration: 1950s)
  2118. 	sc_start SC_LUKFOOD, 1950000, 5;
  2119. 	// -- You are now: Immortal Stew (Duration: 1950s)
  2120. 	sc_start SC_VITFOOD, 1950000, 5;
  2121.  
  2122. 	}
  2123. 	else if( BaseLevel > 80 && BaseLevel < 97 )
  2124. 	{
  2125.  
  2126. 	sc_start SC_STRFOOD, 1950000, 6;
  2127. 	// -- You are now: Dragon Breath Cocktail (Duration: 1950s)
  2128. 	sc_start SC_INTFOOD, 1950000, 6;
  2129. 	// -- You are now: Hwergelmir's Tonic (Duration: 1950s)
  2130. 	sc_start SC_DEXFOOD, 1950000, 6;
  2131. 	// -- You are now: Steamed Desert Scorpions (Duration: 1950s)
  2132. 	sc_start SC_AGIFOOD, 1950000, 6;
  2133. 	// -- You are now: Cooked Nine Tail's Tails (Duration: 1950s)
  2134. 	sc_start SC_LUKFOOD, 1950000, 6;
  2135. 	// -- You are now: Immortal Stew (Duration: 1950s)
  2136. 	sc_start SC_VITFOOD, 1950000, 6;	
  2137.  
  2138. 	}
  2139. 	else if( BaseLevel > 96 )
  2140. 	{
  2141.  
  2142. 	sc_start SC_STRFOOD, 1950000, 7;
  2143. 	// -- You are now: Dragon Breath Cocktail (Duration: 1950s)
  2144. 	sc_start SC_INTFOOD, 1950000, 7;
  2145. 	// -- You are now: Hwergelmir's Tonic (Duration: 1950s)
  2146. 	sc_start SC_DEXFOOD, 1950000, 7;
  2147. 	// -- You are now: Steamed Desert Scorpions (Duration: 1950s)
  2148. 	sc_start SC_AGIFOOD, 1950000, 7;
  2149. 	// -- You are now: Cooked Nine Tail's Tails (Duration: 1950s)
  2150. 	sc_start SC_LUKFOOD, 1950000, 7;
  2151. 	// -- You are now: Immortal Stew (Duration: 1950s)
  2152. 	sc_start SC_VITFOOD, 1950000, 7;	
  2153.  
  2154. 	}
  2155. 	close;
  2156.  
  2157. 	}
  2158.  
  2159. 	mes "[ Church Worker ]";
  2160. 	mes "Alright, if you don't want, it is fine. Come back again if you change your mind.";
  2161. 	close;
  2162. }
  2163.  
  2164. // -- Odin's Knight ( Premium Users only )
  2165.  
  2166. prontera,162,188,5	script	[Quest] Odin's Knight#n	745,{
  2167.  
  2168. 	if( checkquest(9033,PLAYTIME) == 2 )
  2169. 	{
  2170.  
  2171. 	erasequest 9033;
  2172. 	goto afterdelay;
  2173.  
  2174. 	}
  2175. 	else if( checkquest(9033,PLAYTIME) != -1 )
  2176. 	{
  2177.  
  2178. 	mes "[ Odin's Knight ]";
  2179. 	mes "You are not ready yet.";
  2180. 	mes "Since you have completed buffing up yesterday, you need to come back 20 hours later.";
  2181. 	close;	
  2182.  
  2183. 	}
  2184.  
  2185. 	if( isPremium() )
  2186. 	{
  2187.  
  2188. 	afterdelay:
  2189. 	mes "[ Odin's Knight ]";
  2190. 	mes "I am here to transmit my special";
  2191. 	mes "experience to capable warriors.";
  2192. 	mes "So they can learn how to battle as fast as I could.";
  2193. 	next;
  2194. 	mes "[ Odin's Knight ]";
  2195. 	mes "However, the requirements are complicated.";
  2196. 	mes "I only talk to brave warriors.";
  2197. 	mes "They are specialized people who came from Odin's world.";
  2198. 	next;
  2199. 	mes "[ Odin's Knight ]";
  2200. 	mes "Hail, Knight of Odin!";
  2201. 	mes "I am here to transmit";
  2202. 	mes "my special power to all the";
  2203. 	mes "members of the Order of Odin.";
  2204. 	mes "Are you ready to learn my special skill?";
  2205. 	next;
  2206. 	if( select("I am not interested.", "I am ready to learn!") != 1 )
  2207. 	{
  2208.  
  2209. 	mes "[ Odin's Knight ]";
  2210. 	mes "Haha, Excellent choice!";
  2211. 	mes "Ok, are you ready?!";
  2212. 	mes "Yup~!! Yup~!! Go for it~!!";
  2213. 	next;
  2214. 	mes "[ Odin's Knight ]";
  2215. 	mes "Up~!! Up~!! Ha~ah ah ah~! Yup!";
  2216. 	// -- NPC [Quest] Odin's Knight#n (10) uses effect: Unknown #58
  2217. 	specialeffect 58;
  2218. 	next;
  2219. 	mes "[ Odin's Knight ]";
  2220. 	mes "Yup~!! Go~!!";
  2221. 	// -- You are now level 77
  2222. 	// -- You gained a level!
  2223. 	// -- You have gained 52462/150000 (26.90%/83.15%) Exp
  2224. 	if( BaseLevel < 21 ) getexp 141,100;
  2225. 	else if( BaseLevel > 20 && BaseLevel < 41 ) getexp 1500,1000;
  2226. 	else if( BaseLevel > 40 && BaseLevel < 61 ) getexp 16509,10000;
  2227. 	else if( BaseLevel > 60 && BaseLevel < 81 ) getexp 160308,100000;
  2228. 	else if( BaseLevel > 80 && BaseLevel < 98 ) getexp 500000,150000;
  2229. 	else getexp 1046821,300000;
  2230. 	// -- Quest: Odin's Knight (9033) has been added.
  2231. 	setquest 9033;
  2232. 	// -- You use effect: Unknown #231
  2233. 	specialeffect2 231;
  2234. 	next;
  2235. 	mes "[ Odin's Knight ]";
  2236. 	mes "Ah ha...";
  2237. 	mes "How do you feel? Do you feel much powerful now?";
  2238. 	next;
  2239. 	mes "[ Odin's Knight ]";
  2240. 	mes "I can only effort to help you once a day.";
  2241. 	mes "Please come back 20 hours later.";
  2242. 	mes "So I can get some rest.";
  2243. 	close;
  2244.  
  2245. 	}
  2246.  
  2247. 	mes "[ Odin's Knight ]";
  2248. 	mes "Ok, never mind.";
  2249. 	mes "If you learn it, I think";
  2250. 	mes "you would like it though. Ok, come back next time if you change your mind!";
  2251. 	close;
  2252.  
  2253. 	}
  2254.  
  2255. 	mes "[ Odin's Knight ]";
  2256. 	mes "I am here to transmit my special";
  2257. 	mes "experience to capable warriors.";
  2258. 	mes "So they can learn how to battle as fast as I could.";
  2259. 	next;
  2260. 	mes "[ Odin's Knight ]";
  2261. 	mes "However, the requirements are complicated.";
  2262. 	mes "I only talk to brave warriors.";
  2263. 	mes "They are specialized people who came from Odin's world.";
  2264. 	next;
  2265. 	mes "[ Odin's Knight ]";
  2266. 	mes "I am a representative of";
  2267. 	mes "the Order of Odin.";
  2268. 	mes "You are not a member of";
  2269. 	mes "our Order, but if you do join, please talk to me again. Have a good day.";
  2270. 	close;	
  2271. }
  2272.  
  2273. // -- Master Thief Quest
  2274.  
  2275. geffen,127,115,5	script	Geffen Enforcer#geffen	418,{
  2276.  
  2277. 	// -- Checks if NPC in use
  2278. 	if( .currentCID != 0 )
  2279. 	{
  2280.  
  2281. 	if( isloggedin(.currentAID, .currentCID) )
  2282. 		end;
  2283.  
  2284. 	}
  2285.  
  2286. 	addtimer 1000, strnpcinfo(3)+"::On_Leave"; 
  2287. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  2288.  
  2289. 	set .currentCID, getcharid(0);
  2290. 	set .currentAID, getcharid(3);	
  2291.  
  2292. 	if( checkquest(9035) >= 0 )
  2293. 	{
  2294.  
  2295. 	mes "[ Geffen Enforcer ]";
  2296. 	mes "Let me remind you again.";
  2297. 	mes "^FF0000Master Thief^000000 has been injured by Alberta enforcers.";
  2298. 	mes "He is hiding somewhere";
  2299. 	mes "in ^7E3817Geffen^000000 city.";
  2300. 	next;
  2301. 	mes "[ Geffen Enforcer ]";
  2302. 	mes "They often hide behind";
  2303. 	mes "buildings but sometimes";
  2304. 	mes "they are also out in the";
  2305. 	mes "open. Check around";
  2306. 	mes "the inside edges of ^7E3817Geffen^000000 city.";
  2307. 	next;
  2308. 	mes "[ Geffen Enforcer ]";
  2309. 	mes "They will run after you";
  2310. 	mes "catch them once, but they will surrender if you keep catching them.";
  2311. 	close;	
  2312.  
  2313. 	}
  2314. 	else if( checkquest(9036) >= 0 )
  2315. 	{
  2316.  
  2317. 	mes "[ Geffen Enforcer ]";
  2318. 	mes "You've done a good job!";
  2319. 	mes "Now the streets of Geffen";
  2320. 	mes "are a little safer thanks";
  2321. 	mes "to your efforts.";
  2322. 	mes "^FF0000Master Thief^000000 has been caught!";
  2323. 	next;
  2324. 	mes "[ Geffen Enforcer ]";
  2325. 	mes "But, there is one more problem.";
  2326. 	mes "^FF0000Master Thief^000000 got hurt badly.";
  2327. 	mes "It is much worse than I thought.";
  2328. 	mes "He needs a treatment right away.";
  2329. 	mes "Even he is a bad thief, but life is always important.";
  2330. 	next;
  2331. 	mes "[ Geffen Enforcer ]";
  2332. 	mes "For his treatment,";
  2333. 	mes "we need ^00800010 Green Herb^000000";
  2334. 	mes "We don't have much time.";
  2335. 	mes "Please bring Green Herb~!!";
  2336. 	// -- Quest: Wanted: Master Thief (9036) has been deleted.
  2337. 	// -- Quest: Wanted: Master Thief (9037) has been added.
  2338. 	changequest 9036,9037;
  2339. 	close;
  2340.  
  2341. 	}
  2342. 	else if( checkquest(9037) >= 0 )
  2343. 	{
  2344.  
  2345. 	if( countitem(511) > 9 )
  2346. 	{
  2347.  
  2348. 	// -- Inventory Item Removed: Green Herb (6) x 10
  2349. 	delitem 511, 10;
  2350. 	// -- Quest: Wanted: Master Thief (9037) has been deleted.
  2351. 	// -- Quest: Wanted: Master Thief (9038) has been added.
  2352. 	changequest 9037,9038;
  2353. 	mes "[ Geffen Enforcer ]";
  2354. 	mes "Oh! You brought Green Herbs!";
  2355. 	mes "Now, I will cure ^FF0000Master Thief^000000";
  2356. 	mes "with herbs.";
  2357. 	mes "^FF0000Master Thief^000000~!! Get here!";
  2358. 	specialeffect 16,AREA,"Cured Master Thief#geff";
  2359. 	enablenpc "Cured Master Thief#geff";
  2360. 	next;
  2361. 	mes "[ Geffen Enforcer ]";
  2362. 	mes "Wake up~!! Master Thief~!!";
  2363. 	next;
  2364. 	mes "[ Geffen Enforcer ]";
  2365. 	mes "^FF0000Master Thief^000000 Get out!";
  2366. 	specialeffect 152,AREA,"Cured Master Thief#geff";
  2367. 	next;
  2368. 	specialeffect 152,AREA,"Cured Master Thief#geff";
  2369. 	disablenpc "Cured Master Thief#geff";
  2370. 	mes "[ Geffen Enforcer ]";
  2371. 	mes "Hu..we are done treatment.";
  2372. 	mes "Please inform our captain";
  2373. 	mes "that we caught the thief and cured him.";
  2374. 	mes "He is in ^7E3817Alberta^000000.";
  2375. 	next;
  2376. 	mes "[ Geffen Enforcer ]";
  2377. 	mes "Thanks for helping me.";
  2378. 	mes "I will send you to warp.";
  2379. 	mes "Ye yup~!!";
  2380. 	close2;
  2381. 	warp "alberta",103,48;
  2382. 	end;
  2383.  
  2384. 	}
  2385. 	mes "[ Geffen Enforcer ]";
  2386. 	mes "You haven't collected ^00800010 Green Herb^000000.";
  2387. 	mes "^FF0000Master Thief^000000 is in danger.";
  2388. 	mes "Please bring him Green Herbs!";
  2389. 	close;
  2390.  
  2391. 	}
  2392. 	else if( checkquest(9039,PLAYTIME) == 2 )
  2393. 	{
  2394.  
  2395. 	mes "[ Geffen Enforcer ]";
  2396. 	mes "^FF0000Master Thief^000000 had played in ^7E3817Alberta^000000 as an untouchable thief.";
  2397. 	mes "so, Alberta enforcer finally";
  2398. 	mes "caught him and captured him.";
  2399. 	mes "But, the sneaky thief has escaped to ^7E3817Geffen^000000 and hide himself somewhere here.";
  2400. 	next;
  2401. 	mes "[ Geffen Enforcer ]";
  2402. 	mes "We got informed about him";
  2403. 	mes "and are tyring to trace him in everywhere.";
  2404. 	mes "However, we couldn't find any";
  2405. 	mes "clue of ^FF0000Master Thief^000000 case...";
  2406. 	next;
  2407. 	mes "[ Geffen Enforcer ]";
  2408. 	mes "So, we need you, brave";
  2409. 	mes "and smart adventurer.";
  2410. 	mes "It is very difficult to";
  2411. 	mes "capture ^FF0000Master Thief^000000 by myself.";
  2412. 	mes "Can you lend a hand?? One more time?";
  2413. 	next;
  2414. 	if( select("I'll catch him for you", "I am sorry, I am busy") != 1 )
  2415. 	{
  2416.  
  2417. 	mes "[ Geffen Enforcer ]";
  2418. 	mes "I thought you are the brave one.";
  2419. 	mes "You are a chicken!";
  2420. 	mes "Please come back";
  2421. 	mes "if you change your mind.";
  2422. 	close;
  2423.  
  2424. 	}
  2425.  
  2426. 	mes "[ Geffen Enforcer ]";
  2427. 	mes "That is good to hear!";
  2428. 	mes "I knew that you are the generous one.";
  2429. 	mes "^FF0000Master Thief^000000 has been injured by ^7E3817Alberta^000000 enforcers.";
  2430. 	mes "He is hiding somewhere";
  2431. 	mes "in ^7E3817Geffen^000000 city.";
  2432. 	next;
  2433. 	mes "[ Geffen Enforcer ]";
  2434. 	mes "They often hide behind";
  2435. 	mes "buildings but sometimes";
  2436. 	mes "they are also out in the";
  2437. 	mes "open. Check around";
  2438. 	mes "the inside edges of ^7E3817Geffen^000000 city.";
  2439. 	next;
  2440. 	// -- Quest: Wanted: Master Thief (9039) has been deleted.
  2441. 	erasequest 9039;
  2442. 	mes "[ Geffen Enforcer ]";
  2443. 	mes "They will run after you";
  2444. 	mes "catch them once, but they will surrender if you keep catching them.";
  2445. 	// -- Quest: Wanted: Master Thief (9035) has been added.
  2446. 	setquest 9035;
  2447. 	close;
  2448.  
  2449. 	}
  2450. 	else if( checkquest(9039,PLAYTIME) != -1 )
  2451. 	{
  2452.  
  2453. 	mes "[ Geffen Enforcer ]";
  2454. 	mes "Hello~! Adventurer!";
  2455. 	mes "I really appreciate";
  2456. 	mes "about last time.";
  2457. 	mes "But, ^FF0000Master Thief^000000";
  2458. 	mes "is still trying to escape from a prison.";
  2459. 	mes "Maybe I will need your help again sometime soon.";
  2460. 	close;
  2461.  
  2462. 	}
  2463.  
  2464. 	if( BaseLevel < 21 )
  2465. 	{
  2466.  
  2467. 	mes "[ Geffen Enforcer ]";
  2468. 	mes "Hello~!";
  2469. 	mes "You should watch out always.";
  2470. 	mes "The situation is chaotic.";
  2471. 	close;
  2472.  
  2473. 	}
  2474.  
  2475. 	mes "[ Geffen Enforcer ]";
  2476. 	mes "Hello~!";
  2477. 	mes "You look like a veteran adventurer.";
  2478. 	mes "I am a ^7E3817Geffen^000000 enforcer.";
  2479. 	mes "I'd like to have a word with you.";
  2480. 	mes "Do you want to listen to it?";
  2481. 	next;
  2482. 	if( select("What happened?", "No, I am busy.") != 1 )
  2483. 	{
  2484.  
  2485. 	mes "[ Geffen Enforcer ]";
  2486. 	mes "Alright. That is ok.";
  2487. 	mes "Please come back";
  2488. 	mes "if you change your mind.";
  2489. 	close;
  2490.  
  2491. 	}
  2492.  
  2493. 	mes "[ Geffen Enforcer ]";
  2494. 	mes "As you know, ^7E3817Geffen^000000 is";
  2495. 	mes "in a chaos right now.";
  2496. 	mes "People are afraid of going out.";
  2497. 	mes "Because of the ^FF0000Master Thief^000000";
  2498. 	mes "who is a notorious thief and";
  2499. 	mes "ran away from ^7E3817Alberta^000000.";
  2500. 	next;
  2501. 	mes "[ Geffen Enforcer ]";
  2502. 	mes "^FF0000Master Thief^000000 had played in ^7E3817Alberta^000000 as an untouchable thief.";
  2503. 	mes "so, Alberta enforcer finally";
  2504. 	mes "caught him and captured him.";
  2505. 	mes "But, the sneaky thief has escaped to ^7E3817Geffen^000000 and hide himself somewhere here.";
  2506. 	next;
  2507. 	mes "[ Geffen Enforcer ]";
  2508. 	mes "We got informed about him";
  2509. 	mes "and are tyring to trace him in everywhere.";
  2510. 	mes "However, we couldn't find any";
  2511. 	mes "clue of ^FF0000Master Thief^000000 case...";
  2512. 	next;
  2513. 	mes "[ Geffen Enforcer ]";
  2514. 	mes "So, we need you, brave";
  2515. 	mes "and smart adventurer.";
  2516. 	mes "It is very difficult to";
  2517. 	mes "capture ^FF0000Master Thief^000000 by myself.";
  2518. 	mes "Can you lend a hand??";
  2519. 	next;
  2520. 	if( select("I'll catch him for you", "I am sorry, I am busy") != 1 )
  2521. 	{
  2522.  
  2523. 	mes "[ Geffen Enforcer ]";
  2524. 	mes "I thought you are the brave one.";
  2525. 	mes "You are a chicken!";
  2526. 	mes "Please come back";
  2527. 	mes "if you change your mind.";
  2528. 	close;	
  2529.  
  2530. 	}
  2531.  
  2532. 	mes "[ Geffen Enforcer ]";
  2533. 	mes "That is good to hear!";
  2534. 	mes "I knew that you are the generous one.";
  2535. 	mes "^FF0000Master Thief^000000 has been injured by Alberta enforcers.";
  2536. 	mes "He is hiding somewhere";
  2537. 	mes "in ^7E3817Geffen^000000 city.";
  2538. 	next;
  2539. 	mes "[ Geffen Enforcer ]";
  2540. 	mes "They often hide behind";
  2541. 	mes "buildings but sometimes";
  2542. 	mes "they are also out in the";
  2543. 	mes "open. Check around";
  2544. 	mes "the inside edges of ^7E3817Geffen^000000 city.";
  2545. 	next;
  2546. 	mes "[ Geffen Enforcer ]";
  2547. 	mes "They will run after you";
  2548. 	mes "catch them once, but they will surrender if you keep catching them.";
  2549. 	// -- Quest: Wanted: Master Thief (9035) has been added.
  2550. 	setquest 9035;
  2551. 	close;
  2552.  
  2553. 	On_Leave:
  2554. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  2555. 	end;	
  2556. }
  2557.  
  2558. 	geffen,130,115,5	script	Cured Master Thief#geff	880,{ end; }
  2559.  
  2560. -	script	Thief Position#geffe	-1,{
  2561. 	end;
  2562.  
  2563. 	OnInit:
  2564. 	disablenpc "Injured Master Thief#1";
  2565. 	disablenpc "Injured Master Thief#2";
  2566. 	disablenpc "Injured Master Thief#3";
  2567. 	disablenpc "Injured Master Thief#4";
  2568. 	disablenpc "Cured Master Thief#geff";
  2569. 	// -- Random Chance Injured Master Thief NPC Location
  2570. 	enablenpc "Injured Master Thief#"+rand(1,4);
  2571. 	end;
  2572. }
  2573.  
  2574. -	script	Injured Master Thief	-1,{
  2575. 	end;
  2576.  
  2577. 	OnTouch:
  2578. 	// -- Checks if NPC in use
  2579. 	if( .currentCID != 0 )
  2580. 	{
  2581.  
  2582. 	if( isloggedin(.currentAID, .currentCID) )
  2583. 		end;
  2584.  
  2585. 	}
  2586.  
  2587. 	addtimer 1000, strnpcinfo(3)+"::On_Leave"; 
  2588. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  2589.  
  2590. 	set .currentCID, getcharid(0);
  2591. 	set .currentAID, getcharid(3);	
  2592.  
  2593. 	if( checkquest(9035) >= 0 )
  2594. 	{
  2595.  
  2596. 	mes "[ Injured Master Thief ]";
  2597. 	mes "Who, who are you?!";
  2598. 	mes "Tell me who you are!!";
  2599. 	next;
  2600. 	select("I am here to arrest you!!! Ah ha ha!");
  2601. 	mes "[ Injured Master Thief ]";
  2602. 	mes "Oops.. I am used to be much stronger than this.";
  2603. 	mes "Awee. If I didn't get hurt,";
  2604. 	mes "you couldn't beat me...You are so luck that I am injured! It is not fair!!";
  2605. 	next;
  2606. 	select("You deserve that!");
  2607. 	mes "[ Injured Master Thief ]";
  2608. 	mes "I know I have been such a bully.";
  2609. 	mes "But.. I am so tired now.";
  2610. 	mes "I lost lots of blood.";
  2611. 	mes "I can not stand it anymore...";
  2612. 	next;
  2613. 	mes "[ Injured Master Thief ]";
  2614. 	mes "Can I ask one thing for the last?";
  2615. 	mes "I don't want to be seen arrested.";
  2616. 	mes "Can I follow behind you?";
  2617. 	next;
  2618. 	select("Ok, you can follow me behind.");
  2619. 	mes "[ Injured Master Thief ]";
  2620. 	mes "Thanks..";
  2621. 	mes "I will follow behind you.";
  2622. 	mes "But, you can not keep me last.";
  2623. 	mes "Ah, Ha Ha Ha!";
  2624. 	// -- Quest: Wanted: Master Thief (9035) has been deleted.
  2625. 	// -- Quest: Wanted: Master Thief (9036) has been added.
  2626. 	changequest 9035,9036;
  2627. 	close2;
  2628. 	randomchance:
  2629. 	specialeffect 16;
  2630. 	disablenpc "Injured Master Thief#"+strnpcinfo(2);
  2631. 	set .@mstid,atoi(strnpcinfo(2));
  2632. 	while( .@mstid == atoi(strnpcinfo(2)) ) { set .@mstid,rand(1,4); }
  2633. 	enablenpc "Injured Master Thief#"+.@mstid;
  2634. 	end;
  2635.  
  2636. 	}
  2637. 	mes "[ Injured Master Thief ]";
  2638. 	mes "......";
  2639. 	close2;
  2640. 	goto randomchance;
  2641.  
  2642. 	// -- login check is needed in case someone dies halfway, logs out (logout event not called 
  2643. 	// -- after death) and logs in before anyone elses uses the NPC, there by perma-locking the NPC
  2644. 	OnPCLoginEvent: 
  2645. 	On_Leave:
  2646. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  2647. 	end;	
  2648. }
  2649.  
  2650. // -- Duplicate NPC
  2651.  
  2652. 	geffen,77,96,0	duplicate(Injured Master Thief)	Injured Master Thief#1	880,1,1
  2653. 	geffen,175,98,0	duplicate(Injured Master Thief)	Injured Master Thief#2	880,1,1
  2654. 	geffen,147,163,0	duplicate(Injured Master Thief)	Injured Master Thief#4	880,1,1	
  2655. 	geffen,130,30,0	duplicate(Injured Master Thief)	Injured Master Thief#3	880,1,1
  2656.  
  2657. // -- Captain Enforcer
  2658.  
  2659. alberta,101,48,4	script	Captain Enforcer#albert	418,{
  2660.  
  2661. 	if( checkquest(9038) >= 0 )
  2662. 	{
  2663.  
  2664. 	mes "[ Captain Enforcer ]";
  2665. 	mes "Welcome! You are the brave";
  2666. 	mes "adventurer who captured ^FF0000Master Thief^000000 in ^7E3817Geffen^000000 city!";
  2667. 	next;
  2668. 	mes "[ Captain Enforcer ]";
  2669. 	mes "I am really thankful for that.";
  2670. 	mes "I don't know how to repay you.";
  2671. 	mes "Here is my little gift for you.";
  2672. 	mes "Hope you like it.";
  2673. 	// -- Quest: Wanted: Master Thief (9038) has been deleted.
  2674. 	// -- Quest: Wanted: Master Thief (9039) has been added.
  2675. 	changequest 9038,9039;
  2676. 	// -- You are now level 76
  2677. 	// -- You gained a level!
  2678. 	// -- You have gained 0/3687 (0.00%/2.04%) Exp
  2679. 	// -- Item added to inventory: Geffen Magic Coin (14) x 2 - Non-usable
  2680. 	if( isPremium() ) getitem 7976, 2;
  2681. 	else getitem 7976, 1;
  2682. 	next;
  2683. 	mes "[ Captain Enforcer ]";
  2684. 	mes "Oh, I should tell you that";
  2685. 	mes "^800080Geffen Magic Coin^000000 is very unique coin.";
  2686. 	mes "I heard that if you collect";
  2687. 	mes "^800080Geffen Magic Coin^000000 and";
  2688. 	mes "give to ^0000FFCindy^000000 in ^7E3817Geffen^000000,";
  2689. 	mes "she will be so delightful.";
  2690. 	next;
  2691. 	mes "[ Captain Enforcer ]";
  2692. 	mes "Anyway, thank you so much!";
  2693. 	mes "I hope we can see each other again.";
  2694. 	mes "Have a good day!";
  2695. 	close;
  2696.  
  2697. 	}
  2698.  
  2699. 	mes "[ Captain Enforcer ]";
  2700. 	mes "Hello~!";
  2701. 	mes "You should watch out always.";
  2702. 	mes "The situation is chaotic.";
  2703. 	close;
  2704. }
  2705.  
  2706. // -- Cindy, The Exchanger
  2707.  
  2708. geffen,111,104,4	script	Cindy#geffen	68,{
  2709.  
  2710. 	mes "[ Cindy ]";
  2711. 	mes "Hello~!!";
  2712. 	mes "Welcome to the Geffen Magic World!";
  2713. 	mes "Geffen is the city that you can experience and see fantastic magic!";
  2714. 	// -- NPC Cindy#geffen (0) uses effect: Unknown #72
  2715. 	specialeffect 72;
  2716. 	next;
  2717. 	mainmenu:
  2718. 	switch( select("Listen to the history of Geffen Magic Coin", "Exchange Geffen Magic Coin", "Cancel") )
  2719. 	{
  2720.  
  2721. 	case 1:
  2722. 	mainstory:
  2723. 	switch( select("Cindy story", "Hunter story", "Patrolman story", "Gloria's story", "Go back to the previous menu") )
  2724. 	{
  2725.  
  2726. 	case 1:
  2727. 	mes "[ Cindy ]";
  2728. 	mes "Hi~! My name is Cindy.";
  2729. 	mes "Would you like to listen to my story?";
  2730. 	next;
  2731. 	mes "[ Cindy ]";
  2732. 	mes "I am quite dexterous in making things since I was young.";
  2733. 	mes "Have you heard about the kids who assembled broken blue gemstones into perfect shape by using sticky rice?";
  2734. 	mes "Yes, that was me.";
  2735. 	// -- [dist=5] Cindy#geffen (0): *FlashEyes(?!)*
  2736. 	emotion e_flash;
  2737. 	next;
  2738. 	mes "[ Cindy ]";
  2739. 	mes "Well... I really like Geffen,";
  2740. 	mes " so I wanted to make souvenir";
  2741. 	mes "which can represents Geffen.";
  2742. 	mes "I was so focused on making it for a long time and I finally made one of the best coin in Rune-Midgard.";
  2743. 	next;
  2744. 	mes "[ Cindy ]";
  2745. 	mes "People were cheering for me";
  2746. 	mes "and they loved it. We named it as";
  2747. 	mes "^FF00FFGeffen Magic Coin^000000.";
  2748. 	mes "Everyone wanted to have it so I gave them all of my ^FF00FFGeffen Magic Coins^000000.";
  2749. 	// -- NPC Cindy#geffen (0) uses effect: Unknown #305
  2750. 	specialeffect 305;
  2751. 	next;
  2752. 	mes "[ Cindy ]";
  2753. 	mes "A few days later...";
  2754. 	mes "I started to get letters from abroad.";
  2755. 	mes "They loved my coins even in another countries, and they ordered a lot of ^FF00FFGeffen Magic Coins^000000.";
  2756. 	next;
  2757. 	mes "[ Cindy ]";
  2758. 	mes "I should have saved some of coins for other countries.";
  2759. 	mes "I had to think how to bring the coins back from people.";
  2760. 	next;
  2761. 	mes "[ Cindy ]";
  2762. 	mes "So I brought up with another brilliant idea!";
  2763. 	mes "I made special scrolls with specific options.";
  2764. 	mes "If I give those scrolls to people they would give me back my ^FF00FFGeffen Magic Coins^000000!!!";
  2765. 	next;
  2766. 	mes "[ Cindy ]";
  2767. 	mes "Hahaha! Am I a genius?!!";
  2768. 	mes "Right? Ha ha ha";
  2769. 	next;
  2770. 	mes "[ Cindy ]";
  2771. 	mes "You already have";
  2772. 	mes "^FF00FFGeffen Magic Coins^000000, right?";
  2773. 	mes "So good. I don't need to explain anymore. Hu hu~.";
  2774. 	next;
  2775. 	mes "[ Cindy ]";
  2776. 	mes "So, you are already fallen love with Geffen Magic city!";
  2777. 	mes "Am I right?";
  2778. 	next;
  2779. 	mes "[ Cindy ]";
  2780. 	mes "Why don't you give me your ^FF00FFGeffen Magic Coins^000000?";
  2781. 	mes "So I can donate them";
  2782. 	mes "to another countries that need my coins.";
  2783. 	mes "What do you think?";
  2784. 	// -- [dist=5] Cindy#geffen (0): *Nice One*
  2785. 	emotion e_no1;
  2786. 	next;
  2787. 	mes "[ Cindy ]";
  2788. 	mes "Of course, I will pay you back";
  2789. 	mes "with awesome items.";
  2790. 	mes "You can believe me I made those items very specially.";
  2791. 	next;
  2792. 	mes "[ Cindy ]";
  2793. 	mes "I am sure you won't regret.";
  2794. 	mes "So would like to exchange your Geffen Coins with my items?";
  2795. 	// -- [dist=5] Cindy#geffen (0): *Zeny!*
  2796. 	emotion e_cash;
  2797. 	next;
  2798. 	switch( select("Exchange Geffen Magic Coins", "Go back to the previous menu.", "Cancel.") )
  2799. 	{
  2800.  
  2801. 	case 1:
  2802. 	mes "[ Cindy ]";
  2803. 	mes "Good choice! But, you know my items are really remarkable, so you need to pay some ^0000FFZeny^000000 also with ^FF00FFGeffen Magic Coins^000000.";
  2804. 	mes "But I am sure it is affordable for you! Here is the item list you can exchange.";
  2805. 	next;
  2806. 	mainexchange;
  2807.  
  2808. 	case 2:
  2809. 	goto mainstory;
  2810.  
  2811. 	case 3:
  2812. 	close;
  2813.  
  2814. 	}
  2815.  
  2816. 	case 2:
  2817. 	mes "[ Cindy ]";
  2818. 	mes "I have good friends,";
  2819. 	mes "he is a hunter.";
  2820. 	mes "He usually smiles when we hang out.";
  2821. 	next;
  2822. 	mes "[ Cindy ]";
  2823. 	mes "But he looks anxious these days.";
  2824. 	mes "I don't know why...";
  2825. 	mes "When I ask him the reason he doesn't let me know why.";
  2826. 	mes "- You can not help me on this. -";
  2827. 	mes "He just says and sighs.";
  2828. 	// -- [dist=5] Cindy#geffen (0): *Pfft*
  2829. 	emotion e_pif;
  2830. 	next;
  2831. 	mes "[ Cindy ]";
  2832. 	mes "I couldn't help him so I gave him some of my ^FF00FFGeffen Magic Coins^000000";
  2833. 	mes "Then he was happy";
  2834. 	mes "for a moment.";
  2835. 	mes "But he looks still not relieved.";
  2836. 	next;
  2837. 	mes "[ Cindy ]";
  2838. 	mes "I don't know how to help him.";
  2839. 	mes "Maybe you can help him...";
  2840. 	mes "Maybe...";
  2841. 	next;
  2842. 	goto mainstory;
  2843.  
  2844. 	case 3:
  2845. 	mes "[ Cindy ]";
  2846. 	mes "Patrolman is very busy right now.";
  2847. 	mes "I heard one of ^008000Notorious Thief^000000 ran away to Geffen.";
  2848. 	next;
  2849. 	mes "[ Cindy ]";
  2850. 	mes "So he is in emergency mode right now.";
  2851. 	mes "Every Patrolman are working hard catching on the thief.";
  2852. 	// -- [dist=5] Cindy#geffen (0): *'o'(?!)*
  2853. 	emotion e_sigh;
  2854. 	next;
  2855. 	mes "[ Cindy ]";
  2856. 	mes "So I gave them some of my";
  2857. 	mes "^FF00FFGeffen Magic Coins^000000 to cheer them!!";
  2858. 	mes "They can remind that how brave and respectable they are.";
  2859. 	mes "I think I am a good friends~! Haha!";
  2860. 	next;
  2861. 	goto mainstory;
  2862.  
  2863. 	case 4:
  2864. 	mes "[ Cindy ]";
  2865. 	mes "Gloria?";
  2866. 	mes "She is a kind of freak! Haha.";
  2867. 	mes "She is only obsessed with refining items.";
  2868. 	mes "She wants to invent outrageous armor.";
  2869. 	mes "I heard that she has to refine lots of armors to practice.";
  2870. 	next;
  2871. 	mes "[ Cindy ]";
  2872. 	mes "I don't think she can manage it by her own.";
  2873. 	mes "Maybe she needs some help...";
  2874. 	mes "Anyway I am a good friend of her so I gave her some of my Geffen Magic Coins to cheer her up.";
  2875. 	// -- [dist=5] Cindy#geffen (0): *Pfft*
  2876. 	emotion e_pif;
  2877. 	next;
  2878. 	mes "[ Cindy ]";
  2879. 	mes "She would give my coins to some people who helped her.";
  2880. 	mes "I don't know~!!";
  2881. 	mes "It is her business anyway.";
  2882. 	next;
  2883. 	goto mainstory;
  2884.  
  2885. 	case 5:
  2886. 	goto mainmenu;
  2887.  
  2888. 	}
  2889.  
  2890. 	case 2:
  2891. 	mes "[ Cindy ]";
  2892. 	mes "If you wanto exchange ^FF00FFGeffen Magic Coins^000000 with my scrolls,";
  2893. 	mes "you need to pay some ^0000FFZeny^000000 also.";
  2894. 	mes "But I am sure it is affordable for you! Here is the item list you can exchange.";
  2895. 	next;
  2896. 	mainexchange:
  2897. 	setarray .@Shop[0],12753,1,1,10000,12751,1,1,12500,12752,1,1,12500,12748,1,1,15000,12749,1,1,15000,
  2898. 	12750,1,1,15000,12745,1,1,20000,12746,1,1,20000,12747,1,1,20000,5471,540,1,2000000,5257,540,1,2000000;
  2899. 	set .@Index, (select("Soul Scroll","Armor Scroll",
  2900. 	"Prayer Scroll","Immune Scroll","Mystic Scroll","Battle Scroll",
  2901. 	"Cranial Scroll","Buster Scroll","Royal Scroll","Hairband Of Reginleif","Soulless Wing") - 1) * 4;
  2902.  
  2903. 	set .@Item, .@Shop[.@Index];
  2904. 	set .@Require, .@Shop[.@Index + 1];
  2905. 	set .@Amount, .@Shop[.@Index + 2];
  2906. 	set .@Zeny, .@Shop[.@Index + 3];
  2907.  
  2908. 	if( countitem(7976) < .@Require )
  2909. 	{
  2910.  
  2911. 	mes "[ Cindy ]";
  2912. 	mes "Huh? You don't have enough ^FF00FFGeffen Magic Coins^000000.";
  2913. 	mes "Check your number of coins";
  2914. 	mes "and come back again.";
  2915. 	close;
  2916.  
  2917. 	}
  2918.  
  2919. 	if( Zeny < .@Zeny )
  2920. 	{
  2921.  
  2922. 	mes "[ Cindy ]";
  2923. 	mes "Huh? You don't have enough zeny~!!";
  2924. 	mes "I would like to give you for free but I can't!";
  2925. 	mes "because it is unique item... Sorry~!";
  2926. 	// -- [dist=5] Cindy#geffen (1): *Zeny!*
  2927. 	emotion e_cash;
  2928. 	close;
  2929.  
  2930. 	}
  2931.  
  2932. 	if( checkweight(.@Item, .@Amount) == 0 )
  2933. 	{
  2934.  
  2935. 	mes "[ Cindy ]";
  2936. 	mes "- Wait a minute !! -";
  2937. 	mes "- Currently you're carrying -";
  2938. 	mes "- too many items with you. -";
  2939. 	mes "- Please try again -";
  2940. 	mes "- after you loose some weight. -";
  2941. 	close;
  2942.  
  2943. 	}
  2944.  
  2945. 	mes "[ Cindy ]";
  2946. 	mes "Ok! Exchanging is done! It was good deal, right?";
  2947. 	getitem .@Item, .@Amount;
  2948. 	set Zeny, Zeny - .@Zeny;
  2949. 	delitem 7976, .@Require;
  2950. 	close;	
  2951.  
  2952. 	case 3:
  2953. 	close;
  2954.  
  2955. 	}
  2956. }
  2957.  
  2958. // -- Mage Hunter Quest
  2959.  
  2960. geffen,103,56,5	script	Mage Hunter#gef	735,{
  2961.  
  2962. 	if( checkquest(9040) >= 0 )
  2963. 	{
  2964.  
  2965. 	mes "[ Mage Hunter ]";
  2966. 	mes "Why are you still here?";
  2967. 	mes "Go to PVP Room and capture the Mage!";
  2968. 	next;
  2969. 	mes "[ Mage Hunter ]";
  2970. 	mes "He is in ^0000FFIzlude PVP Room^000000!";
  2971. 	mes "Please capture him!";
  2972. 	close;	
  2973.  
  2974. 	}
  2975. 	else if( dailyquest_mh == 1 )
  2976. 	{
  2977.  
  2978. 	mes "[ Mage Hunter ]";
  2979. 	mes "Great job! You have caught";
  2980. 	mes "Rebel Mage!";
  2981. 	mes "Here is your reward!";
  2982. 	mes "Hope you like it.";
  2983. 	next;
  2984. 	mes "[ Mage Hunter ]";
  2985. 	mes "There are many more rebels";
  2986. 	mes "who cause trouble for";
  2987. 	mes "Geffen City. I'll count on";
  2988. 	mes "you again for help!";
  2989. 	next;
  2990. 	mes "[ Mage Hunter ]";
  2991. 	mes "Come back after 20 hours";
  2992. 	mes "have passed and I'll have";
  2993. 	mes "information on another";
  2994. 	mes "rebel mage to catch.";
  2995. 	next;
  2996. 	// -- Quest: Geffen Mage Hunter: Present (9041) has been added.
  2997. 	set dailyquest_mh, 0;
  2998. 	setquest 9041;
  2999. 	mes "[ Mage Hunter ]";
  3000. 	mes "This is special coin for you.";
  3001. 	mes "Oh, I should tell you that";
  3002. 	mes "^800080Geffen Magic Coin^000000 is very unique coin.";
  3003. 	mes "I heard that if you collect";
  3004. 	mes "^800080Geffen Magic Coins^000000 and";
  3005. 	mes "give to ^0000FFCindy^000000 in ^7E3817Geffen^000000,";
  3006. 	mes "she will be so delightful.";
  3007. 	// -- Item added to inventory: Geffen Magic Coin (10) x 2 - Non-usable
  3008. 	if( isPremium() ) getitem 7976, 2;
  3009. 	else getitem 7976, 1;	
  3010. 	// -- You have gained 36753/4344 (12.25%/2.02%) Exp
  3011. 	getexp 36753,4344;
  3012. 	next;
  3013. 	mes "[ Mage Hunter ]";
  3014. 	mes "Anyway, thank you so much!";
  3015. 	mes "I hope we can see each other again.";
  3016. 	mes "Have a good day!";
  3017. 	close;		
  3018.  
  3019. 	}
  3020. 	else if( checkquest(9041,PLAYTIME) == 2 )
  3021. 	{
  3022.  
  3023. 	erasequest 9041;
  3024. 	goto afterdelay;
  3025.  
  3026. 	}
  3027. 	else if( checkquest(9041,PLAYTIME) != -1 )
  3028. 	{
  3029.  
  3030. 	mes "[ Mage Hunter ]";
  3031. 	mes "Hello~! Again!";
  3032. 	mes "I really appreciate";
  3033. 	mes "about last time.";
  3034. 	next;
  3035. 	mes "[ Mage Hunter ]";
  3036. 	mes "You must be exhausted!";
  3037. 	mes "You need to have a break!";
  3038. 	mes "Come back after 20 hours";
  3039. 	mes "have passed and I'll have";
  3040. 	mes "information on another";
  3041. 	mes "rebel mage to catch.";
  3042. 	close;
  3043.  
  3044. 	}
  3045.  
  3046. 	if( BaseLevel < 60 )
  3047. 	{
  3048.  
  3049. 	mes "[ Mage Hunter ]";
  3050. 	mes "Hello~!";
  3051. 	mes "You should watch out always.";
  3052. 	mes "The situation is chaotic.";
  3053. 	next;
  3054. 	mes "[ Mage Hunter ]";
  3055. 	mes "I heard PVP Room is in danger,";
  3056. 	mes "only veteran adventure";
  3057. 	mes "can bear to do the quest.";
  3058. 	next;
  3059. 	mes "[ Mage Hunter ]";
  3060. 	mes "You should train yourself more,";
  3061. 	mes "and challenge to PVP Room quest.";
  3062. 	mes "It would be worth it.";
  3063. 	close;	
  3064.  
  3065. 	}	
  3066.  
  3067. 	afterdelay:
  3068. 	mes "[ Mage Hunter ]";
  3069. 	mes "I will catch them someday..!";
  3070. 	next;
  3071. 	if( select("What happened?", "...I heard that, I will help you!") != 1 )
  3072. 	{
  3073.  
  3074. 	mes "[ Mage Hunter ]";
  3075. 	mes "Finally, someone who is";
  3076. 	mes "not afraid of a real battle!";
  3077. 	next;
  3078. 	mes "[ Mage Hunter ]";
  3079. 	mes "Your target is";
  3080. 	mes "Rebel Mage and he has";
  3081. 	mes "been known to hide in";
  3082. 	mes "the Izlude ^0000FFPVP Room^000000!";
  3083. 	mes "Good luck!";
  3084. 	// -- Quest: Geffen Mage Hunter (9040) has been added.
  3085. 	setquest 9040;
  3086. 	close;	
  3087.  
  3088. 	}
  3089.  
  3090. 	mes "[ Mage Hunter ]";
  3091. 	mes "Curse those rebel mages!";
  3092. 	mes "They cause trouble for";
  3093. 	mes "the citizens of Geffen city";
  3094. 	mes "and then run into the";
  3095. 	mes "PvP rooms where it is";
  3096. 	mes "hard to catch them!";
  3097. 	next;
  3098. 	mes "[ Mage Hunter ]";
  3099. 	mes "I need a help from";
  3100. 	mes "strong adventurers who";
  3101. 	mes "can capture them in the";
  3102. 	mes "PvP rooms!";
  3103. 	next;
  3104. 	mes "[ Mage Hunter ]";
  3105. 	mes "I am authorized to";
  3106. 	mes "reward you if you";
  3107. 	mes "capture a rebel mage.";
  3108. 	next;
  3109. 	mes "[ Mage Hunter ]";
  3110. 	mes "I am sure you are the one";
  3111. 	mes "we have been looking for!";
  3112. 	mes "I will give you more information, so please help me!";
  3113. 	next;
  3114. 	mes "[ Mage Hunter ]";
  3115. 	mes "Your target is";
  3116. 	mes "Rebel Mage and he has";
  3117. 	mes "been known to hide in";
  3118. 	mes "the Izlude PVP Room!";
  3119. 	next;
  3120. 	mes "[ Mage Hunter ]";
  3121. 	mes "It might take a while";
  3122. 	mes "to convince him to";
  3123. 	mes "surrender so just";
  3124. 	mes "keep threatening";
  3125. 	mes "him until he comes";
  3126. 	mes "peacefully!";
  3127. 	next;
  3128. 	mes "[ Mage Hunter ]";
  3129. 	mes "Good luck and I wish you the best!";
  3130. 	// -- Quest: Geffen Mage Hunter (9040) has been added.
  3131. 	setquest 9040;
  3132. 	close;
  3133. }
  3134.  
  3135. -	script	Rebel Location#	-1,{
  3136. 	end;
  3137.  
  3138. 	OnInit:
  3139. 	disablenpc "[Quest] Rebel Mage#ge01";
  3140. 	disablenpc "[Quest] Rebel Mage#ge02";
  3141. 	disablenpc "[Quest] Rebel Mage#ge03";
  3142. 	// -- Random Chance Injured Master Thief NPC Location
  3143. 	enablenpc "[Quest] Rebel Mage#"+rand(1,3);
  3144. 	end;	
  3145. 	end;
  3146. }
  3147.  
  3148. pvp_y_8-2,158,175,4	script	[Quest] Rebel Mage#ge01	502,1,1,{
  3149. 	end;
  3150.  
  3151. 	OnTouch:
  3152. 	// -- Checks if NPC in use
  3153. 	if( .currentCID != 0 )
  3154. 	{
  3155.  
  3156. 	if( isloggedin(.currentAID, .currentCID) )
  3157. 		end;
  3158.  
  3159. 	}
  3160.  
  3161. 	addtimer 1000, strnpcinfo(3)+"::On_Leave"; 
  3162. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  3163.  
  3164. 	set .currentCID, getcharid(0);
  3165. 	set .currentAID, getcharid(3);
  3166.  
  3167. 	if( checkquest(9040) >= 0 )
  3168. 	{
  3169.  
  3170. 	mes "[ Rebel Mage ]";
  3171. 	mes "Do not get close to me!";
  3172. 	next;
  3173. 	mes "[ Rebel Mage ]";";
  3174. 	mes "I don't know you!";
  3175. 	mes "I don't believe anybody!";
  3176. 	mes "Those Mage Hunters always lie to me!";
  3177. 	next;
  3178. 	if( select("You are wrong!", "I agree, they lied to you.") != 1 )
  3179. 	{
  3180.  
  3181. 	mes "[ Rebel Mage ]";
  3182. 	mes "How did you know that they lied to me?";
  3183. 	mes "Who are you? Where are you from?";
  3184. 	next;
  3185. 	mes "[ "+strcharinfo(0)+" ]";
  3186. 	mes "Ops, he might notice me!";
  3187. 	mes "I should have been more careful.";
  3188. 	next;
  3189. 	mes "[ Rebel Mage ]";
  3190. 	mes "The Mage Hunter send you here, didn't he?";
  3191. 	mes "I knew that!";
  3192. 	next;
  3193. 	mes "[ "+strcharinfo(0)+" ]";
  3194. 	mes "I.. I don't know...";
  3195. 	next;
  3196. 	mes "[ Rebel Mage ]";
  3197. 	mes "You bastard!";
  3198. 	next;
  3199. 	goto surrender;
  3200.  
  3201. 	}
  3202.  
  3203. 	mes "[ Rebel Mage ]";
  3204. 	mes "What? What did you say?";
  3205. 	next;
  3206. 	mes "[ Rebel Mage ]";
  3207. 	mes "I am not wrong!";
  3208. 	mes "I have been trying to discover new magic!";
  3209. 	next;
  3210. 	mes "[ Rebel Mage ]";
  3211. 	mes "You seem very suspicious.";
  3212. 	mes "The Mage Hunter sent you here, right?";
  3213. 	next;
  3214. 	mes "[ Rebel Mage ]";
  3215. 	mes "Well, then you are my enemy!";
  3216. 	next;
  3217. 	mes "[ Rebel Mage ]";
  3218. 	mes "^0000FFLightning Bolt^000000!";
  3219. 	next;
  3220. 	surrender:
  3221. 	set .@a,rand(1,2);
  3222. 	if( .@a == 1 )
  3223. 	{
  3224.  
  3225. 	mes "[ Rebel Mage ]";
  3226. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #29
  3227. 	specialeffect 29;
  3228. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3229. 	specialeffect 16;
  3230. 	mes "Kekekeke! They will never catch me!";
  3231. 	close2;
  3232. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3233. 	set .@mhid,atoi(strnpcinfo(2));
  3234. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3235. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3236. 	end;
  3237.  
  3238. 	} else {
  3239.  
  3240. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #44
  3241. 	specialeffect 44;
  3242. 	mes "[ Rebel Mage ]";
  3243. 	mes "............";
  3244. 	next;
  3245. 	mes "[ Rebel Mage ]";
  3246. 	mes "What? I am out of SP!";
  3247. 	next;
  3248. 	mes "[ Rebel Mage ]";
  3249. 	mes "What horrible timing!";
  3250. 	mes "You win, I surrender!";
  3251. 	// -- [dist=1] [Quest] Rebel Mage#geff (0): *Sob*
  3252. 	emotion e_sob;
  3253. 	// -- Quest: Geffen Mage Hunter (9040) has been deleted.
  3254. 	set dailyquest_mh, 1;
  3255. 	erasequest 9040;
  3256. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3257. 	specialeffect 16;
  3258. 	close2;
  3259. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3260. 	set .@mhid,atoi(strnpcinfo(2));
  3261. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3262. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3263. 	end;
  3264.  
  3265. 		}
  3266. 	}
  3267. 	end;
  3268.  
  3269. 	On_Leave:
  3270. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  3271. 	end;	
  3272. }
  3273.  
  3274. pvp_y_8-2,55,66,5	script	[Quest] Rebel Mage#ge03	530,1,1,{
  3275. 	end;
  3276.  
  3277. 	OnTouch:
  3278. 	// -- Checks if NPC in use
  3279. 	if( .currentCID != 0 )
  3280. 	{
  3281.  
  3282. 	if( isloggedin(.currentAID, .currentCID) )
  3283. 		end;
  3284.  
  3285. 	}
  3286.  
  3287. 	addtimer 1000, strnpcinfo(3)+"::On_Leave"; 
  3288. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  3289.  
  3290. 	set .currentCID, getcharid(0);
  3291. 	set .currentAID, getcharid(3);
  3292.  
  3293. 	if( checkquest(9040) >= 0 )
  3294. 	{
  3295.  
  3296. 	mes "[ Rebel Mage ]";
  3297. 	mes "Tell me who you are!";
  3298. 	next;
  3299. 	mes "[ Rebel Mage ]";
  3300. 	mes "You also here to catch me?";
  3301. 	next;
  3302. 	mes "[ Rebel Mage ]";
  3303. 	mes "I am sick of Mage Hunters!";
  3304. 	mes "They never give up!";
  3305. 	next;
  3306. 	mes "[ Rebel Mage ]";
  3307. 	mes "I was in his side also,";
  3308. 	mes "but now we are having different opinion!";
  3309. 	next;
  3310. 	mes "[ Rebel Mage ]";
  3311. 	mes "I am just trying to go my way!";
  3312. 	mes "So do not interrupt me!";
  3313. 	mes "I will do what I want!";
  3314. 	next;
  3315. 	if( select("You have a wrong idea!", "I agree, I will follow you!") != 1 )
  3316. 	{
  3317.  
  3318. 	mes "[ Rebel Mage ]";
  3319. 	mes "Do you agree? Ha ha!";
  3320. 	mes "You are smarter than I thought!";
  3321. 	mes "Yes, I am right.";
  3322. 	next;
  3323. 	mes "[ Rebel Mage ]";
  3324. 	mes "I hope Mage Hunters can understand me like you.";
  3325. 	mes "But they are stubborn!";
  3326. 	mes "I don't understand them.";
  3327. 	next;
  3328. 	goto surrender;
  3329.  
  3330. 	}
  3331.  
  3332. 	mes "[ Rebel Mage ]";
  3333. 	mes "..I never thought I am wrong..";
  3334. 	next;
  3335. 	mes "[ Rebel Mage ]";
  3336. 	mes "Maybe you are right.";
  3337. 	mes "I have been such a jerk.";
  3338. 	next;
  3339. 	mes "[ Rebel Mage ]";
  3340. 	mes "But, still I am not convinced about Mage Hunters.";
  3341. 	mes "I don't know...";
  3342. 	next;
  3343. 	surrender:	
  3344. 	set .@a,rand(1,2);
  3345. 	if( .@a == 1 )
  3346. 	{
  3347.  
  3348. 	mes "[ Rebel Mage ]";
  3349. 	mes "Hu hu hu. I am still strong!";
  3350. 	mes "I do not surrender easily.";
  3351. 	next;
  3352. 	mes "[ Rebel Mage ]";
  3353. 	mes "You better go away!";
  3354. 	mes "Otherwise I will blow you to smithereens!";
  3355. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3356. 	specialeffect 16;
  3357. 	close2;
  3358. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3359. 	set .@mhid,atoi(strnpcinfo(2));
  3360. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3361. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3362. 	end;
  3363.  
  3364. 	} else {
  3365.  
  3366. 	mes "[ Rebel Mage ]";
  3367. 	mes "I am exhausted to against them.";
  3368. 	mes "I am out of here.";
  3369. 	mes "I want to live better life.";
  3370. 	next;
  3371. 	mes "[ Rebel Mage ]";
  3372. 	mes "You win, I surrender!";
  3373. 	// -- Quest: Geffen Mage Hunter (9040) has been deleted.
  3374. 	set dailyquest_mh, 1;
  3375. 	erasequest 9040;
  3376. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3377. 	specialeffect 16;
  3378. 	close2;
  3379. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3380. 	set .@mhid,atoi(strnpcinfo(2));
  3381. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3382. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3383. 	end;
  3384.  
  3385. 		}
  3386. 	}
  3387. 	end;
  3388.  
  3389. 	On_Leave:
  3390. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  3391. 	end;	
  3392. }
  3393.  
  3394. pvp_y_8-2,131,122,5	script	[Quest] Rebel Mage#ge02	601,1,1,{
  3395. 	end;
  3396.  
  3397. 	OnTouch:
  3398. 	// -- Checks if NPC in use
  3399. 	if( .currentCID != 0 )
  3400. 	{
  3401.  
  3402. 	if( isloggedin(.currentAID, .currentCID) )
  3403. 		end;
  3404.  
  3405. 	}
  3406.  
  3407. 	addtimer 1000, strnpcinfo(3)+"::On_Leave"; 
  3408. 	// -- Should execute within 1sec or when npc windows are 'closed', whichever is longer
  3409.  
  3410. 	set .currentCID, getcharid(0);
  3411. 	set .currentAID, getcharid(3);
  3412.  
  3413. 	if( checkquest(9040) >= 0 )
  3414. 	{
  3415.  
  3416. 	mes "[ Rebel Mage ]";
  3417. 	mes "Who are you?";
  3418. 	next;
  3419. 	mes "[ Rebel Mage ]";
  3420. 	mes "Why are you staring at me?!";
  3421. 	mes "I don't like that!";
  3422. 	next;
  3423. 	if( select("I am here to capture you!", "I am sorry I apologize.") != 1 )
  3424. 	{
  3425.  
  3426. 	mes "[ Rebel Mage ]";
  3427. 	mes "Yes, you should be sorry!";
  3428. 	mes "But that is not enough!";
  3429. 	next;
  3430. 	mes "[ Rebel Mage ]";
  3431. 	mes "I feel still not good because of you!";
  3432. 	mes "You better run away or you will be in trouble!";
  3433. 	next;
  3434. 	goto surrender;
  3435.  
  3436. 	}
  3437.  
  3438. 	mes "[ Rebel Mage ]";
  3439. 	mes "Capture me? Hey dude!";
  3440. 	mes "Do you know who I am?";
  3441. 	next;
  3442. 	mes "[ "+strcharinfo(0)+" ]";
  3443. 	mes "I know you are a Rebel Mage!";
  3444. 	next;
  3445. 	mes "[ Rebel Mage ]";
  3446. 	mes "So the Mage Hunters sent";
  3447. 	mes "you? No way!";
  3448. 	mes "I will never surrender!";
  3449. 	mes "Go away before I blow you";
  3450. 	mes "to smithereens!";
  3451. 	// -- [dist=1] [Quest] Rebel Mage#geff (0): *Good Game*
  3452. 	emotion e_gg;
  3453. 	next;
  3454. 	mes "[ Rebel Mage ]";
  3455. 	mes "What? You're still here?";
  3456. 	mes "I bite, I swear! Run or face";
  3457. 	mes "ultimate and complete";
  3458. 	mes "destruction and death!";
  3459. 	next;
  3460. 	mes "[ Rebel Mage ]";
  3461. 	mes "^FF0000Meteor Storm!^000000";
  3462. 	next;
  3463. 	surrender:
  3464. 	set .@a,rand(1,2);
  3465. 	if( .@a == 1 )
  3466. 	{
  3467.  
  3468. 	mes "[ Rebel Mage ]";
  3469. 	mes "Kekekeke! They will never catch me!";
  3470. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #92
  3471. 	specialeffect 92;
  3472. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3473. 	specialeffect 16;	
  3474. 	close2;
  3475. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3476. 	set .@mhid,atoi(strnpcinfo(2));
  3477. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3478. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3479. 	end;	
  3480.  
  3481. 	} else {	
  3482.  
  3483. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #44
  3484. 	specialeffect 44;
  3485. 	mes "[ Rebel Mage ]";
  3486. 	mes "............";
  3487. 	next;
  3488. 	mes "[ Rebel Mage ]";
  3489. 	mes "What? I am out of SP!";
  3490. 	next;
  3491. 	mes "[ Rebel Mage ]";
  3492. 	mes "What horrible timing!";
  3493. 	mes "You win, I surrender!";
  3494. 	// -- Quest: Geffen Mage Hunter (9040) has been deleted.
  3495. 	set dailyquest_mh, 1;
  3496. 	erasequest 9040;
  3497. 	// -- NPC [Quest] Rebel Mage#geff (0) uses effect: Unknown #16
  3498. 	specialeffect 16;
  3499. 	close2;
  3500. 	disablenpc "[Quest] Rebel Mage#"+strnpcinfo(2);
  3501. 	set .@mhid,atoi(strnpcinfo(2));
  3502. 	while( .@mhid == atoi(strnpcinfo(2)) ) { set .@mhid,rand(1,3); }
  3503. 	enablenpc "[Quest] Rebel Mage#"+.@mhid;
  3504. 	end;
  3505.  
  3506. 		}
  3507. 	}
  3508. 	end;
  3509.  
  3510. 	On_Leave:
  3511. 	if( .currentCID == getcharid(0) ) { set .currentCID, 0; }
  3512. 	end;	
  3513. }
Viewed 1029 times, submitted by Guest.