kvm_enter.txt 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. //===== rAthena Script =======================================
  2. //= BattleGround System - KvM Entrance NPCs
  3. //===== Description: =========================================
  4. //= [Official Conversion]
  5. //= Kreiger Von Midgard Battleground Entrance NPCs
  6. //= Original NPCs scrapped from bg_common.
  7. //===== Changelogs: ==========================================
  8. //= 1.0 First Version. [L0ne_W0lf]
  9. //= 1.1 Corrected some typos, and shifted messages around.
  10. //= Corrected iRO style quest log entries, however it's
  11. //= advisable that you not use them, as they conflict.
  12. //= 1.2 Added battle_config checks to allow this script to use the new queue interface or the previous method. [Aleos]
  13. //============================================================
  14. // KvM Officer - Guillaume
  15. //============================================================
  16. bat_room,164,178,5 script KVM Mercenary Officer#1 418,{
  17. if (getbattleflag("feature.bgqueue"))
  18. end;
  19. /*
  20. set .@kvm,checkquest(6026,PLAYTIME);
  21. if ((.@kvm == 0) || (.@kvm == 1)) {
  22. mes "[Croix Mercenary Officer]";
  23. mes "I know that you've already signed with the Croix. Go back and join their team. We will not accept traitors to fight for us.";
  24. close;
  25. }
  26. else if (.@kvm == 2) erasequest 6026;
  27. */
  28. set .@permit,checkquest(6025,PLAYTIME);
  29. if ((.@permit == 0) || (.@permit == 1)) {
  30. mes "[Guillaume Mercenary Officer]";
  31. mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
  32. close;
  33. }
  34. else if (.@permit == 2) erasequest 6025;
  35. mes "[Guillaume Mercenary Officer]";
  36. mes "Let them know the real might of Guillaume!";
  37. next;
  38. switch(select("I will fight with you.:End Conversation.")) {
  39. case 1:
  40. mes "[Guillaume Mercenary Officer]";
  41. mes "Show them how strong we are.";
  42. mes "Today, everyone will hear the shout of triumph from Guillaume!";
  43. close2;
  44. //setquest 6025;
  45. if (BaseLevel > 79) warp "bat_room",169,223;
  46. else if (BaseLevel < 60) warp "bat_room",197,223;
  47. else warp "bat_room",225,223;
  48. end;
  49. case 2:
  50. mes "[Guillaume Mercenary Officer]";
  51. mes "We will win!";
  52. close;
  53. }
  54. }
  55. // Guillaume Knight - KvM
  56. //============================================================
  57. bat_room,167,178,5 script Guillaume Knight#kvm 417,{
  58. mes "[Guillaume Knight]";
  59. mes "Hello.";
  60. mes "What do you want to know?";
  61. next;
  62. switch(select("Apply for KVM.:What is KVM?:How do I participate in KVM?:I want to know my Kreiger Points.")) {
  63. case 1:
  64. mes "[Guillaume Knight]";
  65. if (getbattleflag("feature.bgqueue"))
  66. mes "If you are ready for battle, click the ^0000FFbattle button from the interface^000000 to apply for KVM battle!";
  67. else {
  68. mes "Applications are not available yet.";
  69. mes "To apply, you need to go to a KVM Mercenary Officer.";
  70. }
  71. close;
  72. case 2:
  73. mes "[Guillaume Knight]";
  74. mes "KVM is the abbreviation of Kreiger Von Midgard.";
  75. mes "Adventurer, are you aware that the way to the new world has been opened?";
  76. next;
  77. mes "[Guillaume Knight]";
  78. mes "We, the Guillaume Administration, have several plans to advance to the new world.";
  79. mes "And KVM is one of them.";
  80. next;
  81. mes "[Guillaume Knight]";
  82. mes "It means that we, one of many countries in the Midgard continent,";
  83. mes "have decided to employ many adventurers for the immediate advance to the new world.";
  84. next;
  85. mes "[Guillaume Knight]";
  86. mes "Therefore, to select the best adventurers, we are holding the KVM.";
  87. mes "We exspect responses from many adventurers.";
  88. next;
  89. mes "[Guillaume Knight]";
  90. mes "And we will give them rewards for their participation!";
  91. mes "As for the rewards, please contact a KVM Logistic Officer.";
  92. close;
  93. case 3:
  94. mes "[Guillaume Knight]";
  95. if (getbattleflag("feature.bgqueue")) {
  96. mes "Basically, KVM is a 3 on 3 battle.";
  97. mes "Apply by clicking on the ^0000FFbattle button from the interface^000000, as a group or individually.";
  98. } else {
  99. mes "Basically, KVM is a 5 on 5 battle.";
  100. mes "First, you apply with a KVM receptionist, in a group or individually.";
  101. }
  102. next;
  103. mes "[Guillaume Knight]";
  104. if (getbattleflag("feature.bgqueue"))
  105. mes "Group applications are for when you intend to enter the KVM with your party or guild members,";
  106. else
  107. mes "Group applications are for when you intend to enter the KVM with your party members,";
  108. mes "and a personal application is for when you intend to enter the KVM individually.";
  109. next;
  110. mes "[Guillaume Knight]";
  111. if (getbattleflag("feature.bgqueue"))
  112. mes "Please be noted, once you cancel you ^0000FFcannot apply again for 1 minute^000000.";
  113. else {
  114. mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
  115. next;
  116. mes "[Guillaume Knight]";
  117. mes "Then you enter and follow the instructions in the battlefield.";
  118. next;
  119. mes "[Guillaume Knight]";
  120. mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
  121. }
  122. close;
  123. case 4:
  124. mes "[Guillaume Knight]";
  125. mes "Your Kreiger Points are:";
  126. mes ""+kvm_point+".";
  127. close;
  128. }
  129. }
  130. // KvM Officer - Croix
  131. //============================================================
  132. bat_room,164,121,1 script KVM Mercenary Officer#2 414,{
  133. if (getbattleflag("feature.bgqueue"))
  134. end;
  135. /*
  136. set .@kvm,checkquest(6025,PLAYTIME);
  137. if ((.@kvm == 0) || (.@kvm == 1)) {
  138. mes "[Croix Mercenary Officer]";
  139. mes "I know that you've already signed with the Guillaume. Go back and join their team. We will not accept traitors to fight for us.";
  140. close;
  141. }
  142. else if (.@kvm == 2) erasequest 6025;
  143. */
  144. set .@permit,checkquest(6025,PLAYTIME);
  145. if ((.@permit == 0) || (.@permit == 1)) {
  146. mes "[Croix Mercenary Officer]";
  147. mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
  148. close;
  149. }
  150. else if (.@permit == 2) erasequest 6025;
  151. mes "[Croix Mercenary Officer]";
  152. mes "Let them know the real might of Croix!";
  153. next;
  154. switch(select("I will fight with you.:End Conversation.")) {
  155. case 1:
  156. mes "[Croix Mercenary Officer]";
  157. mes "Show them how strong we are.";
  158. mes "Today, everyone will hear the shout of triumph from Croix!";
  159. close2;
  160. //setquest 6026;
  161. if (BaseLevel > 79) warp "bat_room",169,207;
  162. else if (BaseLevel < 60) warp "bat_room",197,207;
  163. else warp "bat_room",225,207;
  164. end;
  165. case 2:
  166. mes "[Croix Mercenary Officer]";
  167. mes "We will win!";
  168. close;
  169. }
  170. }
  171. // Croix Knight - KvM
  172. //============================================================
  173. bat_room,167,121,1 script Croix Knight#kvm 413,{
  174. mes "[Croix Knight]";
  175. mes "Hello.";
  176. mes "What do you want to know?";
  177. next;
  178. switch(select("Apply for KVM.:What is KVM?:How do I participate in KVM?:I want to know my Kreiger Points.")) {
  179. case 1:
  180. mes "[Croix Knight]";
  181. if (getbattleflag("feature.bgqueue"))
  182. mes "If you are ready for battle, click the ^0000FFbattle button from the interface^000000 to apply for KVM battle!";
  183. else {
  184. mes "Applications are not available yet.";
  185. mes "To apply, you need to go to a KVM Mercenary Officer.";
  186. }
  187. close;
  188. case 2:
  189. mes "[Croix Knight]";
  190. mes "KVM is the abbreviation of Kreiger Von Midgard.";
  191. mes "Adventurer, are you aware that the way to the new world has been opened?";
  192. next;
  193. mes "[Croix Knight]";
  194. mes "We, the Croix Administration, have several plans to advance to the new world.";
  195. mes "And KVM is one of them.";
  196. next;
  197. mes "[Croix Knight]";
  198. mes "It means that we, one of many countries in the Midgard continent,";
  199. mes "have decided to employ many adventurers for the immediate advance to the new world.";
  200. next;
  201. mes "[Croix Knight]";
  202. mes "Therefore, to select the best adventurers, we are holding the KVM.";
  203. mes "We exspect responses from many adventurers.";
  204. next;
  205. mes "[Croix Knight]";
  206. mes "And we will give them rewards for their participation!";
  207. mes "As for the rewards, please contact a KVM Logistic Officer.";
  208. close;
  209. case 3:
  210. mes "[Croix Knight]";
  211. if (getbattleflag("feature.bgqueue")) {
  212. mes "Basically, KVM is a 3 on 3 battle.";
  213. mes "Apply by clicking on the ^0000FFbattle button from the interface^000000, as a group or individually.";
  214. } else {
  215. mes "Basically, KVM is a 5 on 5 battle.";
  216. mes "First, you apply with a KVM receptionist, in a group or individually.";
  217. }
  218. next;
  219. mes "[Croix Knight]";
  220. if (getbattleflag("feature.bgqueue"))
  221. mes "Group applications are for when you intend to enter the KVM with your party or guild members,";
  222. else
  223. mes "Group applications are for when you intend to enter the KVM with your party members,";
  224. mes "and a personal application is for when you intend to enter the KVM individually.";
  225. next;
  226. mes "[Croix Knight]";
  227. if (getbattleflag("feature.bgqueue"))
  228. mes "Please be noted, once you cancel you ^0000FFcannot apply again for 1 minute^000000.";
  229. else {
  230. mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
  231. next;
  232. mes "[Croix Knight]";
  233. mes "Then you enter and follow the instructions in the battlefield.";
  234. next;
  235. mes "[Croix Knight]";
  236. mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
  237. }
  238. close;
  239. case 4:
  240. mes "[Croix Knight]";
  241. mes "Your Kreiger Points are:";
  242. mes ""+kvm_point+".";
  243. close;
  244. }
  245. }