1. //-------------------- 2008 RWC Scriptz --------------------
  2. //--------Training Arena Manager------------------------------------
  3. npc "izlude" "Training Arena Manager Switch" 8W_SOLDIER 245 250 4 0 0
  4. OnClick:
  5. dialog "[[GM]2008 RWC Final [email protected]]"
  6. dialog "Please select a menu."
  7. wait
  8. choose menu "Manager ON" "Manager OFF" "Cancel"
  9. case 1
  10. enablenpc "Training Arena Manager"
  11. break
  12. case 2
  13. disablenpc "Training Arena Manager"
  14. break
  15. case 3
  16. break
  17. endchoose
  18. return
  19. npc "izlude" "Training Arena Manager" 8W_SOLDIER 128 108 4 0 0
  20. OnInit:
  21. makewaitingroom "RWC Training Arena" 0
  22. return
  23. OnClick:
  24. var mapcount_1
  25. var mapcount_2
  26. var mapcount_3
  27. var mapcount_4
  28. var mapcount_5
  29. var showcount_1
  30. var showcount_2
  31. var showcount_3
  32. var showcount_4
  33. var showcount_5
  34. var showcount_exit
  35. mapcount_1 = GetPCCount "guild_vs1.gat"
  36. mapcount_2 = GetPCCount "guild_vs2.gat"
  37. mapcount_3 = GetPCCount "guild_vs3.gat"
  38. mapcount_4 = GetPCCount "guild_vs4.gat"
  39. mapcount_5 = GetPCCount "guild_vs5.gat"
  40. showcount_1 = "Training Arena 1 [ " + mapcount_1 + " / 50 ]"
  41. showcount_2 = "Training Arena 2 [ " + mapcount_2 + " / 50 ]"
  42. showcount_3 = "Training Arena 3 [ " + mapcount_3 + " / 50 ]"
  43. showcount_4 = "Training Arena 4 [ " + mapcount_4 + " / 50 ]"
  44. showcount_5 = "Training Arena 5 [ " + mapcount_5 + " / 50 ]"
  45. showcount_exit = "Cancel"
  46. while(1)
  47. choose menu showcount_1 showcount_2 showcount_3 showcount_4 showcount_5 showcount_exit
  48. case 1
  49. if mapcount_1 >= 50
  50. dialog "[Training Arena Guard]"
  51. dialog "I am sorry, but the map is full."
  52. wait
  53. else
  54. moveto "guild_vs1" 50 50
  55. return
  56. endif
  57. break
  58. case 2
  59. if mapcount_2 >= 50
  60. dialog "[Training Arena Guard]"
  61. dialog "I am sorry, but the map is full."
  62. wait
  63. else
  64. moveto "guild_vs2" 50 50
  65. return
  66. endif
  67. break
  68. case 3
  69. if mapcount_3 >= 50
  70. dialog "[Training Arena Guard]"
  71. dialog "I am sorry, but the map is full."
  72. wait
  73. else
  74. moveto "guild_vs3" 50 50
  75. return
  76. endif
  77. break
  78. case 4
  79. if mapcount_4 >= 50
  80. dialog "[Training Arena Guard]"
  81. dialog "I am sorry, but the map is full."
  82. wait
  83. else
  84. moveto "guild_vs4" 50 50
  85. return
  86. endif
  87. break
  88. case 5
  89. if mapcount_5 >= 50
  90. dialog "[Training Arena Guard]"
  91. dialog "I am sorry, but the map is full."
  92. wait
  93. else
  94. moveto "guild_vs5" 50 50
  95. return
  96. endif
  97. break
  98. case 6
  99. exitwhile
  100. break
  101. endchoose
  102. endwhile
  103. return
  104. npc "guild_vs1" "Training Arena Manager#1" 8W_SOLDIER 53 53 4 0 0
  105. OnClick:
  106. dialog "[Training Arena Manager]"
  107. dialog "Would you like to leave the training arena?"
  108. wait
  109. choose menu "Yes" "No"
  110. case 1
  111. dialog "[Training Arena Manager]"
  112. dialog "You are now being transferred to Izlude."
  113. close
  114. moveto "izlude" 128 108
  115. return
  116. break
  117. case 2
  118. dialog "[Training Arena Manager]"
  119. dialog "Good luck with your training."
  120. close
  121. return
  122. break
  123. endchoose
  124. return
  125. npc "guild_vs2" "Training Arena Manager#2" 8W_SOLDIER 53 53 4 0 0
  126. OnClick:
  127. dialog "[Training Arena Manager]"
  128. dialog "Would you like to leave the training arena?"
  129. wait
  130. choose menu "Yes" "No"
  131. case 1
  132. dialog "[Training Arena Manager]"
  133. dialog "You are now being transferred to Izlude."
  134. close
  135. moveto "izlude" 128 108
  136. return
  137. break
  138. case 2
  139. dialog "[Training Arena Manager]"
  140. dialog "Good luck with your training."
  141. close
  142. return
  143. break
  144. endchoose
  145. return
  146. npc "guild_vs3" "Training Arena Manager#3" 8W_SOLDIER 53 53 4 0 0
  147. OnClick:
  148. dialog "[Training Arena Manager]"
  149. dialog "Would you like to leave the training arena?"
  150. wait
  151. choose menu "Yes" "No"
  152. case 1
  153. dialog "[Training Arena Manager]"
  154. dialog "You are now being transferred to Izlude."
  155. close
  156. moveto "izlude" 128 108
  157. return
  158. break
  159. case 2
  160. dialog "[Training Arena Manager]"
  161. dialog "Good luck with your training."
  162. close
  163. return
  164. break
  165. endchoose
  166. return
  167. npc "guild_vs4" "Training Arena Manager#4" 8W_SOLDIER 53 53 4 0 0
  168. OnClick:
  169. dialog "[Training Arena Manager]"
  170. dialog "Would you like to leave the training arena?"
  171. wait
  172. choose menu "Yes" "No"
  173. case 1
  174. dialog "[Training Arena Manager]"
  175. dialog "You are now being transferred to Izlude."
  176. close
  177. moveto "izlude" 128 108
  178. return
  179. break
  180. case 2
  181. dialog "[Training Arena Manager]"
  182. dialog "Good luck with your training."
  183. close
  184. return
  185. break
  186. endchoose
  187. return
  188. npc "guild_vs5" "Training Arena Manager#5" 8W_SOLDIER 53 53 4 0 0
  189. OnClick:
  190. dialog "[Training Arena Manager]"
  191. dialog "Would you like to leave the training arena?"
  192. wait
  193. choose menu "Yes" "No"
  194. case 1
  195. dialog "[Training Arena Manager]"
  196. dialog "You are now being transferred to Izlude."
  197. close
  198. moveto "izlude" 128 108
  199. return
  200. break
  201. case 2
  202. dialog "[Training Arena Manager]"
  203. dialog "Good luck with your training."
  204. close
  205. return
  206. break
  207. endchoose
  208. return
  209. //--------------------------------------------------------------------------
  210. //-------------2008 RWC 예선 진행 NPC-------------------------------------
  211. npc "izlude" "[GM]2008 RWC Preliminary Match#izlude" 8W_SOLDIER 250 250 4 0 0
  212. OnClick:
  213. dialog "[[GM]2008 RWC Preliminary [email protected]]"
  214. dialog "Please select a menu."
  215. wait
  216. choose menu "Broadcast" "Merchant Manual Switch (No Broadcast)" "Transfer NPCs"
  217. case 1
  218. dialog "Welcome to 2008 Ragnarok World Championship."
  219. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  220. wait
  221. dialog "As soon as the numbers of participant in each team are checked,"
  222. broadcastinmap "As soon as the numbers of participant in each team are checked,"
  223. wait
  224. dialog "you'll be guided to staging area where you can prepare your characters by purchasing items and such."
  225. broadcastinmap "you'll be guided to staging area where you can prepare your characters by purchasing items and such."
  226. wait
  227. dialog "Everyone, please double check if you've successfully joined your guild."
  228. broadcastinmap "Everyone, please double check if you've successfully joined your guild."
  229. close
  230. break
  231. case 2
  232. dialog "[GM]2008 RWC Preliminary Match"
  233. dialog "This is Merchant Manual Switch. (No Broadcast)"
  234. wait
  235. choose menu "Turn on Merchants. (No Broadcast)" "Turn off Merchants. (No Broadcast)"
  236. case 1
  237. dialog "[GM]2008 RWC Preliminary Match"
  238. dialog "Merchant NPCs have been activated. (No Broadcast)"
  239. cmdothernpc "[GM]Merchant Manager#All" "on"
  240. close
  241. break
  242. case 2
  243. dialog "[GM]2008 RWC Preliminary Match"
  244. dialog "Merchant NPCs and the timer have been inactivated. (No Broadcast)"
  245. cmdothernpc "[GM]Merchant Manager#All" "off"
  246. cmdothernpc "Timer#10m" "off"
  247. cmdothernpc "Timer#20m" "off"
  248. cmdothernpc "Timer#30m" "off"
  249. close
  250. break
  251. endchoose
  252. break
  253. case 3
  254. dialog "[GM]2008 RWC Preliminary Match"
  255. dialog "Choose a menu for NPCs sending participants to 16 staging areas."
  256. wait
  257. choose menu "Turn on them all" "Turn off them all (No Broadcast)"
  258. case 1
  259. dialog "[GM]2008 RWC Preliminary Match"
  260. dialog "Choose a menu for 2 NPCs sending participants to staging areas."
  261. choose menu "Turn on (Broadcast)" "Turn off (Broadcast)" "Turn on (No Broadcast)" "Turn off (No Broadcast)"
  262. case 1
  263. dialog "[GM]2008 RWC Preliminary Match"
  264. dialog "Now, please be ready to move to the staging area."
  265. broadcastinmap "Now, please be ready to move to the staging area."
  266. wait
  267. dialog "The transfer NPCs are located at 9 o'clock direction (A~H) , and 3 o'clock direction (I~P) in Izlude."
  268. broadcastinmap "The transfer NPCs are located at 9 o'clock direction (A~H) , and 3 o'clock direction (I~P) in Izlude."
  269. wait
  270. dialog "Please move to a transfer NPC which will guide you to your assigned staging areas. The transfer NPCs will be activated shortly."
  271. broadcastinmap "Please move to a transfer NPC which will guide you to your assigned staging areas. The transfer NPCs will be activated shortly."
  272. wait
  273. dialog "Are you ready to move to staging areas? The transfer NPCs will be activated shortly."
  274. broadcastinmap "Are you ready to move to staging areas? The transfer NPCs will be activated shortly."
  275. wait
  276. dialog "The transfer NPCs have been activated. Please click on the NPCs to move to your assigned staging areas."
  277. broadcastinmap "The transfer NPCs have been activated. Please click on the NPCs to move to your assigned staging areas."
  278. enablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  279. enablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  280. close
  281. break
  282. case 2
  283. dialog "[GM]2008 RWC Preliminary Match"
  284. dialog "The transfer NPCs will be now inactivated."
  285. broadcastinmap "The transfer NPCs will be now inactivated."
  286. wait
  287. dialog "The transfer NPCs have been inactivated. Guildmasters, if you have missing guildsmen, please speak with GMs."
  288. broadcastinmap "The transfer NPCs have been inactivated. Guildmasters, if you have missing guildsmen, please speak with GMs."
  289. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  290. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  291. close
  292. break
  293. case 3
  294. enablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  295. enablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  296. break
  297. case 4
  298. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  299. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  300. break
  301. endchoose
  302. break
  303. case 2
  304. dialog "The transfer NPCs have been all inactivated."
  305. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  306. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  307. close
  308. break
  309. endchoose
  310. break
  311. endchoose
  312. return
  313. //---------------이동NPC _ 2008rwc_01~8.gat ----------------valkyrie 48 81-----------------
  314. npc "izlude" "[A~H]2008 RWC Entrance#2008rwc_r" 8W_SOLDIER 54 130 4 0 0
  315. OnInit:
  316. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  317. return
  318. OnClick:
  319. dialog "[Entrance Guard]"
  320. dialog "Please remember that you will not be allowed to leave the map once you enter."
  321. wait
  322. dialog "[Entrance Guard]"
  323. dialog "Would you like to enter the arena now?"
  324. wait
  325. choose menu "Enter A Team staging area" "Enter B Team staging area" "Enter C Team staging area" "Enter D Team staging area" "Enter E Team staging area" "Enter F Team staging area" "Enter G Team staging area" "Enter H Team staging area" "Cancel"
  326. case 1
  327. dialog "[Entrance Guard]"
  328. dialog "Would you like to enter A Team staging area?"
  329. wait
  330. choose menu "Yes" "No"
  331. case 1
  332. var name = PcName
  333. broadcastinmap ""+name+" has entered A Team staging area."
  334. moveto "2008rwc_r" 73 162
  335. return
  336. break
  337. case 2
  338. break
  339. endchoose
  340. break
  341. case 2
  342. dialog "[Entrance Guard]"
  343. dialog "Would you like to enter B Team staging area?"
  344. wait
  345. choose menu "Yes" "No"
  346. case 1
  347. var name = PcName
  348. broadcastinmap ""+name+" has entered B Team staging area."
  349. moveto "2008rwc_r" 91 162
  350. return
  351. break
  352. case 2
  353. break
  354. endchoose
  355. break
  356. case 3
  357. dialog "[Entrance Guard]"
  358. dialog "Would you like to enter C Team staging area?"
  359. wait
  360. choose menu "Yes" "No"
  361. case 1
  362. var name = PcName
  363. broadcastinmap ""+name+" has entered C Team staging area."
  364. moveto "2008rwc_r" 109 162
  365. return
  366. break
  367. case 2
  368. break
  369. endchoose
  370. break
  371. case 4
  372. dialog "[Entrance Guard]"
  373. dialog "Would you like to enter D Team staging area?"
  374. wait
  375. choose menu "Yes" "No"
  376. case 1
  377. var name = PcName
  378. broadcastinmap ""+name+" has entered D Team staging area."
  379. moveto "2008rwc_r" 127 162
  380. return
  381. break
  382. case 2
  383. break
  384. endchoose
  385. break
  386. case 5
  387. dialog "[Entrance Guard]"
  388. dialog "Would you like to enter E Team staging area?"
  389. wait
  390. choose menu "Yes" "No"
  391. case 1
  392. var name = PcName
  393. broadcastinmap ""+name+" has entered E Team staging area."
  394. moveto "2008rwc_r" 73 116
  395. return
  396. break
  397. case 2
  398. break
  399. endchoose
  400. break
  401. case 6
  402. dialog "[Entrance Guard]"
  403. dialog "Would you like to enter F Team staging area?"
  404. wait
  405. choose menu "Yes" "No"
  406. case 1
  407. var name = PcName
  408. broadcastinmap ""+name+" has entered F Team staging area."
  409. moveto "2008rwc_r" 91 116
  410. return
  411. break
  412. case 2
  413. break
  414. endchoose
  415. break
  416. case 7
  417. dialog "[Entrance Guard]"
  418. dialog "Would you like to enter G Team staging area?"
  419. wait
  420. choose menu "Yes" "No"
  421. case 1
  422. var name = PcName
  423. broadcastinmap ""+name+" has entered G Team staging area."
  424. moveto "2008rwc_r" 109 116
  425. return
  426. break
  427. case 2
  428. break
  429. endchoose
  430. break
  431. case 8
  432. dialog "[Entrance Guard]"
  433. dialog "Would you like to enter H Team staging area?"
  434. wait
  435. choose menu "Yes" "No"
  436. case 1
  437. var name = PcName
  438. broadcastinmap ""+name+" has entered H Team staging area."
  439. moveto "2008rwc_r" 127 116
  440. return
  441. break
  442. case 2
  443. break
  444. endchoose
  445. break
  446. case 9
  447. break
  448. endchoose
  449. return
  450. npc "izlude" "[I~P]2008 RWC Entrance#2008rwc_r" 8W_SOLDIER 208 129 4 0 0
  451. OnInit:
  452. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  453. return
  454. OnClick:
  455. dialog "[Entrance Guard]"
  456. dialog "Please remember that you will not be allowed to leave the map once you enter."
  457. wait
  458. dialog "[Entrance Guard]"
  459. dialog "Would you like to enter the arena now?"
  460. wait
  461. choose menu "Enter I Team staging area" "Enter J Team staging area" "Enter K Team staging area" "Enter L Team staging area" "Enter M Team staging area" "Enter N Team staging area" "Enter O Team staging area" "Enter P Team staging area" "No"
  462. case 1
  463. dialog "[Entrance Guard]"
  464. dialog "Would you like to enter I Team staging area?"
  465. wait
  466. choose menu "Yes" "No"
  467. case 1
  468. var name = PcName
  469. broadcastinmap ""+name+" has entered I Team staging area."
  470. moveto "2008rwc_r" 73 68
  471. return
  472. break
  473. case 2
  474. break
  475. endchoose
  476. break
  477. case 2
  478. dialog "[Entrance Guard]"
  479. dialog "Would you like to enter J Team staging area?"
  480. wait
  481. choose menu "Yes" "No"
  482. case 1
  483. var name = PcName
  484. broadcastinmap ""+name+" has entered J Team staging area."
  485. moveto "2008rwc_r" 91 68
  486. return
  487. break
  488. case 2
  489. break
  490. endchoose
  491. break
  492. case 3
  493. dialog "[Entrance Guard]"
  494. dialog "Would you like to enter K Team staging area?"
  495. wait
  496. choose menu "Yes" "No"
  497. case 1
  498. var name = PcName
  499. broadcastinmap ""+name+" has entered K Team staging area."
  500. moveto "2008rwc_r" 109 68
  501. return
  502. break
  503. case 2
  504. break
  505. endchoose
  506. break
  507. case 4
  508. dialog "[Entrance Guard]"
  509. dialog "Would you like to enter L Team staging area?"
  510. wait
  511. choose menu "Yes" "No"
  512. case 1
  513. var name = PcName
  514. broadcastinmap ""+name+" has entered L Team staging area."
  515. moveto "2008rwc_r" 127 68
  516. return
  517. break
  518. case 2
  519. break
  520. endchoose
  521. break
  522. case 5
  523. dialog "[Entrance Guard]"
  524. dialog "Would you like to enter M Team staging area?"
  525. wait
  526. choose menu "Yes" "No"
  527. case 1
  528. var name = PcName
  529. broadcastinmap ""+name+" has entered M Team staging area."
  530. moveto "2008rwc_r" 73 22
  531. return
  532. break
  533. case 2
  534. break
  535. endchoose
  536. break
  537. case 6
  538. dialog "[Entrance Guard]"
  539. dialog "Would you like to enter N Team staging area?"
  540. wait
  541. choose menu "Yes" "No"
  542. case 1
  543. var name = PcName
  544. broadcastinmap ""+name+" has entered N Team staging area."
  545. moveto "2008rwc_r" 91 22
  546. return
  547. break
  548. case 2
  549. break
  550. endchoose
  551. break
  552. case 7
  553. dialog "[Entrance Guard]"
  554. dialog "Would you like to enter O Team staging area?"
  555. wait
  556. choose menu "Yes" "No"
  557. case 1
  558. var name = PcName
  559. broadcastinmap ""+name+" has entered O Team staging area."
  560. moveto "2008rwc_r" 109 22
  561. return
  562. break
  563. case 2
  564. break
  565. endchoose
  566. break
  567. case 8
  568. dialog "[Entrance Guard]"
  569. dialog "Would you like to enter P Team staging area?"
  570. wait
  571. choose menu "Yes" "No"
  572. case 1
  573. var name = PcName
  574. broadcastinmap ""+name+" has entered P Team staging area."
  575. moveto "2008rwc_r" 127 22
  576. return
  577. break
  578. case 2
  579. break
  580. endchoose
  581. break
  582. case 9
  583. break
  584. endchoose
  585. return
  586. npc "izlude" "[Final MatchA~B]2008 RWC Entrance#2008rwc_r" 8W_SOLDIER 52 130 4 0 0
  587. OnInit:
  588. disablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  589. return
  590. OnClick:
  591. dialog "[Entrance Guard]"
  592. dialog "Please remember that you will not be allowed to leave the map once you enter."
  593. wait
  594. dialog "[Entrance Guard]"
  595. dialog "Would you like to enter the arena now?"
  596. wait
  597. choose menu "Enter A Team staging area" "Enter B Team staging area" "Cancel"
  598. case 1
  599. dialog "[Entrance Guard]"
  600. dialog "Would you like to enter A Team staging area?"
  601. wait
  602. choose menu "Yes" "No"
  603. case 1
  604. var name = PcName
  605. broadcastinmap ""+name+" has entered A Team final match staging area."
  606. moveto "2008rwc_r" 73 162
  607. return
  608. break
  609. case 2
  610. break
  611. endchoose
  612. break
  613. case 2
  614. dialog "[Entrance Guard]"
  615. dialog "Would you like to enter B Team staging area?"
  616. wait
  617. choose menu "Yes" "No"
  618. case 1
  619. var name = PcName
  620. broadcastinmap ""+name+"has entered B Team final match staging area."
  621. moveto "2008rwc_r" 91 162
  622. return
  623. break
  624. case 2
  625. break
  626. endchoose
  627. break
  628. case 3
  629. break
  630. endchoose
  631. return
  632. npc "izlude" "[Final MatchC~D]2008 RWC Entrance#2008rwc_r" 8W_SOLDIER 210 129 4 0 0
  633. OnInit:
  634. disablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  635. return
  636. OnClick:
  637. dialog "[Entrance Guard]"
  638. dialog "Please remember that you will not be allowed to leave the map once you enter."
  639. wait
  640. dialog "[Entrance Guard]"
  641. dialog "Would you like to enter the arena now?"
  642. wait
  643. choose menu "Enter C Team staging area" "Cancel"
  644. case 1
  645. dialog "[Entrance Guard]"
  646. dialog "Would you like to enter C Team staging area?"
  647. wait
  648. choose menu "Yes" "No"
  649. case 1
  650. var name = PcName
  651. broadcastinmap ""+name+" has entered C Team final match staging area."
  652. moveto "2008rwc_r" 109 162
  653. return
  654. break
  655. case 2
  656. break
  657. endchoose
  658. break
  659. case 2
  660. dialog "[Entrance Guard]"
  661. dialog "Would you like to enter D Team staging area?"
  662. wait
  663. choose menu "Yes" "No"
  664. case 1
  665. var name = PcName
  666. broadcastinmap ""+name+" has entered D Team final match staging area."
  667. moveto "2008rwc_r" 127 162
  668. return
  669. break
  670. case 2
  671. break
  672. endchoose
  673. break
  674. case 3
  675. break
  676. endchoose
  677. return
  678. //-------------2008 RWC 결승 진행 NPC-------------------------------------
  679. npc "izlude" "[GM]2008 RWC Final Match#izlude" 8W_SOLDIER 240 240 4 0 0
  680. OnClick:
  681. dialog "[[GM]2008 RWC Final [email protected]]"
  682. dialog "Please select a menu."
  683. wait
  684. choose menu "Broadcast" "Merchant Manual Switch (No Broadcast)" "Transfer NPCs"
  685. case 1
  686. dialog "Welcome to 2008 Ragnarok World Championship."
  687. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  688. wait
  689. dialog "As soon as the numbers of participant in each team are checked,"
  690. broadcastinmap "As soon as the numbers of participant in each team are checked,"
  691. wait
  692. dialog "you'll be guided to staging area where you can prepare your characters by purchasing items and such."
  693. broadcastinmap "you'll be guided to staging area where you can prepare your characters by purchasing items and such."
  694. wait
  695. dialog "Everyone, please double check if you've successfully joined your guild."
  696. broadcastinmap "Everyone, please double check if you've successfully joined your guild."
  697. close
  698. break
  699. case 2
  700. dialog "[GM]2008 RWC Final Match"
  701. dialog "This is Merchant Manual Switch. (No Broadcast)"
  702. wait
  703. choose menu "Turn on Merchants. (No Broadcast)" "Turn off Merchants. (No Broadcast)"
  704. case 1
  705. dialog "[GM]2008 RWC Final Match"
  706. dialog "Merchant NPCs have been activated. (No Broadcast)"
  707. cmdothernpc "[GM]Merchant Manager#All" "on"
  708. close
  709. break
  710. case 2
  711. dialog "[GM]2008 RWC Final Match"
  712. dialog "Merchant NPCs and the timer have been inactivated. (No Broadcast)"
  713. cmdothernpc "[GM]Merchant Manager#All" "off"
  714. cmdothernpc "Timer#10m" "off"
  715. cmdothernpc "Timer#20m" "off"
  716. cmdothernpc "Timer#30m" "off"
  717. close
  718. break
  719. endchoose
  720. break
  721. case 3
  722. dialog "[GM]2008 RWC Final Match"
  723. dialog "Choose a menu for NPCs sending participants to 16 staging areas."
  724. wait
  725. choose menu "Turn on them all" "Turn off them all (No Broadcast)"
  726. case 1
  727. dialog "[GM]2008 RWC Final Match"
  728. dialog "Choose a menu for 2 NPCs sending participants to staging areas."
  729. choose menu "Turn on (Broadcast)" "Turn off (Broadcast)" "Turn on (No Broadcast)" "Turn off (No Broadcast)"
  730. case 1
  731. dialog "[GM]2008 RWC Final Match"
  732. dialog "Now, please be ready to move to the staging area."
  733. broadcastinmap "Now, please be ready to move to the staging area."
  734. wait
  735. dialog "The NPCs that transfer to final match staging area are located at 9 o'clock direction (A~H) in Izlude."
  736. broadcastinmap "The NPCs that transfer to final match staging area are located at 9 o'clock direction (A~H) in Izlude."
  737. wait
  738. dialog "Please move to a transfer NPC which will guide you to your assigned staging areas. The transfer NPCs will be activated shortly."
  739. broadcastinmap "Please move to a transfer NPC which will guide you to your assigned staging areas. The transfer NPCs will be activated shortly."
  740. wait
  741. dialog "Are you ready to move to staging areas? The transfer NPCs will be activated shortly."
  742. broadcastinmap "Are you ready to move to staging areas? The transfer NPCs will be activated shortly."
  743. wait
  744. dialog "The transfer NPCs have been activated. Please click on the NPCs to move to your assigned staging areas."
  745. broadcastinmap "The transfer NPCs have been activated. Please click on the NPCs to move to your assigned staging areas."
  746. enablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  747. enablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  748. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  749. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  750. close
  751. break
  752. case 2
  753. dialog "[GM]2008 RWC Final Match"
  754. dialog "The transfer NPCs will be now inactivated."
  755. broadcastinmap "The transfer NPCs will be now inactivated."
  756. wait
  757. dialog "The transfer NPCs have been inactivated. Guildmasters, if you have missing guildsmen, please speak with GMs."
  758. broadcastinmap "The transfer NPCs have been inactivated. Guildmasters, if you have missing guildsmen, please speak with GMs."
  759. disablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  760. disablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  761. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  762. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  763. close
  764. break
  765. case 3
  766. enablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  767. enablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  768. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  769. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  770. break
  771. case 4
  772. disablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  773. disablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  774. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  775. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  776. break
  777. endchoose
  778. break
  779. case 2
  780. dialog "The transfer NPCs have been all inactivated."
  781. disablenpc "[Final MatchA~B]2008 RWC Entrance#2008rwc_r"
  782. disablenpc "[Final MatchC~D]2008 RWC Entrance#2008rwc_r"
  783. disablenpc "[A~H]2008 RWC Entrance#2008rwc_r"
  784. disablenpc "[I~P]2008 RWC Entrance#2008rwc_r"
  785. close
  786. break
  787. endchoose
  788. break
  789. endchoose
  790. return
  791. //--------------- 2008rwc_01 방 --------------
  792. npc "2008rwc_01" "[GM]2008 RWC #2008rwc_01" 8W_SOLDIER 1 1 4 0 0
  793. OnCommand: "end_2008rwc_01"
  794. warpallpcinthemap "2008rwc_r" 38 74
  795. return
  796. OnClick:
  797. dialog "[2008rwc_01.gat]"
  798. dialog "Please select a menu."
  799. wait
  800. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  801. case 1
  802. dialog "Welcome to 2008 Ragnarok World Championship."
  803. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  804. wait
  805. dialog "Please make sure to form a party with your guildsmen before the round starts."
  806. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  807. wait
  808. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  809. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  810. wait
  811. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  812. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  813. wait
  814. dialog "The next announcement is for your information."
  815. broadcastinmap "The next announcement is for your information."
  816. wait
  817. dialog "Please visit our website frequently, so that you can prepare for your next match."
  818. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  819. wait
  820. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  821. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  822. wait
  823. dialog "Are you ready?"
  824. broadcastinmap "Are you ready?"
  825. close
  826. break
  827. case 2
  828. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  829. choose menu "Start" "Cancel"
  830. case 1
  831. dialog "A round will be started shortly."
  832. broadcastinmap "A round will be started shortly."
  833. wait
  834. cmdothernpc "warp_1#2008rwc_01" "off"
  835. cmdothernpc "warp_2#2008rwc_01" "off"
  836. cmdothernpc "warp_3#2008rwc_01" "off"
  837. //cmdothernpc "warp_4#2008rwc_01" "off"
  838. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  839. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  840. cmdothernpc "Timer#2008rwc_01" "on"
  841. close
  842. break
  843. case 2
  844. break
  845. endchoose
  846. break
  847. case 3
  848. var name = PcName
  849. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  850. choose menu "Finish" "Cancel"
  851. case 1
  852. warpallpcinthemap "2008rwc_r" 73 162
  853. cmdothernpc "Timer#2008rwc_01" "off"
  854. break
  855. case 2
  856. break
  857. endchoose
  858. break
  859. case 4
  860. dialog "The command has been canceled."
  861. close
  862. break
  863. case 5
  864. var mapcount_1
  865. var mapcount_2
  866. var mapcount_3
  867. var mapcount_4
  868. var mapcount_5
  869. var mapcount_6
  870. var mapcount_7
  871. var mapcount_8
  872. mapcount_1 = GetPCCount "2008rwc_01.gat"
  873. mapcount_2 = GetPCCount "2008rwc_02.gat"
  874. mapcount_3 = GetPCCount "2008rwc_03.gat"
  875. mapcount_4 = GetPCCount "2008rwc_04.gat"
  876. mapcount_5 = GetPCCount "2008rwc_05.gat"
  877. mapcount_6 = GetPCCount "2008rwc_06.gat"
  878. mapcount_7 = GetPCCount "2008rwc_07.gat"
  879. mapcount_8 = GetPCCount "2008rwc_08.gat"
  880. dialog "^FF00002008rwc_01 : "+mapcount_1+"ppl^000000"
  881. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  882. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  883. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  884. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  885. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  886. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  887. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  888. close
  889. break
  890. case 6
  891. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  892. cmdothernpc "warp_1#2008rwc_01" "on"
  893. cmdothernpc "warp_2#2008rwc_01" "on"
  894. cmdothernpc "warp_3#2008rwc_01" "on"
  895. //cmdothernpc "warp_4#2008rwc_01" "on"
  896. cmdothernpc "Timer#2008rwc_01" "off"
  897. close
  898. break
  899. endchoose
  900. npc "2008rwc_01" "Timer#2008rwc_01" 4_M_JOB_KNIGHT2 2 2 0 0 0
  901. OnInit:
  902. disablenpc "Timer#2008rwc_01"
  903. return
  904. OnCommand: "on"
  905. enablenpc "Timer#2008rwc_01"
  906. InitTimer
  907. return
  908. OnCommand: "off"
  909. stoptimer
  910. disablenpc "Timer#2008rwc_01"
  911. return
  912. OnTimer: 1000
  913. broadcastinmap "======== 7 minutes have left. ========"
  914. return
  915. OnTimer: 61000
  916. broadcastinmap "======== 6 minutes have left. ========"
  917. return
  918. OnTimer: 121000
  919. broadcastinmap "======== 5 minutes have left. ========"
  920. return
  921. OnTimer: 181000
  922. broadcastinmap "======== 4 minutes have left. ========"
  923. return
  924. OnTimer: 241000
  925. broadcastinmap "======== 3 minutes have left. ========"
  926. return
  927. OnTimer: 301000
  928. broadcastinmap "======== 2 minutes have left. ========"
  929. return
  930. OnTimer: 361000
  931. broadcastinmap "======== 1 minutes have left. ========"
  932. return
  933. OnTimer: 391000
  934. broadcastinmap "======== 30 seconds have left. ========"
  935. return
  936. OnTimer: 401000
  937. broadcastinmap "======== 20 seconds have left. ========"
  938. return
  939. OnTimer: 411000
  940. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  941. return
  942. OnTimer: 412000
  943. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  944. return
  945. OnTimer: 413000
  946. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  947. return
  948. OnTimer: 414000
  949. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  950. return
  951. OnTimer: 415000
  952. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  953. return
  954. OnTimer: 416000
  955. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  956. return
  957. OnTimer: 417000
  958. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  959. return
  960. OnTimer: 418000
  961. broadcastinmap "■■■ 3 seconds have left. ■■■"
  962. return
  963. OnTimer: 419000
  964. broadcastinmap "■■ 2 seconds have left. ■■"
  965. return
  966. OnTimer: 420000
  967. broadcastinmap "■ 1 seconds have left. ■"
  968. return
  969. OnTimer: 421000
  970. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  971. warpallpcinthemap "2008rwc_r" 38 74
  972. stoptimer
  973. return
  974. //-------------------------------(시작할때 막고있는)워프 -----------------------
  975. hiddenwarp "2008rwc_01" "warp_1#2008rwc_01" 43 71 10 10
  976. OnTouch:
  977. moveto "2008rwc_01" 23 68
  978. return
  979. OnCommand: "on"
  980. enablenpc "warp_1#2008rwc_01"
  981. return
  982. OnCommand: "off"
  983. disablenpc "warp_1#2008rwc_01"
  984. return
  985. hiddenwarp "2008rwc_01" "warp_2#2008rwc_01" 36 70 10 10
  986. OnTouch:
  987. moveto "2008rwc_01" 23 68
  988. return
  989. OnCommand: "on"
  990. enablenpc "warp_2#2008rwc_01"
  991. return
  992. OnCommand: "off"
  993. disablenpc "warp_2#2008rwc_01"
  994. return
  995. hiddenwarp "2008rwc_01" "warp_3#2008rwc_01" 77 19 10 10
  996. OnTouch:
  997. moveto "2008rwc_01" 61 16
  998. return
  999. OnCommand: "on"
  1000. enablenpc "warp_3#2008rwc_01"
  1001. return
  1002. OnCommand: "off"
  1003. disablenpc "warp_3#2008rwc_01"
  1004. return
  1005. //hiddenwarp "2008rwc_01" "warp_4#2008rwc_01" 49 22 10 10
  1006. // OnTouch:
  1007. // moveto "2008rwc_01" 50 7
  1008. // return
  1009. //
  1010. // OnCommand: "on"
  1011. // enablenpc "warp_4#2008rwc_01"
  1012. // return
  1013. //
  1014. // OnCommand: "off"
  1015. // disablenpc "warp_4#2008rwc_01"
  1016. // return
  1017. //-------------------------------------------
  1018. //--------------- 2008rwc_02 방 --------------
  1019. npc "2008rwc_02" "[GM]2008 RWC #2008rwc_02" 8W_SOLDIER 1 1 4 0 0
  1020. OnCommand: "end_2008rwc_02"
  1021. warpallpcinthemap "2008rwc_r" 38 74
  1022. return
  1023. OnClick:
  1024. dialog "[2008rwc_02.gat]"
  1025. dialog "Please select a menu."
  1026. wait
  1027. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  1028. case 1
  1029. dialog "Welcome to 2008 Ragnarok World Championship."
  1030. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  1031. wait
  1032. dialog "Please make sure to form a party with your guildsmen before the round starts."
  1033. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  1034. wait
  1035. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  1036. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  1037. wait
  1038. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  1039. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  1040. wait
  1041. dialog "The next announcement is for your information."
  1042. broadcastinmap "The next announcement is for your information."
  1043. wait
  1044. dialog "Please visit our website frequently, so that you can prepare for your next match."
  1045. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  1046. wait
  1047. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1048. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1049. wait
  1050. dialog "Are you ready?"
  1051. broadcastinmap "Are you ready?"
  1052. close
  1053. break
  1054. case 2
  1055. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  1056. choose menu "Start" "Cancel"
  1057. case 1
  1058. dialog "A round will be started shortly."
  1059. broadcastinmap "A round will be started shortly."
  1060. wait
  1061. cmdothernpc "warp_1#2008rwc_02" "off"
  1062. cmdothernpc "warp_2#2008rwc_02" "off"
  1063. cmdothernpc "warp_3#2008rwc_02" "off"
  1064. //cmdothernpc "warp_4#2008rwc_02" "off"
  1065. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1066. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1067. cmdothernpc "Timer#2008rwc_02" "on"
  1068. close
  1069. break
  1070. case 2
  1071. break
  1072. endchoose
  1073. break
  1074. case 3
  1075. var name = PcName
  1076. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  1077. choose menu "Finish" "Cancel"
  1078. case 1
  1079. warpallpcinthemap "2008rwc_r" 109 162
  1080. cmdothernpc "Timer#2008rwc_02" "off"
  1081. break
  1082. case 2
  1083. break
  1084. endchoose
  1085. break
  1086. case 4
  1087. dialog "The command has been canceled."
  1088. close
  1089. break
  1090. case 5
  1091. var mapcount_1
  1092. var mapcount_2
  1093. var mapcount_3
  1094. var mapcount_4
  1095. var mapcount_5
  1096. var mapcount_6
  1097. var mapcount_7
  1098. var mapcount_8
  1099. mapcount_1 = GetPCCount "2008rwc_01.gat"
  1100. mapcount_2 = GetPCCount "2008rwc_02.gat"
  1101. mapcount_3 = GetPCCount "2008rwc_03.gat"
  1102. mapcount_4 = GetPCCount "2008rwc_04.gat"
  1103. mapcount_5 = GetPCCount "2008rwc_05.gat"
  1104. mapcount_6 = GetPCCount "2008rwc_06.gat"
  1105. mapcount_7 = GetPCCount "2008rwc_07.gat"
  1106. mapcount_8 = GetPCCount "2008rwc_08.gat"
  1107. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  1108. dialog "^FF00002008rwc_02 : "+mapcount_2+"ppl^000000"
  1109. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  1110. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  1111. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  1112. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  1113. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  1114. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  1115. close
  1116. break
  1117. case 6
  1118. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  1119. cmdothernpc "warp_1#2008rwc_02" "on"
  1120. cmdothernpc "warp_2#2008rwc_02" "on"
  1121. cmdothernpc "warp_3#2008rwc_02" "on"
  1122. //cmdothernpc "warp_4#2008rwc_02" "on"
  1123. cmdothernpc "Timer#2008rwc_02" "off"
  1124. close
  1125. break
  1126. endchoose
  1127. npc "2008rwc_02" "Timer#2008rwc_02" 4_M_JOB_KNIGHT2 2 2 0 0 0
  1128. OnInit:
  1129. disablenpc "Timer#2008rwc_02"
  1130. return
  1131. OnCommand: "on"
  1132. enablenpc "Timer#2008rwc_02"
  1133. InitTimer
  1134. return
  1135. OnCommand: "off"
  1136. stoptimer
  1137. disablenpc "Timer#2008rwc_02"
  1138. return
  1139. OnTimer: 1000
  1140. broadcastinmap "======== 7 minutes have left. ========"
  1141. return
  1142. OnTimer: 61000
  1143. broadcastinmap "======== 6 minutes have left. ========"
  1144. return
  1145. OnTimer: 121000
  1146. broadcastinmap "======== 5 minutes have left. ========"
  1147. return
  1148. OnTimer: 181000
  1149. broadcastinmap "======== 4 minutes have left. ========"
  1150. return
  1151. OnTimer: 241000
  1152. broadcastinmap "======== 3 minutes have left. ========"
  1153. return
  1154. OnTimer: 301000
  1155. broadcastinmap "======== 2 minutes have left. ========"
  1156. return
  1157. OnTimer: 361000
  1158. broadcastinmap "======== 1 minutes have left. ========"
  1159. return
  1160. OnTimer: 391000
  1161. broadcastinmap "======== 30 seconds have left. ========"
  1162. return
  1163. OnTimer: 401000
  1164. broadcastinmap "======== 20 seconds have left. ========"
  1165. return
  1166. OnTimer: 411000
  1167. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  1168. return
  1169. OnTimer: 412000
  1170. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  1171. return
  1172. OnTimer: 413000
  1173. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  1174. return
  1175. OnTimer: 414000
  1176. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  1177. return
  1178. OnTimer: 415000
  1179. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  1180. return
  1181. OnTimer: 416000
  1182. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  1183. return
  1184. OnTimer: 417000
  1185. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  1186. return
  1187. OnTimer: 418000
  1188. broadcastinmap "■■■ 3 seconds have left. ■■■"
  1189. return
  1190. OnTimer: 419000
  1191. broadcastinmap "■■ 2 seconds have left. ■■"
  1192. return
  1193. OnTimer: 420000
  1194. broadcastinmap "■ 1 seconds have left. ■"
  1195. return
  1196. OnTimer: 421000
  1197. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  1198. warpallpcinthemap "2008rwc_r" 38 74
  1199. stoptimer
  1200. return
  1201. //-------------------------------(시작할때 막고있는)워프 -----------------------
  1202. hiddenwarp "2008rwc_02" "warp_1#2008rwc_02" 33 80 10 10
  1203. OnTouch:
  1204. moveto "2008rwc_02" 18 78
  1205. return
  1206. OnCommand: "on"
  1207. enablenpc "warp_1#2008rwc_02"
  1208. return
  1209. OnCommand: "off"
  1210. disablenpc "warp_1#2008rwc_02"
  1211. return
  1212. hiddenwarp "2008rwc_02" "warp_2#2008rwc_02" 33 73 10 10
  1213. OnTouch:
  1214. moveto "2008rwc_02" 18 78
  1215. return
  1216. OnCommand: "on"
  1217. enablenpc "warp_2#2008rwc_02"
  1218. return
  1219. OnCommand: "off"
  1220. disablenpc "warp_2#2008rwc_02"
  1221. return
  1222. hiddenwarp "2008rwc_02" "warp_3#2008rwc_02" 62 16 10 10
  1223. OnTouch:
  1224. moveto "2008rwc_02" 77 18
  1225. return
  1226. OnCommand: "on"
  1227. enablenpc "warp_3#2008rwc_02"
  1228. return
  1229. OnCommand: "off"
  1230. disablenpc "warp_3#2008rwc_02"
  1231. return
  1232. //hiddenwarp "2008rwc_02" "warp_4#2008rwc_02" 49 22 10 10
  1233. // OnTouch:
  1234. // moveto "2008rwc_02" 50 7
  1235. // return
  1236. //
  1237. // OnCommand: "on"
  1238. // enablenpc "warp_4#2008rwc_02"
  1239. // return
  1240. //
  1241. // OnCommand: "off"
  1242. // disablenpc "warp_4#2008rwc_02"
  1243. // return
  1244. //-------------------------------------------
  1245. //--------------- 2008rwc_03 방 --------------
  1246. npc "2008rwc_03" "[GM]2008 RWC #2008rwc_03" 8W_SOLDIER 1 1 4 0 0
  1247. OnCommand: "end_2008rwc_03"
  1248. warpallpcinthemap "2008rwc_r" 38 74
  1249. return
  1250. OnClick:
  1251. dialog "[2008rwc_03.gat]"
  1252. dialog "Please select a menu."
  1253. wait
  1254. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  1255. case 1
  1256. dialog "Welcome to 2008 Ragnarok World Championship."
  1257. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  1258. wait
  1259. dialog "Please make sure to form a party with your guildsmen before the round starts."
  1260. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  1261. wait
  1262. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  1263. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  1264. wait
  1265. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  1266. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  1267. wait
  1268. dialog "The next announcement is for your information."
  1269. broadcastinmap "The next announcement is for your information."
  1270. wait
  1271. dialog "Please visit our website frequently, so that you can prepare for your next match."
  1272. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  1273. wait
  1274. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1275. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1276. wait
  1277. dialog "Are you ready?"
  1278. broadcastinmap "Are you ready?"
  1279. close
  1280. break
  1281. case 2
  1282. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  1283. choose menu "Start" "Cancel"
  1284. case 1
  1285. dialog "A round will be started shortly."
  1286. broadcastinmap "A round will be started shortly."
  1287. wait
  1288. cmdothernpc "warp_1#2008rwc_03" "off"
  1289. cmdothernpc "warp_2#2008rwc_03" "off"
  1290. cmdothernpc "warp_3#2008rwc_03" "off"
  1291. cmdothernpc "warp_4#2008rwc_03" "off"
  1292. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1293. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1294. cmdothernpc "Timer#2008rwc_03" "on"
  1295. close
  1296. break
  1297. case 2
  1298. break
  1299. endchoose
  1300. break
  1301. case 3
  1302. var name = PcName
  1303. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  1304. choose menu "Finish" "Cancel"
  1305. case 1
  1306. warpallpcinthemap "2008rwc_r" 73 116
  1307. cmdothernpc "Timer#2008rwc_03" "off"
  1308. break
  1309. case 2
  1310. break
  1311. endchoose
  1312. break
  1313. case 4
  1314. dialog "The command has been canceled."
  1315. close
  1316. break
  1317. case 5
  1318. var mapcount_1
  1319. var mapcount_2
  1320. var mapcount_3
  1321. var mapcount_4
  1322. var mapcount_5
  1323. var mapcount_6
  1324. var mapcount_7
  1325. var mapcount_8
  1326. mapcount_1 = GetPCCount "2008rwc_01.gat"
  1327. mapcount_2 = GetPCCount "2008rwc_02.gat"
  1328. mapcount_3 = GetPCCount "2008rwc_03.gat"
  1329. mapcount_4 = GetPCCount "2008rwc_04.gat"
  1330. mapcount_5 = GetPCCount "2008rwc_05.gat"
  1331. mapcount_6 = GetPCCount "2008rwc_06.gat"
  1332. mapcount_7 = GetPCCount "2008rwc_07.gat"
  1333. mapcount_8 = GetPCCount "2008rwc_08.gat"
  1334. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  1335. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  1336. dialog "^FF00002008rwc_03 : "+mapcount_3+"ppl^000000"
  1337. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  1338. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  1339. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  1340. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  1341. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  1342. close
  1343. break
  1344. case 6
  1345. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  1346. cmdothernpc "warp_1#2008rwc_03" "on"
  1347. cmdothernpc "warp_2#2008rwc_03" "on"
  1348. cmdothernpc "warp_3#2008rwc_03" "on"
  1349. cmdothernpc "warp_4#2008rwc_03" "on"
  1350. cmdothernpc "Timer#2008rwc_03" "off"
  1351. close
  1352. break
  1353. endchoose
  1354. npc "2008rwc_03" "Timer#2008rwc_03" 4_M_JOB_KNIGHT2 2 2 0 0 0
  1355. OnInit:
  1356. disablenpc "Timer#2008rwc_03"
  1357. return
  1358. OnCommand: "on"
  1359. enablenpc "Timer#2008rwc_03"
  1360. InitTimer
  1361. return
  1362. OnCommand: "off"
  1363. stoptimer
  1364. disablenpc "Timer#2008rwc_03"
  1365. return
  1366. OnTimer: 1000
  1367. broadcastinmap "======== 7 minutes have left. ========"
  1368. return
  1369. OnTimer: 61000
  1370. broadcastinmap "======== 6 minutes have left. ========"
  1371. return
  1372. OnTimer: 121000
  1373. broadcastinmap "======== 5 minutes have left. ========"
  1374. return
  1375. OnTimer: 181000
  1376. broadcastinmap "======== 4 minutes have left. ========"
  1377. return
  1378. OnTimer: 241000
  1379. broadcastinmap "======== 3 minutes have left. ========"
  1380. return
  1381. OnTimer: 301000
  1382. broadcastinmap "======== 2 minutes have left. ========"
  1383. return
  1384. OnTimer: 361000
  1385. broadcastinmap "======== 1 minutes have left. ========"
  1386. return
  1387. OnTimer: 391000
  1388. broadcastinmap "======== 30 seconds have left. ========"
  1389. return
  1390. OnTimer: 401000
  1391. broadcastinmap "======== 20 seconds have left. ========"
  1392. return
  1393. OnTimer: 411000
  1394. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  1395. return
  1396. OnTimer: 412000
  1397. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  1398. return
  1399. OnTimer: 413000
  1400. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  1401. return
  1402. OnTimer: 414000
  1403. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  1404. return
  1405. OnTimer: 415000
  1406. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  1407. return
  1408. OnTimer: 416000
  1409. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  1410. return
  1411. OnTimer: 417000
  1412. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  1413. return
  1414. OnTimer: 418000
  1415. broadcastinmap "■■■ 3 seconds have left. ■■■"
  1416. return
  1417. OnTimer: 419000
  1418. broadcastinmap "■■ 2 seconds have left. ■■"
  1419. return
  1420. OnTimer: 420000
  1421. broadcastinmap "■ 1 seconds have left. ■"
  1422. return
  1423. OnTimer: 421000
  1424. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  1425. warpallpcinthemap "2008rwc_r" 38 74
  1426. stoptimer
  1427. return
  1428. //-------------------------------(시작할때 막고있는)워프 -----------------------
  1429. hiddenwarp "2008rwc_03" "warp_1#2008rwc_03" 24 40 10 10
  1430. OnTouch:
  1431. moveto "2008rwc_03" 19 20
  1432. return
  1433. OnCommand: "on"
  1434. enablenpc "warp_1#2008rwc_03"
  1435. return
  1436. OnCommand: "off"
  1437. disablenpc "warp_1#2008rwc_03"
  1438. return
  1439. hiddenwarp "2008rwc_03" "warp_2#2008rwc_03" 42 19 10 10
  1440. OnTouch:
  1441. moveto "2008rwc_03" 19 20
  1442. return
  1443. OnCommand: "on"
  1444. enablenpc "warp_2#2008rwc_03"
  1445. return
  1446. OnCommand: "off"
  1447. disablenpc "warp_2#2008rwc_03"
  1448. return
  1449. hiddenwarp "2008rwc_03" "warp_3#2008rwc_03" 57 81 10 10
  1450. OnTouch:
  1451. moveto "2008rwc_03" 83 82
  1452. return
  1453. OnCommand: "on"
  1454. enablenpc "warp_3#2008rwc_03"
  1455. return
  1456. OnCommand: "off"
  1457. disablenpc "warp_3#2008rwc_03"
  1458. return
  1459. hiddenwarp "2008rwc_03" "warp_4#2008rwc_03" 57 64 10 10
  1460. OnTouch:
  1461. moveto "2008rwc_03" 83 82
  1462. return
  1463. OnCommand: "on"
  1464. enablenpc "warp_4#2008rwc_03"
  1465. return
  1466. OnCommand: "off"
  1467. disablenpc "warp_4#2008rwc_03"
  1468. return
  1469. //-------------------------------------------
  1470. //--------------- 2008rwc_04 방 --------------
  1471. npc "2008rwc_04" "[GM]2008 RWC #2008rwc_04" 8W_SOLDIER 1 1 4 0 0
  1472. OnCommand: "end_2008rwc_04"
  1473. warpallpcinthemap "2008rwc_r" 38 74
  1474. return
  1475. OnClick:
  1476. dialog "[2008rwc_04.gat]"
  1477. dialog "Please select a menu."
  1478. wait
  1479. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  1480. case 1
  1481. dialog "Welcome to 2008 Ragnarok World Championship."
  1482. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  1483. wait
  1484. dialog "Please make sure to form a party with your guildsmen before the round starts."
  1485. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  1486. wait
  1487. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  1488. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  1489. wait
  1490. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  1491. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  1492. wait
  1493. dialog "The next announcement is for your information."
  1494. broadcastinmap "The next announcement is for your information."
  1495. wait
  1496. dialog "Please visit our website frequently, so that you can prepare for your next match."
  1497. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  1498. wait
  1499. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1500. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1501. wait
  1502. dialog "Are you ready?"
  1503. broadcastinmap "Are you ready?"
  1504. close
  1505. break
  1506. case 2
  1507. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  1508. choose menu "Start" "Cancel"
  1509. case 1
  1510. dialog "A round will be started shortly."
  1511. broadcastinmap "A round will be started shortly."
  1512. wait
  1513. cmdothernpc "warp_1#2008rwc_04" "off"
  1514. cmdothernpc "warp_2#2008rwc_04" "off"
  1515. cmdothernpc "warp_3#2008rwc_04" "off"
  1516. cmdothernpc "warp_4#2008rwc_04" "off"
  1517. cmdothernpc "warp_5#2008rwc_04" "off"
  1518. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1519. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1520. cmdothernpc "Timer#2008rwc_04" "on"
  1521. close
  1522. break
  1523. case 2
  1524. break
  1525. endchoose
  1526. break
  1527. case 3
  1528. var name = PcName
  1529. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  1530. choose menu "Finish" "Cancel"
  1531. case 1
  1532. warpallpcinthemap "2008rwc_r" 109 116
  1533. cmdothernpc "Timer#2008rwc_04" "off"
  1534. break
  1535. case 2
  1536. break
  1537. endchoose
  1538. break
  1539. case 4
  1540. dialog "The command has been canceled."
  1541. close
  1542. break
  1543. case 5
  1544. var mapcount_1
  1545. var mapcount_2
  1546. var mapcount_3
  1547. var mapcount_4
  1548. var mapcount_5
  1549. var mapcount_6
  1550. var mapcount_7
  1551. var mapcount_8
  1552. mapcount_1 = GetPCCount "2008rwc_01.gat"
  1553. mapcount_2 = GetPCCount "2008rwc_02.gat"
  1554. mapcount_3 = GetPCCount "2008rwc_03.gat"
  1555. mapcount_4 = GetPCCount "2008rwc_04.gat"
  1556. mapcount_5 = GetPCCount "2008rwc_05.gat"
  1557. mapcount_6 = GetPCCount "2008rwc_06.gat"
  1558. mapcount_7 = GetPCCount "2008rwc_07.gat"
  1559. mapcount_8 = GetPCCount "2008rwc_08.gat"
  1560. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  1561. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  1562. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  1563. dialog "^FF00002008rwc_04 : "+mapcount_4+"ppl^000000"
  1564. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  1565. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  1566. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  1567. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  1568. close
  1569. break
  1570. case 6
  1571. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  1572. cmdothernpc "warp_1#2008rwc_04" "on"
  1573. cmdothernpc "warp_2#2008rwc_04" "on"
  1574. cmdothernpc "warp_3#2008rwc_04" "on"
  1575. cmdothernpc "warp_4#2008rwc_04" "on"
  1576. cmdothernpc "warp_5#2008rwc_04" "on"
  1577. cmdothernpc "Timer#2008rwc_04" "off"
  1578. close
  1579. break
  1580. endchoose
  1581. npc "2008rwc_04" "Timer#2008rwc_04" 4_M_JOB_KNIGHT2 2 2 0 0 0
  1582. OnInit:
  1583. disablenpc "Timer#2008rwc_04"
  1584. return
  1585. OnCommand: "on"
  1586. enablenpc "Timer#2008rwc_04"
  1587. InitTimer
  1588. return
  1589. OnCommand: "off"
  1590. stoptimer
  1591. disablenpc "Timer#2008rwc_04"
  1592. return
  1593. OnTimer: 1000
  1594. broadcastinmap "======== 7 minutes have left. ========"
  1595. return
  1596. OnTimer: 61000
  1597. broadcastinmap "======== 6 minutes have left. ========"
  1598. return
  1599. OnTimer: 121000
  1600. broadcastinmap "======== 5 minutes have left. ========"
  1601. return
  1602. OnTimer: 181000
  1603. broadcastinmap "======== 4 minutes have left. ========"
  1604. return
  1605. OnTimer: 241000
  1606. broadcastinmap "======== 3 minutes have left. ========"
  1607. return
  1608. OnTimer: 301000
  1609. broadcastinmap "======== 2 minutes have left. ========"
  1610. return
  1611. OnTimer: 361000
  1612. broadcastinmap "======== 1 minutes have left. ========"
  1613. return
  1614. OnTimer: 391000
  1615. broadcastinmap "======== 30 seconds have left. ========"
  1616. return
  1617. OnTimer: 401000
  1618. broadcastinmap "======== 20 seconds have left. ========"
  1619. return
  1620. OnTimer: 411000
  1621. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  1622. return
  1623. OnTimer: 412000
  1624. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  1625. return
  1626. OnTimer: 413000
  1627. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  1628. return
  1629. OnTimer: 414000
  1630. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  1631. return
  1632. OnTimer: 415000
  1633. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  1634. return
  1635. OnTimer: 416000
  1636. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  1637. return
  1638. OnTimer: 417000
  1639. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  1640. return
  1641. OnTimer: 418000
  1642. broadcastinmap "■■■ 3 seconds have left. ■■■"
  1643. return
  1644. OnTimer: 419000
  1645. broadcastinmap "■■ 2 seconds have left. ■■"
  1646. return
  1647. OnTimer: 420000
  1648. broadcastinmap "■ 1 seconds have left. ■"
  1649. return
  1650. OnTimer: 421000
  1651. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  1652. warpallpcinthemap "2008rwc_r" 38 74
  1653. stoptimer
  1654. return
  1655. //-------------------------------(시작할때 막고있는)워프 -----------------------
  1656. hiddenwarp "2008rwc_04" "warp_1#2008rwc_04" 43 84 10 10
  1657. OnTouch:
  1658. moveto "2008rwc_04" 19 77
  1659. return
  1660. OnCommand: "on"
  1661. enablenpc "warp_1#2008rwc_04"
  1662. return
  1663. OnCommand: "off"
  1664. disablenpc "warp_1#2008rwc_04"
  1665. return
  1666. hiddenwarp "2008rwc_04" "warp_2#2008rwc_04" 20 62 10 10
  1667. OnTouch:
  1668. moveto "2008rwc_04" 19 77
  1669. return
  1670. OnCommand: "on"
  1671. enablenpc "warp_2#2008rwc_04"
  1672. return
  1673. OnCommand: "off"
  1674. disablenpc "warp_2#2008rwc_04"
  1675. return
  1676. hiddenwarp "2008rwc_04" "warp_3#2008rwc_04" 81 44 10 10
  1677. OnTouch:
  1678. moveto "2008rwc_04" 78 24
  1679. return
  1680. OnCommand: "on"
  1681. enablenpc "warp_3#2008rwc_04"
  1682. return
  1683. OnCommand: "off"
  1684. disablenpc "warp_3#2008rwc_04"
  1685. return
  1686. hiddenwarp "2008rwc_04" "warp_4#2008rwc_04" 57 31 10 10
  1687. OnTouch:
  1688. moveto "2008rwc_04" 78 24
  1689. return
  1690. OnCommand: "on"
  1691. enablenpc "warp_4#2008rwc_04"
  1692. return
  1693. OnCommand: "off"
  1694. disablenpc "warp_4#2008rwc_04"
  1695. return
  1696. hiddenwarp "2008rwc_04" "warp_5#2008rwc_04" 57 14 10 10
  1697. OnTouch:
  1698. moveto "2008rwc_04" 78 24
  1699. return
  1700. OnCommand: "on"
  1701. enablenpc "warp_5#2008rwc_04"
  1702. return
  1703. OnCommand: "off"
  1704. disablenpc "warp_5#2008rwc_04"
  1705. return
  1706. //-------------------------------------------
  1707. //--------------- 2008rwc_05 방 --------------
  1708. npc "2008rwc_05" "[GM]2008 RWC #2008rwc_05" 8W_SOLDIER 1 1 4 0 0
  1709. OnCommand: "end_2008rwc_05"
  1710. warpallpcinthemap "2008rwc_r" 38 74
  1711. return
  1712. OnClick:
  1713. dialog "[2008rwc_05.gat]"
  1714. dialog "Please select a menu."
  1715. wait
  1716. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  1717. case 1
  1718. dialog "Welcome to 2008 Ragnarok World Championship."
  1719. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  1720. wait
  1721. dialog "Please make sure to form a party with your guildsmen before the round starts."
  1722. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  1723. wait
  1724. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  1725. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  1726. wait
  1727. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  1728. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  1729. wait
  1730. dialog "The next announcement is for your information."
  1731. broadcastinmap "The next announcement is for your information."
  1732. wait
  1733. dialog "Please visit our website frequently, so that you can prepare for your next match."
  1734. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  1735. wait
  1736. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1737. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1738. wait
  1739. dialog "Are you ready?"
  1740. broadcastinmap "Are you ready?"
  1741. close
  1742. break
  1743. case 2
  1744. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  1745. choose menu "Start" "Cancel"
  1746. case 1
  1747. dialog "A round will be started shortly."
  1748. broadcastinmap "A round will be started shortly."
  1749. wait
  1750. cmdothernpc "warp_1#2008rwc_05" "off"
  1751. cmdothernpc "warp_2#2008rwc_05" "off"
  1752. cmdothernpc "warp_3#2008rwc_05" "off"
  1753. cmdothernpc "warp_4#2008rwc_05" "off"
  1754. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1755. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1756. cmdothernpc "Timer#2008rwc_05" "on"
  1757. close
  1758. break
  1759. case 2
  1760. break
  1761. endchoose
  1762. break
  1763. case 3
  1764. var name = PcName
  1765. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  1766. choose menu "Finish" "Cancel"
  1767. case 1
  1768. warpallpcinthemap "2008rwc_r" 73 68
  1769. cmdothernpc "Timer#2008rwc_05" "off"
  1770. break
  1771. case 2
  1772. break
  1773. endchoose
  1774. break
  1775. case 4
  1776. dialog "The command has been canceled."
  1777. close
  1778. break
  1779. case 5
  1780. var mapcount_1
  1781. var mapcount_2
  1782. var mapcount_3
  1783. var mapcount_4
  1784. var mapcount_5
  1785. var mapcount_6
  1786. var mapcount_7
  1787. var mapcount_8
  1788. mapcount_1 = GetPCCount "2008rwc_01.gat"
  1789. mapcount_2 = GetPCCount "2008rwc_02.gat"
  1790. mapcount_3 = GetPCCount "2008rwc_03.gat"
  1791. mapcount_4 = GetPCCount "2008rwc_04.gat"
  1792. mapcount_5 = GetPCCount "2008rwc_05.gat"
  1793. mapcount_6 = GetPCCount "2008rwc_06.gat"
  1794. mapcount_7 = GetPCCount "2008rwc_07.gat"
  1795. mapcount_8 = GetPCCount "2008rwc_08.gat"
  1796. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  1797. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  1798. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  1799. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  1800. dialog "^FF00002008rwc_05 : "+mapcount_5+"ppl^000000"
  1801. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  1802. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  1803. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  1804. close
  1805. break
  1806. case 6
  1807. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  1808. cmdothernpc "warp_1#2008rwc_05" "on"
  1809. cmdothernpc "warp_2#2008rwc_05" "on"
  1810. cmdothernpc "warp_3#2008rwc_05" "on"
  1811. cmdothernpc "warp_4#2008rwc_05" "on"
  1812. cmdothernpc "Timer#2008rwc_05" "off"
  1813. close
  1814. break
  1815. endchoose
  1816. npc "2008rwc_05" "Timer#2008rwc_05" 4_M_JOB_KNIGHT2 2 2 0 0 0
  1817. OnInit:
  1818. disablenpc "Timer#2008rwc_05"
  1819. return
  1820. OnCommand: "on"
  1821. enablenpc "Timer#2008rwc_05"
  1822. InitTimer
  1823. return
  1824. OnCommand: "off"
  1825. stoptimer
  1826. disablenpc "Timer#2008rwc_05"
  1827. return
  1828. OnTimer: 1000
  1829. broadcastinmap "======== 7 minutes have left. ========"
  1830. return
  1831. OnTimer: 61000
  1832. broadcastinmap "======== 6 minutes have left. ========"
  1833. return
  1834. OnTimer: 121000
  1835. broadcastinmap "======== 5 minutes have left. ========"
  1836. return
  1837. OnTimer: 181000
  1838. broadcastinmap "======== 4 minutes have left. ========"
  1839. return
  1840. OnTimer: 241000
  1841. broadcastinmap "======== 3 minutes have left. ========"
  1842. return
  1843. OnTimer: 301000
  1844. broadcastinmap "======== 2 minutes have left. ========"
  1845. return
  1846. OnTimer: 361000
  1847. broadcastinmap "======== 1 minutes have left. ========"
  1848. return
  1849. OnTimer: 391000
  1850. broadcastinmap "======== 30 seconds have left. ========"
  1851. return
  1852. OnTimer: 401000
  1853. broadcastinmap "======== 20 seconds have left. ========"
  1854. return
  1855. OnTimer: 411000
  1856. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  1857. return
  1858. OnTimer: 412000
  1859. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  1860. return
  1861. OnTimer: 413000
  1862. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  1863. return
  1864. OnTimer: 414000
  1865. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  1866. return
  1867. OnTimer: 415000
  1868. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  1869. return
  1870. OnTimer: 416000
  1871. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  1872. return
  1873. OnTimer: 417000
  1874. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  1875. return
  1876. OnTimer: 418000
  1877. broadcastinmap "■■■ 3 seconds have left. ■■■"
  1878. return
  1879. OnTimer: 419000
  1880. broadcastinmap "■■ 2 seconds have left. ■■"
  1881. return
  1882. OnTimer: 420000
  1883. broadcastinmap "■ 1 seconds have left. ■"
  1884. return
  1885. OnTimer: 421000
  1886. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  1887. warpallpcinthemap "2008rwc_r" 38 74
  1888. stoptimer
  1889. return
  1890. //-------------------------------(시작할때 막고있는)워프 -----------------------
  1891. hiddenwarp "2008rwc_05" "warp_1#2008rwc_05" 43 71 10 10
  1892. OnTouch:
  1893. moveto "2008rwc_05" 23 68
  1894. return
  1895. OnCommand: "on"
  1896. enablenpc "warp_1#2008rwc_05"
  1897. return
  1898. OnCommand: "off"
  1899. disablenpc "warp_1#2008rwc_05"
  1900. return
  1901. hiddenwarp "2008rwc_05" "warp_2#2008rwc_05" 36 70 10 10
  1902. OnTouch:
  1903. moveto "2008rwc_05" 23 68
  1904. return
  1905. OnCommand: "on"
  1906. enablenpc "warp_2#2008rwc_05"
  1907. return
  1908. OnCommand: "off"
  1909. disablenpc "warp_2#2008rwc_05"
  1910. return
  1911. hiddenwarp "2008rwc_05" "warp_3#2008rwc_05" 77 19 10 10
  1912. OnTouch:
  1913. moveto "2008rwc_05" 61 16
  1914. return
  1915. OnCommand: "on"
  1916. enablenpc "warp_3#2008rwc_05"
  1917. return
  1918. OnCommand: "off"
  1919. disablenpc "warp_3#2008rwc_05"
  1920. return
  1921. //hiddenwarp "2008rwc_05" "warp_4#2008rwc_05" 49 22 10 10
  1922. // OnTouch:
  1923. // moveto "2008rwc_05" 50 7
  1924. // return
  1925. //
  1926. // OnCommand: "on"
  1927. // enablenpc "warp_4#2008rwc_05"
  1928. // return
  1929. //
  1930. // OnCommand: "off"
  1931. // disablenpc "warp_4#2008rwc_05"
  1932. // return
  1933. //--------------- 2008rwc_06 방 --------------
  1934. npc "2008rwc_06" "[GM]2008 RWC #2008rwc_06" 8W_SOLDIER 1 1 4 0 0
  1935. OnCommand: "end_2008rwc_06"
  1936. warpallpcinthemap "2008rwc_r" 38 74
  1937. return
  1938. OnClick:
  1939. dialog "[2008rwc_06.gat]"
  1940. dialog "Please select a menu."
  1941. wait
  1942. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  1943. case 1
  1944. dialog "Welcome to 2008 Ragnarok World Championship."
  1945. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  1946. wait
  1947. dialog "Please make sure to form a party with your guildsmen before the round starts."
  1948. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  1949. wait
  1950. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  1951. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  1952. wait
  1953. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  1954. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  1955. wait
  1956. dialog "The next announcement is for your information."
  1957. broadcastinmap "The next announcement is for your information."
  1958. wait
  1959. dialog "Please visit our website frequently, so that you can prepare for your next match."
  1960. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  1961. wait
  1962. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1963. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  1964. wait
  1965. dialog "Are you ready?"
  1966. broadcastinmap "Are you ready?"
  1967. close
  1968. break
  1969. case 2
  1970. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  1971. choose menu "Start" "Cancel"
  1972. case 1
  1973. dialog "A round will be started shortly."
  1974. broadcastinmap "A round will be started shortly."
  1975. wait
  1976. cmdothernpc "warp_1#2008rwc_06" "off"
  1977. cmdothernpc "warp_2#2008rwc_06" "off"
  1978. cmdothernpc "warp_3#2008rwc_06" "off"
  1979. //cmdothernpc "warp_4#2008rwc_06" "off"
  1980. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1981. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  1982. cmdothernpc "Timer#2008rwc_06" "on"
  1983. close
  1984. break
  1985. case 2
  1986. break
  1987. endchoose
  1988. break
  1989. case 3
  1990. var name = PcName
  1991. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  1992. choose menu "Finish" "Cancel"
  1993. case 1
  1994. warpallpcinthemap "2008rwc_r" 109 68
  1995. cmdothernpc "Timer#2008rwc_06" "off"
  1996. break
  1997. case 2
  1998. break
  1999. endchoose
  2000. break
  2001. case 4
  2002. dialog "The command has been canceled."
  2003. close
  2004. break
  2005. case 5
  2006. var mapcount_1
  2007. var mapcount_2
  2008. var mapcount_3
  2009. var mapcount_4
  2010. var mapcount_5
  2011. var mapcount_6
  2012. var mapcount_7
  2013. var mapcount_8
  2014. mapcount_1 = GetPCCount "2008rwc_01.gat"
  2015. mapcount_2 = GetPCCount "2008rwc_02.gat"
  2016. mapcount_3 = GetPCCount "2008rwc_03.gat"
  2017. mapcount_4 = GetPCCount "2008rwc_04.gat"
  2018. mapcount_5 = GetPCCount "2008rwc_05.gat"
  2019. mapcount_6 = GetPCCount "2008rwc_06.gat"
  2020. mapcount_7 = GetPCCount "2008rwc_07.gat"
  2021. mapcount_8 = GetPCCount "2008rwc_08.gat"
  2022. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  2023. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  2024. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  2025. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  2026. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  2027. dialog "^FF00002008rwc_06 : "+mapcount_6+"ppl^000000"
  2028. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  2029. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  2030. close
  2031. break
  2032. case 6
  2033. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  2034. cmdothernpc "warp_1#2008rwc_06" "on"
  2035. cmdothernpc "warp_2#2008rwc_06" "on"
  2036. cmdothernpc "warp_3#2008rwc_06" "on"
  2037. //cmdothernpc "warp_4#2008rwc_06" "on"
  2038. cmdothernpc "Timer#2008rwc_06" "off"
  2039. close
  2040. break
  2041. endchoose
  2042. npc "2008rwc_06" "Timer#2008rwc_06" 4_M_JOB_KNIGHT2 2 2 0 0 0
  2043. OnInit:
  2044. disablenpc "Timer#2008rwc_06"
  2045. return
  2046. OnCommand: "on"
  2047. enablenpc "Timer#2008rwc_06"
  2048. InitTimer
  2049. return
  2050. OnCommand: "off"
  2051. stoptimer
  2052. disablenpc "Timer#2008rwc_06"
  2053. return
  2054. OnTimer: 1000
  2055. broadcastinmap "======== 7 minutes have left. ========"
  2056. return
  2057. OnTimer: 61000
  2058. broadcastinmap "======== 6 minutes have left. ========"
  2059. return
  2060. OnTimer: 121000
  2061. broadcastinmap "======== 5 minutes have left. ========"
  2062. return
  2063. OnTimer: 181000
  2064. broadcastinmap "======== 4 minutes have left. ========"
  2065. return
  2066. OnTimer: 241000
  2067. broadcastinmap "======== 3 minutes have left. ========"
  2068. return
  2069. OnTimer: 301000
  2070. broadcastinmap "======== 2 minutes have left. ========"
  2071. return
  2072. OnTimer: 361000
  2073. broadcastinmap "======== 1 minutes have left. ========"
  2074. return
  2075. OnTimer: 391000
  2076. broadcastinmap "======== 30 seconds have left. ========"
  2077. return
  2078. OnTimer: 401000
  2079. broadcastinmap "======== 20 seconds have left. ========"
  2080. return
  2081. OnTimer: 411000
  2082. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  2083. return
  2084. OnTimer: 412000
  2085. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  2086. return
  2087. OnTimer: 413000
  2088. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  2089. return
  2090. OnTimer: 414000
  2091. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  2092. return
  2093. OnTimer: 415000
  2094. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  2095. return
  2096. OnTimer: 416000
  2097. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  2098. return
  2099. OnTimer: 417000
  2100. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  2101. return
  2102. OnTimer: 418000
  2103. broadcastinmap "■■■ 3 seconds have left. ■■■"
  2104. return
  2105. OnTimer: 419000
  2106. broadcastinmap "■■ 2 seconds have left. ■■"
  2107. return
  2108. OnTimer: 420000
  2109. broadcastinmap "■ 1 seconds have left. ■"
  2110. return
  2111. OnTimer: 421000
  2112. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  2113. warpallpcinthemap "2008rwc_r" 38 74
  2114. stoptimer
  2115. return
  2116. //-------------------------------(시작할때 막고있는)워프 -----------------------
  2117. hiddenwarp "2008rwc_06" "warp_1#2008rwc_06" 33 80 10 10
  2118. OnTouch:
  2119. moveto "2008rwc_06" 18 78
  2120. return
  2121. OnCommand: "on"
  2122. enablenpc "warp_1#2008rwc_06"
  2123. return
  2124. OnCommand: "off"
  2125. disablenpc "warp_1#2008rwc_06"
  2126. return
  2127. hiddenwarp "2008rwc_06" "warp_2#2008rwc_06" 33 73 10 10
  2128. OnTouch:
  2129. moveto "2008rwc_06" 18 78
  2130. return
  2131. OnCommand: "on"
  2132. enablenpc "warp_2#2008rwc_06"
  2133. return
  2134. OnCommand: "off"
  2135. disablenpc "warp_2#2008rwc_06"
  2136. return
  2137. hiddenwarp "2008rwc_06" "warp_3#2008rwc_06" 62 16 10 10
  2138. OnTouch:
  2139. moveto "2008rwc_06" 77 18
  2140. return
  2141. OnCommand: "on"
  2142. enablenpc "warp_3#2008rwc_06"
  2143. return
  2144. OnCommand: "off"
  2145. disablenpc "warp_3#2008rwc_06"
  2146. return
  2147. //hiddenwarp "2008rwc_06" "warp_4#2008rwc_06" 49 22 10 10
  2148. // OnTouch:
  2149. // moveto "2008rwc_06" 50 7
  2150. // return
  2151. //
  2152. // OnCommand: "on"
  2153. // enablenpc "warp_4#2008rwc_06"
  2154. // return
  2155. //
  2156. // OnCommand: "off"
  2157. // disablenpc "warp_4#2008rwc_06"
  2158. // return
  2159. //-------------------------------------------
  2160. //--------------- 2008rwc_07 방 --------------
  2161. npc "2008rwc_07" "[GM]2008 RWC #2008rwc_07" 8W_SOLDIER 1 1 4 0 0
  2162. OnCommand: "end_2008rwc_07"
  2163. warpallpcinthemap "2008rwc_r" 38 74
  2164. return
  2165. OnClick:
  2166. dialog "[2008rwc_07.gat]"
  2167. dialog "Please select a menu."
  2168. wait
  2169. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  2170. case 1
  2171. dialog "Welcome to 2008 Ragnarok World Championship."
  2172. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  2173. wait
  2174. dialog "Please make sure to form a party with your guildsmen before the round starts."
  2175. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  2176. wait
  2177. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  2178. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  2179. wait
  2180. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  2181. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  2182. wait
  2183. dialog "The next announcement is for your information."
  2184. broadcastinmap "The next announcement is for your information."
  2185. wait
  2186. dialog "Please visit our website frequently, so that you can prepare for your next match."
  2187. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  2188. wait
  2189. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  2190. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  2191. wait
  2192. dialog "Are you ready?"
  2193. broadcastinmap "Are you ready?"
  2194. close
  2195. break
  2196. case 2
  2197. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  2198. choose menu "Start" "Cancel"
  2199. case 1
  2200. dialog "A round will be started shortly."
  2201. broadcastinmap "A round will be started shortly."
  2202. wait
  2203. cmdothernpc "warp_1#2008rwc_07" "off"
  2204. cmdothernpc "warp_2#2008rwc_07" "off"
  2205. cmdothernpc "warp_3#2008rwc_07" "off"
  2206. cmdothernpc "warp_4#2008rwc_07" "off"
  2207. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2208. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2209. cmdothernpc "Timer#2008rwc_07" "on"
  2210. close
  2211. break
  2212. case 2
  2213. break
  2214. endchoose
  2215. break
  2216. case 3
  2217. var name = PcName
  2218. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  2219. choose menu "Finish" "Cancel"
  2220. case 1
  2221. warpallpcinthemap "2008rwc_r" 73 22
  2222. cmdothernpc "Timer#2008rwc_07" "off"
  2223. break
  2224. case 2
  2225. break
  2226. endchoose
  2227. break
  2228. case 4
  2229. dialog "The command has been canceled."
  2230. close
  2231. break
  2232. case 5
  2233. var mapcount_1
  2234. var mapcount_2
  2235. var mapcount_3
  2236. var mapcount_4
  2237. var mapcount_5
  2238. var mapcount_6
  2239. var mapcount_7
  2240. var mapcount_8
  2241. mapcount_1 = GetPCCount "2008rwc_01.gat"
  2242. mapcount_2 = GetPCCount "2008rwc_02.gat"
  2243. mapcount_3 = GetPCCount "2008rwc_03.gat"
  2244. mapcount_4 = GetPCCount "2008rwc_04.gat"
  2245. mapcount_5 = GetPCCount "2008rwc_05.gat"
  2246. mapcount_6 = GetPCCount "2008rwc_06.gat"
  2247. mapcount_7 = GetPCCount "2008rwc_07.gat"
  2248. mapcount_8 = GetPCCount "2008rwc_08.gat"
  2249. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  2250. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  2251. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  2252. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  2253. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  2254. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  2255. dialog "^FF00002008rwc_07 : "+mapcount_7+"ppl^000000"
  2256. dialog "2008rwc_08 : "+mapcount_8+"ppl"
  2257. close
  2258. break
  2259. case 6
  2260. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  2261. cmdothernpc "warp_1#2008rwc_07" "on"
  2262. cmdothernpc "warp_2#2008rwc_07" "on"
  2263. cmdothernpc "warp_3#2008rwc_07" "on"
  2264. cmdothernpc "warp_4#2008rwc_07" "on"
  2265. cmdothernpc "Timer#2008rwc_07" "off"
  2266. close
  2267. break
  2268. endchoose
  2269. npc "2008rwc_07" "Timer#2008rwc_07" 4_M_JOB_KNIGHT2 2 2 0 0 0
  2270. OnInit:
  2271. disablenpc "Timer#2008rwc_07"
  2272. return
  2273. OnCommand: "on"
  2274. enablenpc "Timer#2008rwc_07"
  2275. InitTimer
  2276. return
  2277. OnCommand: "off"
  2278. stoptimer
  2279. disablenpc "Timer#2008rwc_07"
  2280. return
  2281. OnTimer: 1000
  2282. broadcastinmap "======== 7 minutes have left. ========"
  2283. return
  2284. OnTimer: 61000
  2285. broadcastinmap "======== 6 minutes have left. ========"
  2286. return
  2287. OnTimer: 121000
  2288. broadcastinmap "======== 5 minutes have left. ========"
  2289. return
  2290. OnTimer: 181000
  2291. broadcastinmap "======== 4 minutes have left. ========"
  2292. return
  2293. OnTimer: 241000
  2294. broadcastinmap "======== 3 minutes have left. ========"
  2295. return
  2296. OnTimer: 301000
  2297. broadcastinmap "======== 2 minutes have left. ========"
  2298. return
  2299. OnTimer: 361000
  2300. broadcastinmap "======== 1 minutes have left. ========"
  2301. return
  2302. OnTimer: 391000
  2303. broadcastinmap "======== 30 seconds have left. ========"
  2304. return
  2305. OnTimer: 401000
  2306. broadcastinmap "======== 20 seconds have left. ========"
  2307. return
  2308. OnTimer: 411000
  2309. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  2310. return
  2311. OnTimer: 412000
  2312. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  2313. return
  2314. OnTimer: 413000
  2315. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  2316. return
  2317. OnTimer: 414000
  2318. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  2319. return
  2320. OnTimer: 415000
  2321. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  2322. return
  2323. OnTimer: 416000
  2324. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  2325. return
  2326. OnTimer: 417000
  2327. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  2328. return
  2329. OnTimer: 418000
  2330. broadcastinmap "■■■ 3 seconds have left. ■■■"
  2331. return
  2332. OnTimer: 419000
  2333. broadcastinmap "■■ 2 seconds have left. ■■"
  2334. return
  2335. OnTimer: 420000
  2336. broadcastinmap "■ 1 seconds have left. ■"
  2337. return
  2338. OnTimer: 421000
  2339. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  2340. warpallpcinthemap "2008rwc_r" 38 74
  2341. stoptimer
  2342. return
  2343. //-------------------------------(시작할때 막고있는)워프 -----------------------
  2344. hiddenwarp "2008rwc_07" "warp_1#2008rwc_07" 24 40 10 10
  2345. OnTouch:
  2346. moveto "2008rwc_07" 19 20
  2347. return
  2348. OnCommand: "on"
  2349. enablenpc "warp_1#2008rwc_07"
  2350. return
  2351. OnCommand: "off"
  2352. disablenpc "warp_1#2008rwc_07"
  2353. return
  2354. hiddenwarp "2008rwc_07" "warp_2#2008rwc_07" 42 19 10 10
  2355. OnTouch:
  2356. moveto "2008rwc_07" 19 20
  2357. return
  2358. OnCommand: "on"
  2359. enablenpc "warp_2#2008rwc_07"
  2360. return
  2361. OnCommand: "off"
  2362. disablenpc "warp_2#2008rwc_07"
  2363. return
  2364. hiddenwarp "2008rwc_07" "warp_3#2008rwc_07" 57 81 10 10
  2365. OnTouch:
  2366. moveto "2008rwc_07" 83 82
  2367. return
  2368. OnCommand: "on"
  2369. enablenpc "warp_3#2008rwc_07"
  2370. return
  2371. OnCommand: "off"
  2372. disablenpc "warp_3#2008rwc_07"
  2373. return
  2374. hiddenwarp "2008rwc_07" "warp_4#2008rwc_07" 57 64 10 10
  2375. OnTouch:
  2376. moveto "2008rwc_07" 83 82
  2377. return
  2378. OnCommand: "on"
  2379. enablenpc "warp_4#2008rwc_07"
  2380. return
  2381. OnCommand: "off"
  2382. disablenpc "warp_4#2008rwc_07"
  2383. return
  2384. //-------------------------------------------
  2385. //--------------- 2008rwc_08 방 --------------
  2386. npc "2008rwc_08" "[GM]2008 RWC #2008rwc_08" 8W_SOLDIER 1 1 4 0 0
  2387. OnCommand: "end_2008rwc_08"
  2388. warpallpcinthemap "2008rwc_r" 38 74
  2389. return
  2390. OnClick:
  2391. dialog "[2008rwc_08.gat]"
  2392. dialog "Please select a menu."
  2393. wait
  2394. choose menu "Broadcast" "Round start" "Round finish" "No" "Check numbers of participant" "Set as immobile (Round preparation)"
  2395. case 1
  2396. dialog "Welcome to 2008 Ragnarok World Championship."
  2397. broadcastinmap "Welcome to 2008 Ragnarok World Championship."
  2398. wait
  2399. dialog "Please make sure to form a party with your guildsmen before the round starts."
  2400. broadcastinmap "Please make sure to form a party with your guildsmen before the round starts."
  2401. wait
  2402. dialog "The round will be over if you successfully defeat all the opponent guildsmen."
  2403. broadcastinmap "The round will be over if you successfully defeat all the opponent guildsmen."
  2404. wait
  2405. dialog "When the round starts, 7 minute timer will appear on the top of your screen."
  2406. broadcastinmap "When the round starts, 7 minute timer will appear on the top of your screen."
  2407. wait
  2408. dialog "The next announcement is for your information."
  2409. broadcastinmap "The next announcement is for your information."
  2410. wait
  2411. dialog "Please visit our website frequently, so that you can prepare for your next match."
  2412. broadcastinmap "Please visit our website frequently, so that you can prepare for your next match."
  2413. wait
  2414. dialog "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  2415. broadcastinmap "Now, please remember, you cannot move to the arena until the round start is announced. Everyone, please stand in you battle formation."
  2416. wait
  2417. dialog "Are you ready?"
  2418. broadcastinmap "Are you ready?"
  2419. close
  2420. break
  2421. case 2
  2422. dialog "This is to start a round. The warp portals will be removed, and the round timer will be activated."
  2423. choose menu "Start" "Cancel"
  2424. case 1
  2425. dialog "A round will be started shortly."
  2426. broadcastinmap "A round will be started shortly."
  2427. wait
  2428. cmdothernpc "warp_1#2008rwc_08" "off"
  2429. cmdothernpc "warp_2#2008rwc_08" "off"
  2430. cmdothernpc "warp_3#2008rwc_08" "off"
  2431. cmdothernpc "warp_4#2008rwc_08" "off"
  2432. cmdothernpc "warp_5#2008rwc_08" "off"
  2433. dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2434. broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2435. cmdothernpc "Timer#2008rwc_08" "on"
  2436. close
  2437. break
  2438. case 2
  2439. break
  2440. endchoose
  2441. break
  2442. case 3
  2443. var name = PcName
  2444. dialog "This is to finish a round. Every player on the map including "+name+" will be moved to 2008rwc_r.gat, and the timer will be stopped."
  2445. choose menu "Finish" "Cancel"
  2446. case 1
  2447. warpallpcinthemap "2008rwc_r" 109 22
  2448. cmdothernpc "Timer#2008rwc_08" "off"
  2449. break
  2450. case 2
  2451. break
  2452. endchoose
  2453. break
  2454. case 4
  2455. dialog "The command has been canceled."
  2456. close
  2457. break
  2458. case 5
  2459. var mapcount_1
  2460. var mapcount_2
  2461. var mapcount_3
  2462. var mapcount_4
  2463. var mapcount_5
  2464. var mapcount_6
  2465. var mapcount_7
  2466. var mapcount_8
  2467. mapcount_1 = GetPCCount "2008rwc_01.gat"
  2468. mapcount_2 = GetPCCount "2008rwc_02.gat"
  2469. mapcount_3 = GetPCCount "2008rwc_03.gat"
  2470. mapcount_4 = GetPCCount "2008rwc_04.gat"
  2471. mapcount_5 = GetPCCount "2008rwc_05.gat"
  2472. mapcount_6 = GetPCCount "2008rwc_06.gat"
  2473. mapcount_7 = GetPCCount "2008rwc_07.gat"
  2474. mapcount_8 = GetPCCount "2008rwc_08.gat"
  2475. dialog "2008rwc_01 : "+mapcount_1+"ppl"
  2476. dialog "2008rwc_02 : "+mapcount_2+"ppl"
  2477. dialog "2008rwc_03 : "+mapcount_3+"ppl"
  2478. dialog "2008rwc_04 : "+mapcount_4+"ppl"
  2479. dialog "2008rwc_05 : "+mapcount_5+"ppl"
  2480. dialog "2008rwc_06 : "+mapcount_6+"ppl"
  2481. dialog "2008rwc_07 : "+mapcount_7+"ppl"
  2482. dialog "^FF00002008rwc_08 : "+mapcount_8+"ppl^000000"
  2483. close
  2484. break
  2485. case 6
  2486. dialog "This is to prepare a new round. The warp portals will be activated, and the timer will be stopped."
  2487. cmdothernpc "warp_1#2008rwc_08" "on"
  2488. cmdothernpc "warp_2#2008rwc_08" "on"
  2489. cmdothernpc "warp_3#2008rwc_08" "on"
  2490. cmdothernpc "warp_4#2008rwc_08" "on"
  2491. cmdothernpc "warp_5#2008rwc_08" "on"
  2492. cmdothernpc "Timer#2008rwc_08" "off"
  2493. close
  2494. break
  2495. endchoose
  2496. npc "2008rwc_08" "Timer#2008rwc_08" 4_M_JOB_KNIGHT2 2 2 0 0 0
  2497. OnInit:
  2498. disablenpc "Timer#2008rwc_08"
  2499. return
  2500. OnCommand: "on"
  2501. enablenpc "Timer#2008rwc_08"
  2502. InitTimer
  2503. return
  2504. OnCommand: "off"
  2505. stoptimer
  2506. disablenpc "Timer#2008rwc_08"
  2507. return
  2508. OnTimer: 1000
  2509. broadcastinmap "======== 7 minutes have left. ========"
  2510. return
  2511. OnTimer: 61000
  2512. broadcastinmap "======== 6 minutes have left. ========"
  2513. return
  2514. OnTimer: 121000
  2515. broadcastinmap "======== 5 minutes have left. ========"
  2516. return
  2517. OnTimer: 181000
  2518. broadcastinmap "======== 4 minutes have left. ========"
  2519. return
  2520. OnTimer: 241000
  2521. broadcastinmap "======== 3 minutes have left. ========"
  2522. return
  2523. OnTimer: 301000
  2524. broadcastinmap "======== 2 minutes have left. ========"
  2525. return
  2526. OnTimer: 361000
  2527. broadcastinmap "======== 1 minutes have left. ========"
  2528. return
  2529. OnTimer: 391000
  2530. broadcastinmap "======== 30 seconds have left. ========"
  2531. return
  2532. OnTimer: 401000
  2533. broadcastinmap "======== 20 seconds have left. ========"
  2534. return
  2535. OnTimer: 411000
  2536. broadcastinmap "■■■■■■■■■■ 10 seconds have left. ■■■■■■■■■■"
  2537. return
  2538. OnTimer: 412000
  2539. broadcastinmap "■■■■■■■■■ 9 seconds have left. ■■■■■■■■■"
  2540. return
  2541. OnTimer: 413000
  2542. broadcastinmap "■■■■■■■■ 8 seconds have left. ■■■■■■■■"
  2543. return
  2544. OnTimer: 414000
  2545. broadcastinmap "■■■■■■■ 7 seconds have left. ■■■■■■■"
  2546. return
  2547. OnTimer: 415000
  2548. broadcastinmap "■■■■■■ 6 seconds have left. ■■■■■■"
  2549. return
  2550. OnTimer: 416000
  2551. broadcastinmap "■■■■■ 5 seconds have left. ■■■■■"
  2552. return
  2553. OnTimer: 417000
  2554. broadcastinmap "■■■■ 4 seconds have left. ■■■■"
  2555. return
  2556. OnTimer: 418000
  2557. broadcastinmap "■■■ 3 seconds have left. ■■■"
  2558. return
  2559. OnTimer: 419000
  2560. broadcastinmap "■■ 2 seconds have left. ■■"
  2561. return
  2562. OnTimer: 420000
  2563. broadcastinmap "■ 1 seconds have left. ■"
  2564. return
  2565. OnTimer: 421000
  2566. broadcastinmap "= The round is over. Everyone will be moved out of the arena. ="
  2567. warpallpcinthemap "2008rwc_r" 38 74
  2568. stoptimer
  2569. return
  2570. //-------------------------------(시작할때 막고있는)워프 -----------------------
  2571. hiddenwarp "2008rwc_08" "warp_1#2008rwc_08" 43 84 10 10
  2572. OnTouch:
  2573. moveto "2008rwc_08" 19 77
  2574. return
  2575. OnCommand: "on"
  2576. enablenpc "warp_1#2008rwc_08"
  2577. return
  2578. OnCommand: "off"
  2579. disablenpc "warp_1#2008rwc_08"
  2580. return
  2581. hiddenwarp "2008rwc_08" "warp_2#2008rwc_08" 20 62 10 10
  2582. OnTouch:
  2583. moveto "2008rwc_08" 19 77
  2584. return
  2585. OnCommand: "on"
  2586. enablenpc "warp_2#2008rwc_08"
  2587. return
  2588. OnCommand: "off"
  2589. disablenpc "warp_2#2008rwc_08"
  2590. return
  2591. hiddenwarp "2008rwc_08" "warp_3#2008rwc_08" 81 44 10 10
  2592. OnTouch:
  2593. moveto "2008rwc_08" 78 24
  2594. return
  2595. OnCommand: "on"
  2596. enablenpc "warp_3#2008rwc_08"
  2597. return
  2598. OnCommand: "off"
  2599. disablenpc "warp_3#2008rwc_08"
  2600. return
  2601. hiddenwarp "2008rwc_08" "warp_4#2008rwc_08" 57 31 10 10
  2602. OnTouch:
  2603. moveto "2008rwc_08" 78 24
  2604. return
  2605. OnCommand: "on"
  2606. enablenpc "warp_4#2008rwc_08"
  2607. return
  2608. OnCommand: "off"
  2609. disablenpc "warp_4#2008rwc_08"
  2610. return
  2611. hiddenwarp "2008rwc_08" "warp_5#2008rwc_08" 57 14 10 10
  2612. OnTouch:
  2613. moveto "2008rwc_08" 78 24
  2614. return
  2615. OnCommand: "on"
  2616. enablenpc "warp_5#2008rwc_08"
  2617. return
  2618. OnCommand: "off"
  2619. disablenpc "warp_5#2008rwc_08"
  2620. return
  2621. //-------------------------------------------
  2622. //--------------- 2008rwc_f01 방 --------------
  2623. //npc "2008rwc_f01" "[GM]2008 RWC #2008rwc_f01" 8W_SOLDIER 1 1 4 0 0
  2624. //OnCommand: "end_2008rwc_f01"
  2625. // warpallpcinthemap "2008rwc_r" 38 74
  2626. //return
  2627. //OnClick:
  2628. // dialog "[2008rwc_f01.gat]"
  2629. // dialog "메뉴를 선택하세요."
  2630. // wait
  2631. // choose menu "방송" "대전시작" "대전종료" "취소" "인원확인" "이동 불가로 만들기(대전준비)"
  2632. // case 1
  2633. // dialog "안녕하세요. PC방 2008 RWC 에 참가해 주셔서 감사합니다."
  2634. // broadcastinmap "안녕하세요. PC방 2008 RWC 에 참가해 주셔서 감사합니다."
  2635. // wait
  2636. // dialog "길드 여러분께서는 꼭 파티를 맺어주시기 바라며"
  2637. // broadcastinmap "길드 여러분께서는 꼭 파티를 맺어주시기 바라며"
  2638. // wait
  2639. // dialog "상대길드가 모두 죽었을 시 대전이 종료 됨을 알려드립니다."
  2640. // broadcastinmap "상대길드가 모두 죽었을 시 대전이 종료 됨을 알려드립니다."
  2641. // wait
  2642. // dialog "대전 시작과 함께 화면위에 7분 카운트됩니다."
  2643. // broadcastinmap "대전 시작과 함께 화면위에 7분 카운트됩니다."
  2644. // wait
  2645. // dialog "참고로 길드 여러분께서는 항상 홈페이지를 확인하셔서"
  2646. // broadcastinmap "참고로 길드 여러분께서는 항상 홈페이지를 확인하셔서 "
  2647. // wait
  2648. // dialog "다음 경기를 준비하여 주시기 바랍니다."
  2649. // broadcastinmap "다음 경기를 준비하여 주시기 바랍니다."
  2650. // wait
  2651. // dialog "대전 시작 전까지는 경기장으로 향하실 수 없음을 알려드립니다. 전원 전투대형을 갖추십시오."
  2652. // broadcastinmap "대전 시작 전까지는 경기장으로 향하실 수 없음을 알려드립니다. 전원 전투대형을 갖추십시오."
  2653. // wait
  2654. // dialog "준비되셨나요?"
  2655. // broadcastinmap "준비되셨나요?"
  2656. // close
  2657. // break
  2658. // case 2
  2659. // dialog "대전의 시작입니다. 워프가 제거되고 타이머가 작동시작합니다."
  2660. // choose menu "시작" "취소"
  2661. // case 1
  2662. // dialog "그럼, 대전을 시작합니다."
  2663. // broadcastinmap "그럼, 대전을 시작합니다."
  2664. // wait
  2665. // cmdothernpc "warp_1#2008rwc_f01" "off"
  2666. // cmdothernpc "warp_2#2008rwc_f01" "off"
  2667. // cmdothernpc "warp_3#2008rwc_f01" "off"
  2668. // cmdothernpc "warp_4#2008rwc_f01" "off"
  2669. // dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2670. // broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2671. // cmdothernpc "Timer#2008rwc_f01" "on"
  2672. // close
  2673. // break
  2674. // case 2
  2675. // break
  2676. // endchoose
  2677. // break
  2678. // case 3
  2679. // var name = PcName
  2680. // dialog "대전의 종료입니다. 맵상의 모든 플레이어("+name+"도 포함)들이 2008rwc_r.gat 으로 이동합니다. 타이머도 멈춥니다."
  2681. // choose menu "종료" "취소"
  2682. // case 1
  2683. // warpallpcinthemap "2008rwc_r" 73 162
  2684. // cmdothernpc "Timer#2008rwc_f01" "off"
  2685. // break
  2686. // case 2
  2687. // break
  2688. // endchoose
  2689. // break
  2690. // case 4
  2691. // dialog "취소합니다."
  2692. // close
  2693. // break
  2694. // case 5
  2695. // var mapcount_1
  2696. // var mapcount_2
  2697. // var mapcount_3
  2698. // var mapcount_4
  2699. // var mapcount_5
  2700. // var mapcount_6
  2701. // var mapcount_7
  2702. // var mapcount_8
  2703. // mapcount_1 = GetPCCount "2008rwc_f01.gat"
  2704. // mapcount_2 = GetPCCount "2008rwc_02.gat"
  2705. // mapcount_3 = GetPCCount "2008rwc_03.gat"
  2706. // mapcount_4 = GetPCCount "2008rwc_04.gat"
  2707. // mapcount_5 = GetPCCount "2008rwc_05.gat"
  2708. // mapcount_6 = GetPCCount "2008rwc_06.gat"
  2709. // mapcount_7 = GetPCCount "2008rwc_07.gat"
  2710. // mapcount_8 = GetPCCount "2008rwc_08.gat"
  2711. // dialog "^FF00002008rwc_f01 : "+mapcount_1+"명^000000"
  2712. // dialog "2008rwc_02 : "+mapcount_2+"명"
  2713. // dialog "2008rwc_03 : "+mapcount_3+"명"
  2714. // dialog "2008rwc_04 : "+mapcount_4+"명"
  2715. // dialog "2008rwc_05 : "+mapcount_5+"명"
  2716. // dialog "2008rwc_06 : "+mapcount_6+"명"
  2717. // dialog "2008rwc_07 : "+mapcount_7+"명"
  2718. // dialog "2008rwc_08 : "+mapcount_8+"명"
  2719. // close
  2720. // break
  2721. // case 6
  2722. // dialog "대전 준비입니다. 워프가 재 생성되고 타이머가 멈춥니다."
  2723. // cmdothernpc "warp_1#2008rwc_f01" "on"
  2724. // cmdothernpc "warp_2#2008rwc_f01" "on"
  2725. // cmdothernpc "warp_3#2008rwc_f01" "on"
  2726. // cmdothernpc "warp_4#2008rwc_f01" "on"
  2727. // cmdothernpc "Timer#2008rwc_f01" "off"
  2728. // close
  2729. // break
  2730. // endchoose
  2731. //
  2732. //npc "2008rwc_f01" "Timer#2008rwc_f01" 4_M_JOB_KNIGHT2 2 2 0 0 0
  2733. // OnInit:
  2734. // disablenpc "Timer#2008rwc_f01"
  2735. // return
  2736. //
  2737. // OnCommand: "on"
  2738. // enablenpc "Timer#2008rwc_f01"
  2739. // InitTimer
  2740. // return
  2741. // OnCommand: "off"
  2742. // stoptimer
  2743. // disablenpc "Timer#2008rwc_f01"
  2744. // return
  2745. //
  2746. // OnTimer: 1000
  2747. // broadcastinmap "======== 7분 남았습니다. ========"
  2748. // return
  2749. // OnTimer: 61000
  2750. // broadcastinmap "======== 6 분 남았습니다. ========"
  2751. // return
  2752. // OnTimer: 121000
  2753. // broadcastinmap "======== 5 분 남았습니다. ========"
  2754. // return
  2755. // OnTimer: 181000
  2756. // broadcastinmap "======== 4 분 남았습니다. ========"
  2757. // return
  2758. // OnTimer: 241000
  2759. // broadcastinmap "======== 3 분 남았습니다. ========"
  2760. // return
  2761. // OnTimer: 301000
  2762. // broadcastinmap "======== 2 분 남았습니다. ========"
  2763. // return
  2764. // OnTimer: 361000
  2765. // broadcastinmap "======== 1 분 남았습니다. ========"
  2766. // return
  2767. // OnTimer: 391000
  2768. // broadcastinmap "======== 30 초 남았습니다. ========"
  2769. // return
  2770. // OnTimer: 401000
  2771. // broadcastinmap "======== 20 초 남았습니다. ========"
  2772. // return
  2773. // OnTimer: 411000
  2774. // broadcastinmap "■■■■■■■■■■ 10 초 남았습니다. ■■■■■■■■■■"
  2775. // return
  2776. // OnTimer: 412000
  2777. // broadcastinmap "■■■■■■■■■ 9 초 남았습니다. ■■■■■■■■■"
  2778. // return
  2779. // OnTimer: 413000
  2780. // broadcastinmap "■■■■■■■■ 8 초 남았습니다. ■■■■■■■■"
  2781. // return
  2782. // OnTimer: 414000
  2783. // broadcastinmap "■■■■■■■ 7 초 남았습니다. ■■■■■■■"
  2784. // return
  2785. // OnTimer: 415000
  2786. // broadcastinmap "■■■■■■ 6 초 남았습니다. ■■■■■■"
  2787. // return
  2788. // OnTimer: 416000
  2789. // broadcastinmap "■■■■■ 5 초 남았습니다. ■■■■■"
  2790. // return
  2791. // OnTimer: 417000
  2792. // broadcastinmap "■■■■ 4 초 남았습니다. ■■■■"
  2793. // return
  2794. // OnTimer: 418000
  2795. // broadcastinmap "■■■ 3 초 남았습니다. ■■■"
  2796. // return
  2797. // OnTimer: 419000
  2798. // broadcastinmap "■■ 2 초 남았습니다. ■■"
  2799. // return
  2800. // OnTimer: 420000
  2801. // broadcastinmap "■ 1 초 남았습니다. ■"
  2802. // return
  2803. // OnTimer: 421000
  2804. // broadcastinmap "■ 대전 종료..모두 이동됩니다. ■"
  2805. // warpallpcinthemap "2008rwc_r" 38 74
  2806. // stoptimer
  2807. // return
  2808. //
  2809. //-------------------------------(시작할때 막고있는)워프 -----------------------
  2810. //hiddenwarp "2008rwc_f01" "warp_1#2008rwc_f01" 59 111 10 10
  2811. // OnTouch:
  2812. // moveto "2008rwc_f01" 53 128
  2813. // return
  2814. //
  2815. // OnCommand: "on"
  2816. // enablenpc "warp_1#2008rwc_f01"
  2817. // return
  2818. //
  2819. // OnCommand: "off"
  2820. // disablenpc "warp_1#2008rwc_f01"
  2821. // return
  2822. //
  2823. //hiddenwarp "2008rwc_f01" "warp_2#2008rwc_f01" 69 123 10 10
  2824. // OnTouch:
  2825. // moveto "2008rwc_f01" 53 128
  2826. // return
  2827. //
  2828. // OnCommand: "on"
  2829. // enablenpc "warp_2#2008rwc_f01"
  2830. // return
  2831. //
  2832. // OnCommand: "off"
  2833. // disablenpc "warp_2#2008rwc_f01"
  2834. // return
  2835. //
  2836. //hiddenwarp "2008rwc_f01" "warp_3#2008rwc_f01" 130 61 10 10
  2837. // OnTouch:
  2838. // moveto "2008rwc_f01" 146 56
  2839. // return
  2840. //
  2841. // OnCommand: "on"
  2842. // enablenpc "warp_3#2008rwc_f01"
  2843. // return
  2844. //
  2845. // OnCommand: "off"
  2846. // disablenpc "warp_3#2008rwc_f01"
  2847. // return
  2848. //
  2849. //hiddenwarp "2008rwc_f01" "warp_4#2008rwc_f01" 140 70 10 10
  2850. // OnTouch:
  2851. // moveto "2008rwc_f01" 146 56
  2852. // return
  2853. //
  2854. // OnCommand: "on"
  2855. // enablenpc "warp_4#2008rwc_f01"
  2856. // return
  2857. //
  2858. // OnCommand: "off"
  2859. // disablenpc "warp_4#2008rwc_f01"
  2860. // return
  2861. //
  2862. //-------------------------------------------
  2863. //--------------- 2008rwc_f02 방 --------------
  2864. //npc "2008rwc_f02" "[GM]2008 RWC #2008rwc_f02" 8W_SOLDIER 1 1 4 0 0
  2865. //OnCommand: "end_2008rwc_f02"
  2866. // warpallpcinthemap "2008rwc_r" 38 74
  2867. //return
  2868. //
  2869. //
  2870. //OnClick:
  2871. // dialog "[2008rwc_f02.gat]"
  2872. // dialog "메뉴를 선택하세요."
  2873. // wait
  2874. // choose menu "방송" "대전시작" "대전종료" "취소" "인원확인" "이동 불가로 만들기(대전준비)"
  2875. // case 1
  2876. // dialog "안녕하세요. PC방 2008 RWC 에 참가해 주셔서 감사합니다."
  2877. // broadcastinmap "안녕하세요. PC방 2008 RWC 에 참가해 주셔서 감사합니다."
  2878. // wait
  2879. // dialog "길드 여러분께서는 꼭 파티를 맺어주시기 바라며"
  2880. // broadcastinmap "길드 여러분께서는 꼭 파티를 맺어주시기 바라며"
  2881. // wait
  2882. // dialog "상대길드가 모두 죽었을 시 대전이 종료 됨을 알려드립니다."
  2883. // broadcastinmap "상대길드가 모두 죽었을 시 대전이 종료 됨을 알려드립니다."
  2884. // wait
  2885. // dialog "대전 시작과 함께 화면위에 7분 카운트됩니다."
  2886. // broadcastinmap "대전 시작과 함께 화면위에 7분 카운트됩니다."
  2887. // wait
  2888. // dialog "참고로 길드 여러분께서는 항상 홈페이지를 확인하셔서"
  2889. // broadcastinmap "참고로 길드 여러분께서는 항상 홈페이지를 확인하셔서 "
  2890. // wait
  2891. // dialog "다음 경기를 준비하여 주시기 바랍니다."
  2892. // broadcastinmap "다음 경기를 준비하여 주시기 바랍니다."
  2893. // wait
  2894. // dialog "대전 시작 전까지는 경기장으로 향하실 수 없음을 알려드립니다. 전원 전투대형을 갖추십시오."
  2895. // broadcastinmap "대전 시작 전까지는 경기장으로 향하실 수 없음을 알려드립니다. 전원 전투대형을 갖추십시오."
  2896. // wait
  2897. // dialog "준비되셨나요?"
  2898. // broadcastinmap "준비되셨나요?"
  2899. // close
  2900. // break
  2901. // case 2
  2902. // dialog "대전의 시작입니다. 워프가 제거되고 타이머가 작동시작합니다."
  2903. // choose menu "시작" "취소"
  2904. // case 1
  2905. // dialog "그럼, 대전을 시작합니다."
  2906. // broadcastinmap "그럼, 대전을 시작합니다."
  2907. // wait
  2908. // cmdothernpc "warp_1#2008rwc_f02" "off"
  2909. // cmdothernpc "warp_2#2008rwc_f02" "off"
  2910. // cmdothernpc "warp_3#2008rwc_f02" "off"
  2911. // cmdothernpc "warp_4#2008rwc_f02" "off"
  2912. // dialog "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2913. // broadcastinmap "-=-=-=-=-=-=-=- GO !!!!!!! =-=-=-=-=-=-=-=-"
  2914. // cmdothernpc "Timer#2008rwc_f02" "on"
  2915. // close
  2916. // break
  2917. // case 2
  2918. // break
  2919. // endchoose
  2920. // break
  2921. // case 3
  2922. // var name = PcName
  2923. // dialog "대전의 종료입니다. 맵상의 모든 플레이어("+name+"도 포함)들이 2008rwc_r.gat 으로 이동합니다. 타이머도 멈춥니다."
  2924. // choose menu "종료" "취소"
  2925. // case 1
  2926. // warpallpcinthemap "2008rwc_r" 73 162
  2927. // cmdothernpc "Timer#2008rwc_f02" "off"
  2928. // break
  2929. // case 2
  2930. // break
  2931. // endchoose
  2932. // break
  2933. // case 4
  2934. // dialog "취소합니다."
  2935. // close
  2936. // break
  2937. // case 5
  2938. // var mapcount_1
  2939. // var mapcount_2
  2940. // var mapcount_3
  2941. // var mapcount_4
  2942. // var mapcount_5
  2943. // var mapcount_6
  2944. // var mapcount_7
  2945. // var mapcount_8
  2946. // mapcount_1 = GetPCCount "2008rwc_f02.gat"
  2947. // mapcount_2 = GetPCCount "2008rwc_02.gat"
  2948. // mapcount_3 = GetPCCount "2008rwc_03.gat"
  2949. // mapcount_4 = GetPCCount "2008rwc_04.gat"
  2950. // mapcount_5 = GetPCCount "2008rwc_05.gat"
  2951. // mapcount_6 = GetPCCount "2008rwc_06.gat"
  2952. // mapcount_7 = GetPCCount "2008rwc_07.gat"
  2953. // mapcount_8 = GetPCCount "2008rwc_08.gat"
  2954. // dialog "^FF00002008rwc_f02 : "+mapcount_1+"명^000000"
  2955. // dialog "2008rwc_02 : "+mapcount_2+"명"
  2956. // dialog "2008rwc_03 : "+mapcount_3+"명"
  2957. // dialog "2008rwc_04 : "+mapcount_4+"명"
  2958. // dialog "2008rwc_05 : "+mapcount_5+"명"
  2959. // dialog "2008rwc_06 : "+mapcount_6+"명"
  2960. // dialog "2008rwc_07 : "+mapcount_7+"명"
  2961. // dialog "2008rwc_08 : "+mapcount_8+"명"
  2962. // close
  2963. // break
  2964. // case 6
  2965. // dialog "대전 준비입니다. 워프가 재 생성되고 타이머가 멈춥니다."
  2966. // cmdothernpc "warp_1#2008rwc_f02" "on"
  2967. // cmdothernpc "warp_2#2008rwc_f02" "on"
  2968. // cmdothernpc "warp_3#2008rwc_f02" "on"
  2969. // cmdothernpc "warp_4#2008rwc_f02" "on"
  2970. // cmdothernpc "Timer#2008rwc_f02" "off"
  2971. // close
  2972. // break
  2973. // endchoose
  2974. //
  2975. //npc "2008rwc_f02" "Timer#2008rwc_f02" 4_M_JOB_KNIGHT2 2 2 0 0 0
  2976. // OnInit:
  2977. // disablenpc "Timer#2008rwc_f02"
  2978. // return
  2979. //
  2980. // OnCommand: "on"
  2981. // enablenpc "Timer#2008rwc_f02"
  2982. // InitTimer
  2983. // return
  2984. // OnCommand: "off"
  2985. // stoptimer
  2986. // disablenpc "Timer#2008rwc_f02"
  2987. // return
  2988. //
  2989. // OnTimer: 1000
  2990. // broadcastinmap "======== 7분 남았습니다. ========"
  2991. // return
  2992. // OnTimer: 61000
  2993. // broadcastinmap "======== 6 분 남았습니다. ========"
  2994. // return
  2995. // OnTimer: 121000
  2996. // broadcastinmap "======== 5 분 남았습니다. ========"
  2997. // return
  2998. // OnTimer: 181000
  2999. // broadcastinmap "======== 4 분 남았습니다. ========"
  3000. // return
  3001. // OnTimer: 241000
  3002. // broadcastinmap "======== 3 분 남았습니다. ========"
  3003. // return
  3004. // OnTimer: 301000
  3005. // broadcastinmap "======== 2 분 남았습니다. ========"
  3006. // return
  3007. // OnTimer: 361000
  3008. // broadcastinmap "======== 1 분 남았습니다. ========"
  3009. // return
  3010. // OnTimer: 391000
  3011. // broadcastinmap "======== 30 초 남았습니다. ========"
  3012. // return
  3013. // OnTimer: 401000
  3014. // broadcastinmap "======== 20 초 남았습니다. ========"
  3015. // return
  3016. // OnTimer: 411000
  3017. // broadcastinmap "■■■■■■■■■■ 10 초 남았습니다. ■■■■■■■■■■"
  3018. // return
  3019. // OnTimer: 412000
  3020. // broadcastinmap "■■■■■■■■■ 9 초 남았습니다. ■■■■■■■■■"
  3021. // return
  3022. // OnTimer: 413000
  3023. // broadcastinmap "■■■■■■■■ 8 초 남았습니다. ■■■■■■■■"
  3024. // return
  3025. // OnTimer: 414000
  3026. // broadcastinmap "■■■■■■■ 7 초 남았습니다. ■■■■■■■"
  3027. // return
  3028. // OnTimer: 415000
  3029. // broadcastinmap "■■■■■■ 6 초 남았습니다. ■■■■■■"
  3030. // return
  3031. // OnTimer: 416000
  3032. // broadcastinmap "■■■■■ 5 초 남았습니다. ■■■■■"
  3033. // return
  3034. // OnTimer: 417000
  3035. // broadcastinmap "■■■■ 4 초 남았습니다. ■■■■"
  3036. // return
  3037. // OnTimer: 418000
  3038. // broadcastinmap "■■■ 3 초 남았습니다. ■■■"
  3039. // return
  3040. // OnTimer: 419000
  3041. // broadcastinmap "■■ 2 초 남았습니다. ■■"
  3042. // return
  3043. // OnTimer: 420000
  3044. // broadcastinmap "■ 1 초 남았습니다. ■"
  3045. // return
  3046. // OnTimer: 421000
  3047. // broadcastinmap "■ 대전 종료..모두 이동됩니다. ■"
  3048. // warpallpcinthemap "2008rwc_r" 38 74
  3049. // stoptimer
  3050. // return
  3051. //
  3052. //-------------------------------(시작할때 막고있는)워프 -----------------------
  3053. //hiddenwarp "2008rwc_f02" "warp_1#2008rwc_f02" 59 111 10 10
  3054. // OnTouch:
  3055. // moveto "2008rwc_f02" 53 128
  3056. // return
  3057. //
  3058. // OnCommand: "on"
  3059. // enablenpc "warp_1#2008rwc_f02"
  3060. // return
  3061. //
  3062. // OnCommand: "off"
  3063. // disablenpc "warp_1#2008rwc_f02"
  3064. // return
  3065. //
  3066. //hiddenwarp "2008rwc_f02" "warp_2#2008rwc_f02" 69 123 10 10
  3067. // OnTouch:
  3068. // moveto "2008rwc_f02" 53 128
  3069. // return
  3070. //
  3071. // OnCommand: "on"
  3072. // enablenpc "warp_2#2008rwc_f02"
  3073. // return
  3074. //
  3075. // OnCommand: "off"
  3076. // disablenpc "warp_2#2008rwc_f02"
  3077. // return
  3078. //
  3079. //hiddenwarp "2008rwc_f02" "warp_3#2008rwc_f02" 130 61 10 10
  3080. // OnTouch:
  3081. // moveto "2008rwc_f02" 146 56
  3082. // return
  3083. //
  3084. // OnCommand: "on"
  3085. // enablenpc "warp_3#2008rwc_f02"
  3086. // return
  3087. //
  3088. // OnCommand: "off"
  3089. // disablenpc "warp_3#2008rwc_f02"
  3090. // return
  3091. //
  3092. //hiddenwarp "2008rwc_f02" "warp_4#2008rwc_f02" 140 70 10 10
  3093. // OnTouch:
  3094. // moveto "2008rwc_f02" 146 56
  3095. // return
  3096. //
  3097. // OnCommand: "on"
  3098. // enablenpc "warp_4#2008rwc_f02"
  3099. // return
  3100. //
  3101. // OnCommand: "off"
  3102. // disablenpc "warp_4#2008rwc_f02"
  3103. // return
  3104. //
  3105. //-------------------------------------------
  3106. //-------------여기부터 상인입니다.------------------------
  3107. npc "izlude" "[GM]Merchant Manager#All" 4_F_01 230 230 0 0 0
  3108. OnClick:
  3109. dialog "This is NPC manager handling following Merchant NPCs;"
  3110. dialog "Weapons-Sword"
  3111. dialog "Weapons-Spear, Dagger"
  3112. dialog "Weapons-Katar, Axe, Knuckle"
  3113. dialog "Weapons-Mace, Bow, Staff"
  3114. dialog "Weapons-Musical Instrument, Whip, Book"
  3115. dialog "Armor - Except Helm"
  3116. dialog "Armor - Helm"
  3117. dialog "Card - Armor"
  3118. dialog "Card - Garment"
  3119. dialog "Card - Weapon"
  3120. dialog "Card - Shield, Shoes"
  3121. dialog "Card - Armor, Accessory"
  3122. dialog "Tool Dealer"
  3123. dialog "Upgrade Item Dealer"
  3124. dialog "Blacksmith"
  3125. close
  3126. return
  3127. OnCommand: "on"
  3128. enablenpc "Weapons-Sword"
  3129. enablenpc "Weapons-Spear, Dagger"
  3130. enablenpc "Weapons-Katar, Axe, Knuckle"
  3131. enablenpc "Weapons-Mace, Bow, Staff"
  3132. enablenpc "Weapons-Musical Instrument, Whip, Book"
  3133. enablenpc "Armor - Except Helm"
  3134. enablenpc "Armor - Helm"
  3135. enablenpc "Card - Armor"
  3136. enablenpc "Card - Garment"
  3137. enablenpc "Card - Weapon"
  3138. enablenpc "Card - Shield, Shoes"
  3139. enablenpc "Card - Armor, Accessory"
  3140. enablenpc "Tool Dealer"
  3141. enablenpc "Upgrade Item Dealer"
  3142. enablenpc "Blacksmith"
  3143. return
  3144. OnCommand: "off"
  3145. disablenpc "Weapons-Sword"
  3146. disablenpc "Weapons-Spear, Dagger"
  3147. disablenpc "Weapons-Katar, Axe, Knuckle"
  3148. disablenpc "Weapons-Mace, Bow, Staff"
  3149. disablenpc "Weapons-Musical Instrument, Whip, Book"
  3150. disablenpc "Armor - Except Helm"
  3151. disablenpc "Armor - Helm"
  3152. disablenpc "Card - Armor"
  3153. disablenpc "Card - Garment"
  3154. disablenpc "Card - Weapon"
  3155. disablenpc "Card - Shield, Shoes"
  3156. disablenpc "Card - Armor, Accessory"
  3157. disablenpc "Tool Dealer"
  3158. disablenpc "Upgrade Item Dealer"
  3159. disablenpc "Blacksmith"
  3160. return
  3161. OnCommand: "on_10"
  3162. cmdothernpc "Timer#10m" "on"
  3163. cmdothernpc "[GM]Merchant Manager#All" "on"
  3164. return
  3165. OnCommand: "on_20"
  3166. cmdothernpc "Timer#20m" "on"
  3167. cmdothernpc "[GM]Merchant Manager#All" "on"
  3168. return
  3169. OnCommand: "on_30"
  3170. cmdothernpc "Timer#30m" "on"
  3171. cmdothernpc "[GM]Merchant Manager#All" "on"
  3172. return
  3173. //-------------------------- 10분 타이머------------------------------
  3174. hiddenwarp "izlude" "Timer#10m" 200 201 0 0 0
  3175. OnCommand: "on"
  3176. broadcastinmap "You may start shopping now."
  3177. InitTimer
  3178. return
  3179. OnCommand: "off"
  3180. stoptimer
  3181. return
  3182. OnTimer: 1000
  3183. broadcastinmap "10 minutes left until shop close."
  3184. return
  3185. OnTimer: 301000
  3186. broadcastinmap "5 minutes left until shop close."
  3187. return
  3188. OnTimer: 601000
  3189. broadcastinmap "Shops are now closed."
  3190. cmdothernpc "[GM]Merchant Manager#All" "off"
  3191. stoptimer
  3192. return
  3193. //-------------------------- 20분 타이머------------------------------
  3194. hiddenwarp "izlude" "Timer#20m" 200 202 0 0 0
  3195. OnCommand: "on"
  3196. broadcastinmap "You may start shopping now."
  3197. InitTimer
  3198. return
  3199. OnCommand: "off"
  3200. stoptimer
  3201. return
  3202. OnTimer: 1000
  3203. broadcastinmap "You have total 20 minutes to shop."
  3204. return
  3205. OnTimer: 601000
  3206. broadcastinmap "10 minutes left until shop close."
  3207. return
  3208. OnTimer: 1201000
  3209. broadcastinmap "Shops are now closed."
  3210. cmdothernpc "[GM]Merchant Manager#All" "off"
  3211. stoptimer
  3212. return
  3213. //-------------------------- 30분 타이머------------------------------
  3214. hiddenwarp "izlude" "Timer#30m" 200 203 0 0 0
  3215. OnCommand: "on"
  3216. broadcastinmap "You may start shopping now."
  3217. InitTimer
  3218. return
  3219. OnCommand: "off"
  3220. stoptimer
  3221. return
  3222. OnTimer: 1000
  3223. broadcastinmap "You have total 30 minutes to shop."
  3224. return
  3225. OnTimer: 901000
  3226. broadcastinmap "15 minutes left until shop close."
  3227. return
  3228. OnTimer: 1801000
  3229. broadcastinmap "Shops are now closed."
  3230. cmdothernpc "[GM]Merchant Manager#All" "off"
  3231. stoptimer
  3232. return
  3233. //-------------------------- 상인즈 -----------------------------
  3234. trader "izlude" "Weapon-Sword" 4_F_01 122 152 4 1 1
  3235. OnInit:
  3236. sellitem Katana_
  3237. sellitem Broad_Sword_
  3238. sellitem Claymore_
  3239. sellitem Muscle_Cutter
  3240. sellitem Blade_
  3241. sellitem Tsurugi_
  3242. sellitem Saber_
  3243. sellitem Hae_Dong_Gum_
  3244. sellitem Flamberge
  3245. sellitem Curved_Sword
  3246. sellitem Platinum_Shotel
  3247. return
  3248. trader "izlude" "Weapon-Spear,Dagger" 4_F_01 125 152 4 1 1
  3249. OnInit:
  3250. sellitem Lance
  3251. sellitem Glaive_
  3252. sellitem Halberd_
  3253. sellitem Pike_
  3254. sellitem Pole_Axe
  3255. sellitem Gungnir_
  3256. sellitem Main_Gauche_
  3257. sellitem Scalpel
  3258. sellitem Twilight_Desert
  3259. sellitem Sandstorm
  3260. return
  3261. trader "izlude" "Weapon-Katar,Axe,Knuckle" 4_F_01 128 152 4 1 1
  3262. OnInit:
  3263. sellitem Jur_
  3264. sellitem Katar_
  3265. sellitem Jamadhar_
  3266. sellitem Infiltrator
  3267. sellitem Inverse_Scale
  3268. sellitem Blood_Tears
  3269. sellitem Various_Jur
  3270. sellitem Battle_Axe_
  3271. sellitem Hammer_
  3272. sellitem Two_Handed_Axe_
  3273. sellitem Heart_Breaker
  3274. sellitem Hurricane_Fury
  3275. sellitem War_Axe
  3276. sellitem Orcish_Axe_
  3277. sellitem Waghnakh_
  3278. sellitem Finger_
  3279. sellitem Fist_
  3280. sellitem Combo_Battle_Glove
  3281. return
  3282. trader "izlude" "Weapon-Mace,Bow,Staff" 4_F_01 131 152 4 1 1
  3283. OnInit:
  3284. sellitem Morning_Star_
  3285. sellitem Sword_Mace_
  3286. sellitem Chain_
  3287. sellitem Stunner
  3288. sellitem Composite_Bow_
  3289. sellitem CrossBow_
  3290. sellitem Kakkung_
  3291. sellitem Hunter_Bow
  3292. sellitem Luna_Bow
  3293. sellitem Rod_
  3294. sellitem Arc_Wand_
  3295. sellitem Mighty_Staff
  3296. sellitem Bone_Wand
  3297. sellitem Wizardy_Staff
  3298. sellitem Radiant_Wisdom
  3299. sellitem Walking_Stick
  3300. return
  3301. trader "izlude" "Weapon-Musical Instrument, Whip, Book" 4_F_01 134 152 4 1 1
  3302. OnInit:
  3303. sellitem Violin_
  3304. sellitem Mandolin_
  3305. sellitem Lute_
  3306. sellitem Harp
  3307. sellitem Guh_Moon_Goh
  3308. sellitem Guitar
  3309. sellitem Electronic_Guitar
  3310. sellitem Oriental_Lute_
  3311. sellitem Rope_
  3312. sellitem Wire_
  3313. sellitem Whip_
  3314. sellitem Rante_
  3315. sellitem Electric_Eel
  3316. sellitem Sea_Witch_Foot
  3317. sellitem Queen's_Whip_
  3318. sellitem Book
  3319. sellitem Bible
  3320. sellitem Encyclopedia
  3321. sellitem Principles_Of_Magic
  3322. sellitem Ancient_Magic
  3323. return
  3324. trader "izlude" "Armor-Except Helm" 4_F_01 137 149 4 1 1
  3325. OnInit:
  3326. sellitem Chain_Mail_
  3327. sellitem Formal_Suit
  3328. sellitem Saint_Robe_
  3329. sellitem Tights_
  3330. sellitem Silver_Robe_
  3331. sellitem Thief_Clothes_
  3332. sellitem Full_Plate_Armor
  3333. sellitem Sniping_Suit
  3334. sellitem Meteo_Plate_Armor
  3335. sellitem Divine_Cloth
  3336. sellitem Mage_Coat
  3337. sellitem G_Strings
  3338. sellitem Rider_Insignia_
  3339. sellitem Pauldron
  3340. sellitem Celestial_Robe
  3341. sellitem Undershirt_
  3342. sellitem Mithril_Magic_Cape
  3343. sellitem Shoes_
  3344. sellitem Boots_
  3345. sellitem Black_Leather_Boots
  3346. sellitem High_Fashion_Sandals
  3347. sellitem Grave_
  3348. sellitem Glove
  3349. sellitem Earring
  3350. sellitem Necklace
  3351. sellitem Ring
  3352. sellitem Rosary
  3353. sellitem Safety_Ring
  3354. sellitem Clip
  3355. sellitem Lunatic_Brooch
  3356. sellitem Librarian_Glove
  3357. sellitem Pocket_Watch
  3358. sellitem Iron_Wrist
  3359. sellitem Icarus_Wing
  3360. sellitem Bowman_Scarf
  3361. sellitem Shield_
  3362. sellitem Guard_
  3363. sellitem Buckler_
  3364. sellitem Mirror_Shield_
  3365. sellitem Magic_Study_Vol1
  3366. sellitem Strong_Shield
  3367. sellitem Cross_Shield
  3368. return
  3369. trader "izlude" "Armor-Helm" 4_F_01 137 146 4 1 1
  3370. OnInit:
  3371. sellitem Helm_
  3372. sellitem Cat_Hairband
  3373. sellitem Bunny_Band
  3374. sellitem Wedding_Veil
  3375. sellitem Eye_Bandage
  3376. sellitem Santa's_Hat
  3377. sellitem One_Eyed_Glass
  3378. sellitem Luxury_Sunglasses
  3379. sellitem Spinning_Eyes
  3380. sellitem Big_Sis'_Ribbon
  3381. sellitem Golden_Gear
  3382. sellitem Oldman's_Romance
  3383. sellitem Western_Grace
  3384. sellitem Coronet
  3385. sellitem Fillet
  3386. sellitem Star_Sparkling
  3387. sellitem Sunflower
  3388. sellitem Angelic_Chain
  3389. sellitem Satanic_Chain
  3390. sellitem Magestic_Goat
  3391. sellitem Sharp_Gear
  3392. sellitem Mini_Glasses
  3393. sellitem Prontera_Army_Cap
  3394. sellitem Pierrot_Nose
  3395. sellitem Gangster_Patch
  3396. sellitem Ganster_Mask
  3397. sellitem Iron_Cane
  3398. sellitem Cigar
  3399. sellitem Smoking_Pipe
  3400. sellitem Centimental_Flower
  3401. sellitem Centimental_Leaf
  3402. sellitem Jack_A_Dandy
  3403. sellitem Stop_Post
  3404. sellitem Ghost_Bandana
  3405. sellitem Eagle_Eyes
  3406. sellitem Sahkkat
  3407. sellitem Spirit_Chain
  3408. sellitem Blue_Hair_Band
  3409. sellitem Ear_Mufs
  3410. sellitem Antler
  3411. sellitem Apple_Of_Archer
  3412. sellitem Elven_Ears
  3413. sellitem Pirate_Bandana
  3414. sellitem Funeral_Costume
  3415. sellitem Masquerade
  3416. sellitem Pretend_Murdered
  3417. sellitem Binoculars
  3418. sellitem Green_Feeler
  3419. sellitem Viking_Helm
  3420. sellitem Headset
  3421. sellitem Joker_Jester
  3422. sellitem Oxygen_Mask
  3423. sellitem Machoman_Glasses
  3424. sellitem Loard_Circlet
  3425. sellitem Puppy_Love
  3426. sellitem Safety_Helmet
  3427. sellitem Indian_Hair_Piece
  3428. sellitem Antenna
  3429. sellitem Ph.D_Hat
  3430. sellitem Fin_Helm
  3431. sellitem Boy's_Cap
  3432. sellitem Bone_Helm
  3433. sellitem Feather_Bonnet
  3434. sellitem Corsair
  3435. sellitem Bankruptcy_Of_Heart
  3436. sellitem Hat_Of_Bundle
  3437. sellitem Hat_Of_Cake
  3438. sellitem Helm_Of_Angel
  3439. sellitem Hat_Of_Cook
  3440. sellitem Wizardry_Hat
  3441. sellitem Candle
  3442. sellitem Spore_Hat
  3443. sellitem Panda_Cap
  3444. sellitem Mine_Helm
  3445. sellitem Picnic_Hat
  3446. sellitem Smokie_Hat
  3447. sellitem Light_Bulb_Band
  3448. sellitem Poring_Hat
  3449. sellitem Cross_Band
  3450. sellitem Fruit_Shell
  3451. sellitem Deviruchi_Cap
  3452. sellitem Mottled_Egg_Shell
  3453. sellitem Blush
  3454. sellitem Heart_Hair_Pin
  3455. sellitem Hair_Protector
  3456. sellitem Opera_Ghost_Mask
  3457. sellitem Devil's_Wing
  3458. sellitem Magician_Hat
  3459. sellitem Fashion_Sunglass
  3460. sellitem First_Moon_Hair_Pin
  3461. sellitem Stripe_Band
  3462. sellitem Mystery_Fruit_Shell
  3463. sellitem Mr_Smile
  3464. sellitem Phantom_Of_Opera
  3465. sellitem Mr_Scream
  3466. sellitem Welding_Mask
  3467. sellitem Goblini_Mask
  3468. sellitem Gas_Mask
  3469. sellitem Spinx_Helm
  3470. sellitem Goggle_
  3471. sellitem Munak_Turban
  3472. sellitem Bongun_Hat
  3473. sellitem Ear_Of_Black_Cat
  3474. sellitem Drooping_Kitty
  3475. sellitem Brown_Bear_Cap
  3476. sellitem Party_Hat
  3477. sellitem Flower_Hairpin
  3478. sellitem Straw_Hat
  3479. sellitem Plaster
  3480. sellitem Leaf_Headgear
  3481. sellitem Fish_On_Head
  3482. sellitem Horn_Of_Succubus
  3483. sellitem Sombrero
  3484. sellitem Ear_Of_Devil's_Wing
  3485. sellitem Mask_Of_Fox
  3486. sellitem Headband_Of_Power
  3487. sellitem Indian_Headband
  3488. sellitem Inccubus_Horn
  3489. sellitem Cap_Of_Concentration
  3490. sellitem Ear_Of_Angel's_Wing
  3491. sellitem Cowboy_Hat
  3492. sellitem Fur_Hat
  3493. sellitem Tulip_Hairpin
  3494. sellitem Sea_Otter_Cap
  3495. sellitem Crossed_Hair_Band
  3496. sellitem Headgear_Of_Queen
  3497. sellitem Mistress_Crown
  3498. sellitem Mushroom_Band
  3499. sellitem Red_Tailed_Ribbon
  3500. sellitem Lazy_Raccoon
  3501. sellitem Blue_Coif_
  3502. sellitem Orc_Hero_Helm
  3503. sellitem Big_Golden_Bell
  3504. sellitem Alarm_Mask
  3505. sellitem Goblin_Mask_01
  3506. sellitem Goblin_Mask_02
  3507. sellitem Goblin_Mask_03
  3508. sellitem Goblin_Mask_04
  3509. sellitem Assassin_Mask_
  3510. sellitem Pair_Of_Red_Ribbon
  3511. sellitem Holy_Bonnet_
  3512. sellitem Tiara_
  3513. sellitem Crown_
  3514. sellitem Fried_Egg
  3515. sellitem Dark_Snake_Lord_Hat
  3516. sellitem Helm_Of_Abyss
  3517. sellitem Orchid_Hairband
  3518. sellitem Neko_Mimi_Kafra
  3519. sellitem Balloon_Hat
  3520. sellitem Satto_Hat
  3521. sellitem Ayam
  3522. sellitem Blue_Ribbon
  3523. sellitem Captain_Hat
  3524. sellitem Carmen_Miranda's_Hat
  3525. sellitem Large_Hibiscus
  3526. sellitem Twin_Ribbon
  3527. sellitem Feather_Beret
  3528. sellitem Guardian_Lion_Mask
  3529. sellitem Bride_Mask
  3530. sellitem Afro_Wig
  3531. sellitem Wings_Of_Victory
  3532. sellitem Darkness_Helm
  3533. sellitem Hat_Of_Judge
  3534. sellitem Whisper_Mask
  3535. sellitem Cap_Of_Blindness
  3536. sellitem Hahoe_Mask
  3537. sellitem Tongue_Mask
  3538. sellitem Hockey_Mask
  3539. sellitem Romantic_White_Flower
  3540. sellitem Pirate_Dagger
  3541. sellitem Fish_In_Mouth
  3542. sellitem Ninja_Scroll
  3543. sellitem Round_Eyes
  3544. sellitem Observer
  3545. return
  3546. trader "izlude" "Card-Armor" 4_F_01 101 123 4 1 1
  3547. OnInit:
  3548. sellitem Pupa_Card
  3549. sellitem Roda_Frog_Card
  3550. sellitem Rocker_Card
  3551. sellitem Desert_Wolf_Babe_Card
  3552. sellitem Pecopeco_Card
  3553. sellitem Steel_Chonchon_Card
  3554. sellitem Cornutus_Card
  3555. sellitem Agav_Card
  3556. sellitem Echio_Card
  3557. sellitem Byorgue_Card
  3558. sellitem Angeling_Card
  3559. return
  3560. trader "izlude" "Card - Garment" 4_F_01 101 126 4 1 1
  3561. OnInit:
  3562. sellitem Frilldora_Card
  3563. sellitem Baphomet__Card
  3564. sellitem Daydric_Card
  3565. sellitem Noxious_Card
  3566. sellitem Aliot_Card
  3567. sellitem Kavac_Card
  3568. sellitem Whisper_Boss_Card
  3569. sellitem Kasa_Card
  3570. sellitem Salamander_Card
  3571. return
  3572. trader "izlude" "Card - Weapon" 4_F_01 101 129 4 1 1
  3573. OnInit:
  3574. sellitem Fabre_Card
  3575. sellitem Drops_Card
  3576. sellitem Lunatic_Card
  3577. sellitem Savage_Babe_Card
  3578. sellitem Hornet_Card
  3579. sellitem Thief_Bug_Female_Card
  3580. sellitem Wolf_Card
  3581. sellitem Hydra_Card
  3582. sellitem Snake_Card
  3583. sellitem Andre_Card
  3584. sellitem Metaller_Card
  3585. sellitem Golem_Card
  3586. sellitem Magnolia_Card
  3587. sellitem Soldier_Skeleton_Card
  3588. sellitem Skel_Worker_Card
  3589. sellitem Mummy_Card
  3590. sellitem Hunter_Fly_Card
  3591. sellitem Bow_Guardian_Card
  3592. sellitem Sword_Guardian_Card
  3593. sellitem Drosera_Card
  3594. return
  3595. trader "izlude" "Card - Shield, Shoes" 4_F_01 101 132 4 1 1
  3596. OnInit:
  3597. sellitem Ambernite_Card
  3598. sellitem Horn_Card
  3599. sellitem Thara_Frog_Card
  3600. sellitem Seeker_Card
  3601. sellitem Muscipular_Card
  3602. sellitem Flame_Skull_Card
  3603. sellitem Maya_Card
  3604. sellitem Tamruan_Card
  3605. sellitem High_Orc_Card
  3606. sellitem Thief_Bug_Male_Card
  3607. sellitem Eggyra_Card
  3608. sellitem Matyr_Card
  3609. sellitem Sohee_Card
  3610. sellitem Verit_Card
  3611. sellitem Acidus_Card
  3612. sellitem Ferus__Card
  3613. sellitem Miyabi_Ningyo_Card
  3614. return
  3615. trader "izlude" "Card - Helm, Accessory" 4_F_01 101 135 4 1 1
  3616. OnInit:
  3617. sellitem Coco_Card
  3618. sellitem Elder_Wilow_Card
  3619. sellitem Marduk_Card
  3620. sellitem Deviruchi_Card
  3621. sellitem Nightmare_Card
  3622. sellitem Acidus__Card
  3623. sellitem Isilla_Card
  3624. sellitem Vanberk_Card
  3625. sellitem Banshee_Card
  3626. sellitem Spore_Card
  3627. sellitem Kukre_Card
  3628. sellitem Yoyo_Card
  3629. sellitem Zerom_Card
  3630. sellitem Mantis_Card
  3631. sellitem Kobold_Card
  3632. sellitem Stapo_Card
  3633. sellitem Cookie_Card
  3634. sellitem Whikebain_Card
  3635. return
  3636. trader "izlude" "Tool Dealer" 4_F_01 125 115 4 1 1
  3637. OnInit:
  3638. sellitem Red_Potion
  3639. sellitem Orange_Potion
  3640. sellitem Yellow_Potion
  3641. sellitem White_Potion
  3642. sellitem Blue_Potion
  3643. sellitem Center_Potion
  3644. sellitem Awakening_Potion
  3645. sellitem Berserk_Potion
  3646. sellitem Booby_Trap
  3647. sellitem Arrow
  3648. sellitem Silver_Arrow
  3649. sellitem Fire_Arrow
  3650. sellitem Stun_Arrow
  3651. sellitem Sleep_Arrow
  3652. sellitem Silence_Arrow
  3653. sellitem Poison_Arrow
  3654. sellitem Curse_Arrow
  3655. sellitem Freezing_Arrow
  3656. sellitem Flash_Arrow
  3657. sellitem Yellow_Gemstone
  3658. sellitem Blue_Gemstone
  3659. sellitem Red_Gemstone
  3660. sellitem Panacea
  3661. sellitem Green_Potion
  3662. sellitem Emperium
  3663. sellitem Coating_Create_Book
  3664. sellitem MenEater_Plant_Bottle
  3665. sellitem Mini_Bottle
  3666. sellitem Red_Slim_Potion
  3667. sellitem Yellow_Slim_Potion
  3668. sellitem White_Slim_Potion
  3669. sellitem Spiderweb
  3670. sellitem Iron_Ore
  3671. sellitem Iron
  3672. sellitem Steel
  3673. sellitem Oridecon_Stone
  3674. sellitem Iron_Hammer
  3675. sellitem Emperium_Anvil
  3676. return
  3677. //----------------------------------------------
  3678. //------------- 여기부터 제련관련 ----------------
  3679. trader "izlude" "Upgrade Item Dealer" 4_F_01 130 115 4 1 1
  3680. OnInit:
  3681. sellitem Phracon
  3682. sellitem Emveretarcon
  3683. sellitem Oridecon
  3684. sellitem Elunium
  3685. return
  3686. npc "izlude" "Blacksmith" 4_M_03 133 115 4 5 5
  3687. var strPart1
  3688. var strPart2
  3689. var strPart3
  3690. var strPart4
  3691. var strPart5
  3692. var strPart6
  3693. var strPart7
  3694. var strPart8
  3695. var strPart9
  3696. var strPart10
  3697. var strPart11
  3698. var strRetPart1
  3699. var strRetPart2
  3700. var strRetPart3
  3701. var strRetPart4
  3702. var strRetPart5
  3703. var strRetPart6
  3704. var strRetPart7
  3705. var strRetPart8
  3706. var strRetPart9
  3707. var strRetPart10
  3708. var strRetPart11
  3709. var part
  3710. OnClick:
  3711. DisableItemMove
  3712. dialog "[Hollgrehenn]"
  3713. dialog "You may upgrade desired equipment through me."
  3714. dialog "Take heed: ^FF0000you are Not allowed to attempt upgrading your equipment to a level that may destroy it^000000."
  3715. dialog "Say, which equipment would you like to upgrade?"
  3716. wait
  3717. strRetPart1 = GetEquipName[1]
  3718. strRetPart2 = GetEquipName[2]
  3719. strRetPart3 = GetEquipName[3]
  3720. strRetPart4 = GetEquipName[4]
  3721. strRetPart5 = GetEquipName[5]
  3722. strRetPart6 = GetEquipName[6]
  3723. strRetPart7 = GetEquipName[7]
  3724. strRetPart8 = GetEquipName[8]
  3725. strRetPart10 = GetEquipName[10]
  3726. strRetPart11 = GetEquipName[11]
  3727. if strRetPart1 == 0
  3728. strPart1 = "Head-[Unequipped]"
  3729. else
  3730. strPart1 = strRetPart1
  3731. endif
  3732. if strRetPart2 == 0
  3733. strPart2 = "Torso-[Unequipped]"
  3734. else
  3735. strPart2 = strRetPart2
  3736. endif
  3737. if strRetPart3 == 0
  3738. strPart3 = "Left Hand-[Unequipped]"
  3739. else
  3740. strPart3 = strRetPart3
  3741. endif
  3742. if strRetPart4 == 0
  3743. strPart4 = "Right Hand-[Unequipped]"
  3744. else
  3745. strPart4 = strRetPart4
  3746. endif
  3747. if strRetPart5 == 0
  3748. strPart5 = "Robe-[Unequipped]"
  3749. else
  3750. strPart5 = strRetPart5
  3751. endif
  3752. if strRetPart6 == 0
  3753. strPart6 = "Shoes-[Unequipped]"
  3754. else
  3755. strPart6 = strRetPart6
  3756. endif
  3757. if strRetPart7 == 0
  3758. strPart7 = "Accessory 1-[Unequipped]"
  3759. else
  3760. strPart7 = strRetPart7
  3761. endif
  3762. if strRetPart8 == 0
  3763. strPart8 = "Accessory 2-[Unequipped]"
  3764. else
  3765. strPart8 = strRetPart8
  3766. endif
  3767. if strRetPart10 == 0
  3768. strPart10 = "Head 2-[Unequipped]"
  3769. else
  3770. strPart10 = strRetPart10
  3771. endif
  3772. if strRetPart11 == 0
  3773. strPart11 = "Head 3-[Unequipped]"
  3774. else
  3775. strPart11 = strRetPart11
  3776. endif
  3777. choose menu strPart1 strPart2 strPart3 strPart4 strPart5 strPart6 strPart7 strPart8 strPart10 strPart11
  3778. case 1
  3779. part = 1
  3780. if strRetPart1 == 0
  3781. dialog "[Hollgrehenn]"
  3782. dialog "Do you want me"
  3783. dialog "to refine your skull?"
  3784. dialog "'Cause I can, and"
  3785. dialog "I'll do it."
  3786. close
  3787. EnableItemMove
  3788. return
  3789. endif
  3790. break
  3791. case 2
  3792. part = 2
  3793. if strRetPart2 == 0
  3794. dialog "[Hollgrehenn]"
  3795. dialog "You're not wearing"
  3796. dialog "anything there that"
  3797. dialog "I can refine."
  3798. close
  3799. EnableItemMove
  3800. return
  3801. endif
  3802. break
  3803. case 3
  3804. part = 3
  3805. if strRetPart3 == 0
  3806. dialog "[Hollgrehenn]"
  3807. dialog "I can't refine your"
  3808. dialog "left hand! Go to the"
  3809. dialog "manicurist if you"
  3810. dialog "want that."
  3811. close
  3812. EnableItemMove
  3813. return
  3814. endif
  3815. break
  3816. case 4
  3817. part = 4
  3818. if strRetPart4 == 0
  3819. dialog "[Hollgrehenn]"
  3820. dialog "I can't refine your"
  3821. dialog "right hand. I'd break"
  3822. dialog "it into pieces with"
  3823. dialog "this big ol' hammer!"
  3824. close
  3825. EnableItemMove
  3826. return
  3827. endif
  3828. break
  3829. case 5
  3830. part = 5
  3831. if strRetPart5 == 0
  3832. dialog "[Hollgrehenn]"
  3833. dialog "You're not even"
  3834. dialog "wearing a garment"
  3835. dialog "that I can refine."
  3836. close
  3837. EnableItemMove
  3838. return
  3839. endif
  3840. break
  3841. case 6
  3842. part = 6
  3843. if strRetPart6 == 0
  3844. dialog "[Hollgrehenn]"
  3845. dialog "What do I look like,"
  3846. dialog "a makeover artist?!"
  3847. dialog "I can't refine your"
  3848. dialog "bare feet!"
  3849. close
  3850. EnableItemMove
  3851. return
  3852. endif
  3853. break
  3854. case 7
  3855. part = 7
  3856. if strRetPart7 == 0
  3857. dialog "[Hollgrehenn]"
  3858. dialog "Um..."
  3859. dialog "You're not"
  3860. dialog "wearing an"
  3861. dialog "Accessory."
  3862. close
  3863. EnableItemMove
  3864. return
  3865. endif
  3866. break
  3867. case 8
  3868. part = 8
  3869. if strRetPart8 == 0
  3870. dialog "[Hollgrehenn]"
  3871. dialog "Accessory?"
  3872. dialog "You're not"
  3873. dialog "wearing one"
  3874. dialog "of those."
  3875. close
  3876. EnableItemMove
  3877. return
  3878. endif
  3879. break
  3880. case 9
  3881. part = 10
  3882. if strRetPart10 == 0
  3883. dialog "[Hollgrehenn]"
  3884. dialog "I refine equipment."
  3885. dialog "I don't give hair cuts."
  3886. close
  3887. EnableItemMove
  3888. return
  3889. endif
  3890. break
  3891. case 10
  3892. part = 11
  3893. if strRetPart11 == 0
  3894. dialog "[Hollgrehenn]"
  3895. dialog "What am I, your"
  3896. dialog "personal hairstylist?!"
  3897. dialog "Go to the salon if you"
  3898. dialog "want work done on your"
  3899. dialog "precious hair."
  3900. close
  3901. EnableItemMove
  3902. return
  3903. endif
  3904. break
  3905. endchoose
  3906. if GetEquipIsEnableRef[part] == 0
  3907. dialog "[Hollgrehenn]"
  3908. dialog "I don't think I can"
  3909. dialog "refine this item at all..."
  3910. close
  3911. EnableItemMove
  3912. return
  3913. endif
  3914. if GetEquipIsIdentify[part] == 0
  3915. dialog "[Hollgrehenn]"
  3916. dialog "You can't refine this"
  3917. dialog "if you haven't appraised"
  3918. dialog "it first. Make sure your"
  3919. dialog "stuff is identified before"
  3920. dialog "I can refine it."
  3921. close
  3922. EnableItemMove
  3923. return
  3924. endif
  3925. if GetEquipRefineryCnt[part] >= 10
  3926. dialog "[Hollgrehenn]"
  3927. dialog "I can't refine this"
  3928. dialog "any more. This is as"
  3929. dialog "refined as it gets!"
  3930. close
  3931. EnableItemMove
  3932. return
  3933. endif
  3934. if GetEquipWeaponLv[part] == 0 // 방어구?
  3935. dialog "[Hollgrehenn]"
  3936. dialog "To refine this I need"
  3937. dialog "one ^003366Elunium^000000 and"
  3938. dialog "a service fee of 2000 Zeny."
  3939. dialog "Do you really wish to continue?"
  3940. wait
  3941. choose menu "Yes" "No"
  3942. case 1
  3943. if GetEquipPercentRefinery[part] < 100
  3944. dialog "[Hollgrehenn]"
  3945. dialog "Well, well..."
  3946. dialog "I regret to say this equipment"
  3947. dialog "already has been upgraded enough."
  3948. dialog "As I repeatedly say,"
  3949. dialog "you are not allowed to upgrade any equipment"
  3950. dialog "to a level that may destroy the item."
  3951. close
  3952. EnableItemMove
  3953. return
  3954. endif
  3955. if ((v[Elunium] > 0) & (v[VAR_MONEY] > 1999))
  3956. dropitem Elunium 1
  3957. dropgold 2000
  3958. else
  3959. EnableItemMove
  3960. dialog "[Hollgrehenn]"
  3961. dialog "You don't seem to have"
  3962. dialog "enough Zeny or Elunium..."
  3963. dialog "Go get some more. I'll be"
  3964. dialog "here all day if you need me."
  3965. close
  3966. return
  3967. endif
  3968. break
  3969. case 2
  3970. EnableItemMove
  3971. dialog "[Hollgrehenn]"
  3972. dialog "Yeah..."
  3973. dialog "There's no need to"
  3974. dialog "rush. Take your time."
  3975. close
  3976. return
  3977. break
  3978. endchoose
  3979. elseif GetEquipWeaponLv[part] == 1 // Weapons레벨 1
  3980. dialog "[Hollgrehenn]"
  3981. dialog "Um..."
  3982. dialog "A Level 1 weapon..."
  3983. dialog "I need one ^ff9999Phracon^000000"
  3984. dialog "and the fee is 50 Zeny."
  3985. dialog "Do you really wish to continue?"
  3986. wait
  3987. choose menu "Yes" "No"
  3988. case 1
  3989. if GetEquipPercentRefinery[part] < 100
  3990. dialog "[Hollgrehenn]"
  3991. dialog "Well, well..."
  3992. dialog "I regret to say this equipment"
  3993. dialog "already has been upgraded enough."
  3994. dialog "As I repeatedly say,"
  3995. dialog "you are not allowed to upgrade any equipment"
  3996. dialog "to a level that may destroy the item."
  3997. close
  3998. EnableItemMove
  3999. return
  4000. endif
  4001. if ((v[Phracon] > 0) & (v[VAR_MONEY] > 49))
  4002. dropitem Phracon 1
  4003. dropgold 50
  4004. else
  4005. EnableItemMove
  4006. dialog "[Hollgrehenn]"
  4007. dialog "You don't seem to have"
  4008. dialog "enough Zeny or Phracon..."
  4009. dialog "Go get some more. I'll be"
  4010. dialog "here all day if you need me."
  4011. close
  4012. return
  4013. endif
  4014. break
  4015. case 2
  4016. EnableItemMove
  4017. dialog "[Hollgrehenn]"
  4018. dialog "Yeah..."
  4019. dialog "There's no need to"
  4020. dialog "rush. Take your time."
  4021. close
  4022. return
  4023. break
  4024. endchoose
  4025. elseif GetEquipWeaponLv[part] == 2 // Weapons레벨 2
  4026. dialog "[Hollgrehenn]"
  4027. dialog "Huh..."
  4028. dialog "A Level 2 weapon..."
  4029. dialog "I'll need one ^ff9999Emveretarcon^000000"
  4030. dialog "and the fee is 200 Zeny."
  4031. dialog "Do you really wish to continue?"
  4032. wait
  4033. choose menu "Yes" "No"
  4034. case 1
  4035. if GetEquipPercentRefinery[part] < 100
  4036. dialog "[Hollgrehenn]"
  4037. dialog "Well, well..."
  4038. dialog "I regret to say this equipment"
  4039. dialog "already has been upgraded enough."
  4040. dialog "As I repeatedly say,"
  4041. dialog "you are not allowed to upgrade any equipment"
  4042. dialog "to a level that may destroy the item."
  4043. close
  4044. EnableItemMove
  4045. return
  4046. endif
  4047. if ((v[Emveretarcon] > 0) & (v[VAR_MONEY] > 199))
  4048. dropitem Emveretarcon 1
  4049. dropgold 200
  4050. else
  4051. EnableItemMove
  4052. dialog "[Hollgrehenn]"
  4053. dialog "You don't seem to have"
  4054. dialog "enough Emveretarcon or"
  4055. dialog "Zeny. I'll be here all"
  4056. dialog "day if you need me, so"
  4057. dialog "go ahead and get more."
  4058. close
  4059. return
  4060. endif
  4061. break
  4062. case 2
  4063. EnableItemMove
  4064. dialog "[Hollgrehenn]"
  4065. dialog "Yeah..."
  4066. dialog "There's no need to"
  4067. dialog "rush. Take your time."
  4068. close
  4069. return
  4070. break
  4071. endchoose
  4072. elseif GetEquipWeaponLv[part] == 3 // Weapons레벨 3
  4073. dialog "[Hollgrehenn]"
  4074. dialog "Ah..."
  4075. dialog "A Level 3 weapon..."
  4076. dialog "I need one ^ff9999Oridecon^000000"
  4077. dialog "and the fee is 5000 Zeny."
  4078. dialog "Do you really wish to continue?"
  4079. wait
  4080. choose menu "Yes" "No"
  4081. case 1
  4082. if GetEquipPercentRefinery[part] < 100
  4083. dialog "[Hollgrehenn]"
  4084. dialog "Well, well..."
  4085. dialog "I regret to say this equipment"
  4086. dialog "already has been upgraded enough."
  4087. dialog "As I repeatedly say,"
  4088. dialog "you are not allowed to upgrade any equipment"
  4089. dialog "to a level that may destroy the item."
  4090. close
  4091. EnableItemMove
  4092. return
  4093. endif
  4094. if ((v[Oridecon] > 0) & (v[VAR_MONEY] > 4999))
  4095. dropitem Oridecon 1
  4096. dropgold 5000
  4097. else
  4098. EnableItemMove
  4099. dialog "[Hollgrehenn]"
  4100. dialog "You don't seem to have"
  4101. dialog "enough Zeny or Oridecon..."
  4102. dialog "Go get some more. I'll be"
  4103. dialog "here all day if you need me."
  4104. close
  4105. return
  4106. endif
  4107. break
  4108. case 2
  4109. EnableItemMove
  4110. dialog "[Hollgrehenn]"
  4111. dialog "Yeah..."
  4112. dialog "There's no need to"
  4113. dialog "rush. Take your time."
  4114. close
  4115. return
  4116. break
  4117. endchoose
  4118. elseif GetEquipWeaponLv[part] == 4 // Weapons레벨 4
  4119. dialog "[Hollgrehenn]"
  4120. dialog "Whoa...!"
  4121. dialog "A Level 4 weapon!"
  4122. dialog "Fabulous, I almost never see these. I guess one ^ff9999Oridecon^000000 and 20,000 Zeny will be enough. Do you really wish to Continue?"
  4123. wait
  4124. choose menu "Yes" "No"
  4125. case 1
  4126. if GetEquipPercentRefinery[part] < 100
  4127. dialog "[Hollgrehenn]"
  4128. dialog "Well, well..."
  4129. dialog "I regret to say this equipment"
  4130. dialog "already has been upgraded enough."
  4131. dialog "As I repeatedly say,"
  4132. dialog "you are not allowed to upgrade any equipment"
  4133. dialog "to a level that may destroy the item."
  4134. close
  4135. EnableItemMove
  4136. return
  4137. endif
  4138. if ((v[Oridecon] > 0) & (v[VAR_MONEY] > 19999))
  4139. dropitem Oridecon 1
  4140. dropgold 20000
  4141. else
  4142. EnableItemMove
  4143. dialog "[Hollgrehenn]"
  4144. dialog "You don't seem to have"
  4145. dialog "enough Zeny or Oridecon..."
  4146. dialog "Go get some more. I'll be"
  4147. dialog "here all day if you need me."
  4148. close
  4149. return
  4150. endif
  4151. break
  4152. case 2
  4153. EnableItemMove
  4154. dialog "[Hollgrehenn]"
  4155. dialog "Yeah..."
  4156. dialog "There's no need to"
  4157. dialog "rush. Take your time."
  4158. close
  4159. return
  4160. break
  4161. endchoose
  4162. endif
  4163. if GetEquipIsSuccessRefinery[part] == 1
  4164. dialog "[Hollgrehenn]"
  4165. SuccessRefItem part
  4166. dialog "There you go! It's been successfully upgraded."
  4167. close
  4168. else
  4169. dialog "[Hollgrehenn]"
  4170. dialog "Clang! Clang! Clang!"
  4171. wait
  4172. FailedRefItem part
  4173. dialog "[Hollgrehenn]"
  4174. dialog "OH! MY GOD!"
  4175. dialog "Damn it! Not again!"
  4176. dialog "I'm terribly sorry, but you know practice does make perfect."
  4177. dialog "Um, right? Heh heh..."
  4178. close
  4179. endif
  4180. EnableItemMove
  4181. return
  4182. //-------------제련관련 끝 ------------------------
  4183. // ---------------------퀘스트 스킬 job_changer.sc
  4184. npc "izlude" "Quest Skill Girl" 4_F_06 114 134 4 0 0
  4185. OnClick:
  4186. dialog "[Quest Skill Girl]"
  4187. dialog "Learn your job quest skills at once through me!"
  4188. wait
  4189. choose menu "Learn them all." "Cancel."
  4190. case 1
  4191. if ((v[VAR_JOB] == KNIGHT) | (v[VAR_JOB] == KNIGHT_H))
  4192. EventAddSkill KN_CHARGEATK 1
  4193. EventAddSkill SM_MOVINGRECOVERY 1
  4194. EventAddSkill SM_FATALBLOW 1
  4195. EventAddSkill SM_AUTOBERSERK 1
  4196. close
  4197. return
  4198. elseif ((v[VAR_JOB] == CRUSADER) | (v[VAR_JOB] == CRUSADER_H))
  4199. EventAddSkill CR_SHRINK 1
  4200. EventAddSkill SM_MOVINGRECOVERY 1
  4201. EventAddSkill SM_FATALBLOW 1
  4202. EventAddSkill SM_AUTOBERSERK 1
  4203. close
  4204. return
  4205. elseif ((v[VAR_JOB] == ASSASSIN) | (v[VAR_JOB] == ASSASSIN_H))
  4206. EventAddSkill AS_SONICACCEL 1
  4207. EventAddSkill AS_VENOMKNIFE 1
  4208. EventAddSkill TF_PICKSTONE 1
  4209. EventAddSkill TF_BACKSLIDING 1
  4210. EventAddSkill TF_SPRINKLESAND 1
  4211. EventAddSkill TF_THROWSTONE 1
  4212. close
  4213. return
  4214. elseif ((v[VAR_JOB] == ROGUE) | (v[VAR_JOB] == ROGUE_H))
  4215. EventAddSkill RG_CLOSECONFINE 1
  4216. EventAddSkill TF_PICKSTONE 1
  4217. EventAddSkill TF_BACKSLIDING 1
  4218. EventAddSkill TF_SPRINKLESAND 1
  4219. EventAddSkill TF_THROWSTONE 1
  4220. close
  4221. return
  4222. elseif ((v[VAR_JOB] == WIZARD) | (v[VAR_JOB] == WIZARD_H))
  4223. EventAddSkill MG_ENERGYCOAT 1
  4224. EventAddSkill WZ_SIGHTBLASTER 1
  4225. close
  4226. return
  4227. elseif ((v[VAR_JOB] == SAGE) | (v[VAR_JOB] == SAGE_H))
  4228. EventAddSkill SA_CREATECON 1
  4229. EventAddSkill SA_ELEMENTWATER 1
  4230. EventAddSkill SA_ELEMENTGROUND 1
  4231. EventAddSkill SA_ELEMENTFIRE 1
  4232. EventAddSkill SA_ELEMENTWIND 1
  4233. EventAddSkill MG_ENERGYCOAT 1
  4234. close
  4235. return
  4236. elseif ((v[VAR_JOB] == HUNTER) | (v[VAR_JOB] == HUNTER_H))
  4237. EventAddSkill HT_PHANTASMIC 1
  4238. EventAddSkill AC_MAKINGARROW 1
  4239. EventAddSkill AC_CHARGEARROW 1
  4240. close
  4241. return
  4242. elseif ((v[VAR_JOB] == BARD) | (v[VAR_JOB] == BARD_H))
  4243. EventAddSkill BA_PANGVOICE 1
  4244. EventAddSkill AC_MAKINGARROW 1
  4245. EventAddSkill AC_CHARGEARROW 1
  4246. close
  4247. return
  4248. elseif ((v[VAR_JOB] == DANCER) | (v[VAR_JOB] == DANCER_H))
  4249. EventAddSkill DC_WINKCHARM 1
  4250. EventAddSkill AC_MAKINGARROW 1
  4251. EventAddSkill AC_CHARGEARROW 1
  4252. close
  4253. return
  4254. elseif ((v[VAR_JOB] == BLACKSMITH) | (v[VAR_JOB] == BLACKSMITH_H))
  4255. EventAddSkill BS_UNFAIRLYTRICK 1
  4256. EventAddSkill BS_GREED 1
  4257. EventAddSkill MC_CARTREVOLUTION 1
  4258. EventAddSkill MC_CHANGECART 1
  4259. EventAddSkill MC_LOUD 1
  4260. close
  4261. return
  4262. elseif ((v[VAR_JOB] == ALCHEMIST) | (v[VAR_JOB] == ALCHEMIST_H))
  4263. EventAddSkill MC_CARTREVOLUTION 1
  4264. EventAddSkill MC_CHANGECART 1
  4265. EventAddSkill MC_LOUD 1
  4266. close
  4267. return
  4268. elseif ((v[VAR_JOB] == PRIEST) | (v[VAR_JOB] == PRIEST_H))
  4269. EventAddSkill PR_REDEMPTIO 1
  4270. EventAddSkill AL_HOLYLIGHT 1
  4271. close
  4272. return
  4273. elseif ((v[VAR_JOB] == MONK) | (v[VAR_JOB] == MONK_H))
  4274. EventAddSkill MO_KITRANSLATION 1
  4275. EventAddSkill MO_BALKYOUNG 1
  4276. EventAddSkill AL_HOLYLIGHT 1
  4277. close
  4278. return
  4279. else
  4280. dialog "[Quest Skill Girl]"
  4281. dialog "Sorry, you're not qualified. Now, go home!"
  4282. close
  4283. endif
  4284. break
  4285. case 2
  4286. dialog "[Quest Skill Girl]"
  4287. dialog "Alrighty~"
  4288. close
  4289. return
  4290. break
  4291. endchoose
  4292. return
  4293. //--------------대여/창고 서비스------------------------------------------
  4294. npc "izlude" "Rental and Storage Services" 4_F_KAFRA1 114 128 4 0 0
  4295. OnClick:
  4296. dialog "[Kafra Employee]"
  4297. dialog "Welcome to Kafra Corporation."
  4298. dialog "Kafra Corporation even supports their customers in RWC."
  4299. dialog "Please select a service."
  4300. wait
  4301. choose menu "Rent a PecoPeco" "Rent a Falcon" "Rent a Cart" "Storage Service"
  4302. case 1
  4303. dialog "[Kafra Employee]"
  4304. dialog "PecoPeco rental service fee is 2,500 zeny."
  4305. wait
  4306. if ((v[VAR_JOB] == KNIGHT) | (v[VAR_JOB] == KNIGHT_H) | (v[VAR_JOB] == CRUSADER) | (v[VAR_JOB] == CRUSADER_H))
  4307. choose menu "Rent" "Cancel"
  4308. case 1
  4309. if v[VAR_MONEY] < 2500
  4310. dialog "[Kafra Employee]"
  4311. dialog "I'm sorry, you don't have enough money."
  4312. close
  4313. return
  4314. endif
  4315. dropgold 2500
  4316. SetEffectStatus EFFECT_STATE_CHICKEN
  4317. break
  4318. case 2
  4319. dialog "[Kafra Employee]"
  4320. dialog "Have a good day."
  4321. close
  4322. break
  4323. endchoose
  4324. else
  4325. dialog "[Kafra Employee]"
  4326. dialog "I'm sorry, but your job is not eligible to use this service."
  4327. close
  4328. return
  4329. endif
  4330. break
  4331. case 2
  4332. dialog "[Kafra Employee]"
  4333. dialog "Falcon rental service fee is 2,500 zeny."
  4334. wait
  4335. if ((v[VAR_JOB] == HUNTER) | (v[VAR_JOB] == HUNTER_H))
  4336. choose menu "Rent" "Cancel"
  4337. case 1
  4338. if v[VAR_MONEY] < 2500
  4339. dialog "[Kafra Employee]"
  4340. dialog "I'm sorry, you don't have enough money."
  4341. close
  4342. return
  4343. endif
  4344. dropgold 2500
  4345. SetEffectStatus EFFECT_STATE_BIRD
  4346. break
  4347. case 2
  4348. dialog "[Kafra Employee]"
  4349. dialog "Have a good day."
  4350. close
  4351. break
  4352. endchoose
  4353. else
  4354. dialog "[Kafra Employee]"
  4355. dialog "I'm sorry, but your job is not eligible to use this service."
  4356. close
  4357. return
  4358. endif
  4359. break
  4360. case 3
  4361. if ((v[VAR_JOB] != MERCHANT) & (v[VAR_JOB] != BLACKSMITH_H) & (v[VAR_JOB] != ALCHEMIST_H))
  4362. dialog "[Kafra Employee]"
  4363. dialog "I'm sorry, but only Merchant, Blacksmith, and Alchemist Class"
  4364. dialog "characters are eligible to use this service."
  4365. close
  4366. elseif v[VAR_ISCARTON] == 1
  4367. dialog "[Kafra Employee]"
  4368. dialog "You're already equipped with a cart."
  4369. close
  4370. else
  4371. dialog "[Kafra Employee]"
  4372. dialog "Cart rental service fee is 800 zeny."
  4373. dialog "Would you like to use the service?"
  4374. wait
  4375. choose menu "Yes." "No."
  4376. case 1
  4377. if v[VAR_MONEY] >= 800
  4378. dropgold 800
  4379. cart on
  4380. else
  4381. dialog "[Kafra Employee]"
  4382. dialog "I'm sorry, you don't have enough money."
  4383. dialog "Cart rental service fee is 800 zeny."
  4384. close
  4385. return
  4386. endif
  4387. break
  4388. case 2
  4389. return
  4390. break
  4391. endchoose
  4392. endif
  4393. break
  4394. case 4
  4395. dialog "[Kafra Employee]"
  4396. dialog "Let me open your storage."
  4397. dialog "Thank you for using our service."
  4398. close
  4399. store
  4400. break
  4401. endchoose
  4402. return
  4403. //------------스킬, 스탯 재분배------------------------------------------
  4404. npc "izlude" "Hypnotist Switch#2" 4_F_TELEPORTER 245 245 4 0 0
  4405. OnClick:
  4406. dialog "Hypnotist Switch#2"
  4407. dialog "Please select a menu."
  4408. wait
  4409. choose menu "Operate" "Cancel"
  4410. case 1
  4411. dialog "[GM]2008 RWC Preliminary Match"
  4412. dialog "This is the skill and stat reset NPC's switch."
  4413. choose menu "Turn on" "Turn off"
  4414. case 1
  4415. dialog "Hypnotist Switch#2"
  4416. dialog "Hypnotist ON"
  4417. wait
  4418. enablenpc "Hypnotist#2"
  4419. close
  4420. return
  4421. break
  4422. case 2
  4423. dialog "Hypnotist Switch#2"
  4424. dialog "Hypnotist OFF"
  4425. wait
  4426. disablenpc "Hypnotist#2"
  4427. close
  4428. return
  4429. break
  4430. endchoose
  4431. break
  4432. case 2
  4433. break
  4434. endchoose
  4435. return
  4436. npc "izlude" "Hypnotist#2" 4_F_TELEPORTER 114 122 4 0 0
  4437. OnInit:
  4438. disablenpc "Hypnotist#2"
  4439. return
  4440. OnClick:
  4441. dialog "[Hypnotist]"
  4442. dialog "Welcome, my friend."
  4443. dialog "I'm here to provide"
  4444. dialog "skill and stat reset services at free of charge."
  4445. wait
  4446. dialog "[Hypnotist]"
  4447. dialog "Please feel free to use my services any time you wish."
  4448. wait
  4449. choose menu "^0000FFReset stat^000000" "^FF0000Reset skill^000000" "Cancel."
  4450. case 1
  4451. dialog "[Hypnotist]"
  4452. dialog "Make sure to put all of your belogings to Kafra storage,"
  4453. dialog "make your weight ^FF00000^000000, and release your ^ff0000cart^000000"
  4454. dialog "before I attempt ^FF0000reseting your stat points^000000."
  4455. wait
  4456. dialog "[Hypnotist]"
  4457. dialog "You have decided to use ^FF0000Stat Reset Service^000000."
  4458. dialog "Shall we continue?"
  4459. wait
  4460. choose menu "Yes" "No"
  4461. case 1
  4462. if (v[VAR_ISCARTON] != 0)
  4463. dialog "[Hypnotist]"
  4464. dialog "Please release your cart first."
  4465. close
  4466. return
  4467. endif
  4468. if (v[VAR_WEIGHT] > 0)
  4469. dialog "[Hypnotist]"
  4470. dialog "Please make your weight ^0000ff0^000000 first."
  4471. close
  4472. return
  4473. endif
  4474. dialog "[Hypnotist]"
  4475. dialog "Thank you for using my service."
  4476. ResetStat
  4477. close
  4478. return
  4479. break
  4480. case 2
  4481. dialog "[Hypnotist]"
  4482. dialog "Thank you for using my service."
  4483. close
  4484. break
  4485. endchoose
  4486. break
  4487. case 2
  4488. dialog "[Hypnotist]"
  4489. dialog "Make sure to put all of your belogings to Kafra storage,"
  4490. dialog "make your weight ^FF00000^000000, and release your ^ff0000cart^000000"
  4491. dialog "before I attempt ^FF0000reseting your skill points^000000."
  4492. wait
  4493. dialog "[Hypnotist]"
  4494. dialog "You have decided to use ^FF0000Skill Reset Service^000000."
  4495. dialog "Shall we continue?"
  4496. wait
  4497. choose menu "Yes" "No"
  4498. case 1
  4499. if (v[VAR_ISCARTON] != 0)
  4500. dialog "[Hypnotist]"
  4501. dialog "Please release your cart first."
  4502. close
  4503. return
  4504. endif
  4505. if (v[VAR_WEIGHT] > 0)
  4506. dialog "[Hypnotist]"
  4507. dialog "Please make your weight ^0000ff0^000000 first."
  4508. close
  4509. return
  4510. endif
  4511. dialog "[Hypnotist]"
  4512. dialog "Thank you for using my service."
  4513. ResetSkill
  4514. close
  4515. return
  4516. break
  4517. case 2
  4518. dialog "[Hypnotist]"
  4519. dialog "Thank you for using my service."
  4520. close
  4521. break
  4522. endchoose
  4523. break
  4524. case 3
  4525. dialog "[Hypnotist]"
  4526. dialog "Thank you for using my service."
  4527. close
  4528. break
  4529. endchoose
  4530. return
  4531. //-------------------------------------------
  4532. //----------------독약병 파는 npc-------------------
  4533. npc "izlude" "Merchant of Poison Bottle" 4_F_01 137 143 4 0 0
  4534. OnClick:
  4535. if (v[VAR_JOB] == ASSASSIN_H)
  4536. if (v[sign_q] == 1)
  4537. dialog "[Merchant]"
  4538. dialog "You have already bought Poison Bottles."
  4539. dialog "You are not able to buy Poison Bottles again."
  4540. dialog "Thank you."
  4541. close
  4542. else
  4543. dialog "[Merchant]"
  4544. dialog "You are an Assassin Cross."
  4545. dialog "^ff0000You can buy 3 Poison Bottles by paying 300000 zeny,"
  4546. dialog "just once only.^000000"
  4547. dialog "Would you like to buy??"
  4548. wait
  4549. choose menu "Buy" "Cancel"
  4550. case 1
  4551. if (v[VAR_MONEY] < 300000)
  4552. dialog "[Merchant]"
  4553. dialog "I am sorry, you don't have enough zeny."
  4554. dialog "Thank you."
  4555. close
  4556. else
  4557. dialog "[Merchant]"
  4558. dialog "Thank you for using our service."
  4559. dialog "Please keep in mind that"
  4560. dialog "you can buy Poison bottles only once."
  4561. dropgold 300000
  4562. setitem sign_q 1
  4563. getitem Poison_Bottle 3
  4564. close
  4565. endif
  4566. break
  4567. case 2
  4568. dialog "[Merchant]"
  4569. dialog "Please use our service next time."
  4570. close
  4571. break
  4572. endchoose
  4573. endif
  4574. else
  4575. dialog "[Merchant]"
  4576. dialog "Only assassin cross is eligible to sell 3 poison bottles for 300000 zeny,"
  4577. dialog "One time sell only."
  4578. close
  4579. endif
  4580. return
  4581. //------------염산병 화염병 파는 NPC---------------
  4582. npc "izlude" "Merchant of Acid Bottle, Bottle Grenade" 4_F_01 137 140 4 0 0
  4583. OnClick:
  4584. if (v[VAR_JOB] == ALCHEMIST_H)
  4585. if (v[sign_q] == 1)
  4586. dialog "[Merchant]"
  4587. dialog "You have already bought Acid Bottles and Bottles Grenade."
  4588. dialog "You are not able to buy Acid Bottles and Bottles Grenade again."
  4589. dialog "Thank you."
  4590. close
  4591. else
  4592. dialog "[Merchant]"
  4593. dialog "You are a Creator. "
  4594. dialog "^ff0000You can buy 5 Acid Bottles and 5 Bottles Grenade by paying 150000 zeny,"
  4595. dialog "just once only.^000000"
  4596. dialog "Would you like to buy??"
  4597. wait
  4598. choose menu "Buy" "Cancel"
  4599. case 1
  4600. if (v[VAR_MONEY] < 150000)
  4601. dialog "[Merchant]"
  4602. dialog "I am sorry, you don't have enough zeny."
  4603. dialog "Thank you."
  4604. close
  4605. else
  4606. dialog "[Merchant]"
  4607. dialog "Thank you for using our service."
  4608. dialog "Please keep in mind that"
  4609. dialog "you can buy Acid Bottles and Bottles Grenade only once."
  4610. dropgold 150000
  4611. setitem sign_q 1
  4612. getitem Acid_Bottle 5
  4613. getitem Fire_Bottle 5
  4614. close
  4615. endif
  4616. break
  4617. case 2
  4618. dialog "[Merchant]"
  4619. dialog "Please use our service next time."
  4620. close
  4621. break
  4622. endchoose
  4623. endif
  4624. else
  4625. dialog "[Merchant]"
  4626. dialog "Only Creator is eligible to sell 5 Acid Bottles or 5 Bottles Grenade for 300000 zeny."
  4627. dialog "One time sell only."
  4628. close
  4629. endif
  4630. return

2008RWC.sc