flavius_enter.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. //===== rAthena Script =======================================
  2. // BattleGround System - Flavius Entrance NPCs
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena 1.0
  9. //===== Description: =========================================
  10. //= [AEGIS Conversion]
  11. //= Flavius Battleground Entrance NPCs
  12. //===== Additional Comments: =================================
  13. //= 1.0 First Version.
  14. //============================================================
  15. // Flavius Officer - Guillaume
  16. //============================================================
  17. bat_room,133,178,5 script Flavius Officer#01a 418,{
  18. if (checkweight(1201,1) == 0) {
  19. mes "- Wait a minute !! -";
  20. mes "- Currently you're carrying -";
  21. mes "- too many items with you. -";
  22. mes "- Please try again -";
  23. mes "- after you loose some weight. -";
  24. close;
  25. }
  26. mes "[Guillaume Army Officer]";
  27. mes "Let's show the power of the Guillaume Army to those stinky Croixs!";
  28. next;
  29. switch(select("I want to join your army!:End Conversation")) {
  30. case 1:
  31. if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) {
  32. mes "[Guillaume Army Officer]";
  33. mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  34. }
  35. else {
  36. if (BaseLevel < 80) {
  37. mes "[Guillaume Army Officer]";
  38. mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  39. }
  40. else {
  41. set .@chk_urtime,checkquest(2070,PLAYTIME);
  42. if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
  43. mes "[Guillaume Army Officer]";
  44. mes "You seem to have just returned from the battlefield.";
  45. mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
  46. }
  47. else {
  48. if (.@chk_urtime == 2)
  49. erasequest 2070;
  50. set .@mapcount2,getmapusers("bat_b01");
  51. if (.@mapcount2 > 0) {
  52. mes "[Guillaume Army Officer]";
  53. mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
  54. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  55. }
  56. else {
  57. if ($@FlaviusBG1 > 0) {
  58. mes "[Guillaume Army Officer]";
  59. mes "An elite corps is already standing by to be dispatched to the battlefield.";
  60. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  61. }
  62. else {
  63. mes "[Guillaume Army Officer]";
  64. mes "You definitely seem to be ready for battle!";
  65. mes "Go show the Croixs what fear truly means!";
  66. mes "Today, our cry of victory shall echo all over the battlefield!";
  67. close2;
  68. warp "bat_room",85,223;
  69. end;
  70. }
  71. }
  72. }
  73. }
  74. }
  75. break;
  76. case 2:
  77. mes "[Guillaume Army Officer]";
  78. mes "Today, we shall be victorious!";
  79. break;
  80. }
  81. close;
  82. }
  83. bat_room,133,121,1 script Flavius Officer#01b 414,{
  84. if (checkweight(1201,1) == 0) {
  85. mes "- Wait a minute !! -";
  86. mes "- Currently you're carrying -";
  87. mes "- too many items with you. -";
  88. mes "- Please try again -";
  89. mes "- after you loose some weight. -";
  90. close;
  91. }
  92. mes "[Croix Army Officer]";
  93. mes "Let's show the Guillaumes the power of the Croix Army!";
  94. next;
  95. switch(select("I want to join your army!:End Conversation")) {
  96. case 1:
  97. if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) {
  98. mes "[Croix Army Officer]";
  99. mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  100. }
  101. else {
  102. if (BaseLevel < 80) {
  103. mes "[Croix Army Officer]";
  104. mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  105. }
  106. else {
  107. set .@chk_urtime,checkquest(2070,PLAYTIME);
  108. if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
  109. mes "[Croix Army Officer]";
  110. mes "You seem to have just returned from the battlefield.";
  111. mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
  112. }
  113. else {
  114. if (.@chk_urtime == 2)
  115. erasequest 2070;
  116. set .@mapcount2,getmapusers("bat_b01");
  117. if (.@mapcount2 > 0) {
  118. mes "[Croix Army Officer]";
  119. mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
  120. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  121. }
  122. else {
  123. if ($@FlaviusBG1 > 0) {
  124. mes "[Croix Army Officer]";
  125. mes "An elite corps is already standing by to be dispatched to the battlefield.";
  126. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  127. }
  128. else {
  129. mes "[Croix Army Officer]";
  130. mes "You definitely seem to be ready for battle!";
  131. mes "Go show the Guillaumes what fear truly means!";
  132. mes "Today, our cry of victory shall echo all over the battlefield!";
  133. close2;
  134. warp "bat_room",85,207;
  135. end;
  136. }
  137. }
  138. }
  139. }
  140. }
  141. break;
  142. case 2:
  143. mes "[Croix Army Officer]";
  144. mes "Today, we shall be victorious!";
  145. break;
  146. }
  147. close;
  148. }
  149. bat_room,135,178,5 script Guillaume Knight#3 417,{
  150. mes "[Guillaume Knight]";
  151. mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
  152. next;
  153. mes "[Guillaume Knight]";
  154. mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
  155. next;
  156. mes "[Guillaume Knight]";
  157. mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
  158. next;
  159. mes "[Guillaume Knight]";
  160. mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
  161. next;
  162. mes "[Guillaume Knight]";
  163. mes "Please remember: when you join a battle, you will be receiving a token which indicates the set duration for which you cannot participate in the same type of battle.";
  164. mes "You may check the duration by pressing the Alt+U keys.";
  165. next;
  166. mes "[Guillaume Knight]";
  167. mes "Are you ready for battle? Then apply with the recruiter next to me!";
  168. close;
  169. }
  170. bat_room,151,178,5 script Guillaume Knight#4 417,{
  171. mes "[Guillaume Knight]";
  172. mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
  173. next;
  174. mes "[Guillaume Knight]";
  175. mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
  176. next;
  177. mes "[Guillaume Knight]";
  178. mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
  179. next;
  180. mes "[Guillaume Knight]";
  181. mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
  182. next;
  183. mes "[Guillaume Knight]";
  184. mes "Please remember: when you join a battle, you will be receiving a token which indicates the set duration for which you cannot participate in the same type of battle.";
  185. mes "You may check the duration by pressing the Alt+U keys.";
  186. next;
  187. mes "[Guillaume Knight]";
  188. mes "Are you ready for battle? Then apply with the recruiter next to me!";
  189. close;
  190. }
  191. bat_room,135,121,1 script Croix Knight#3 413,{
  192. mes "[Croix Knight]";
  193. mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
  194. next;
  195. mes "[Croix Knight]";
  196. mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
  197. next;
  198. mes "[Croix Knight]";
  199. mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
  200. next;
  201. mes "[Croix Knight]";
  202. mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
  203. next;
  204. mes "[Croix Knight]";
  205. mes "Please remember: when you join a battle, you will be receiving a token which indicates the set duration for which you cannot participate in the same type of battle.";
  206. mes "You may check the duration by pressing the Alt+U keys.";
  207. next;
  208. mes "[Croix Knight]";
  209. mes "Are you ready for battle? Then apply with the recruiter next to me!";
  210. close;
  211. }
  212. bat_room,151,121,1 script Croix Knight#4 413,{
  213. mes "[Croix Knight]";
  214. mes "The objective of the Flavius Battle is to score 2 points before your enemy by destroying their crystal.";
  215. next;
  216. mes "[Croix Knight]";
  217. mes "The crystals for both armies are protected by special barricades that cannot be destroyed by direct attacks.";
  218. next;
  219. mes "[Croix Knight]";
  220. mes "But they can be removed by destroying the Guardians that protect the enemy army base.";
  221. next;
  222. mes "[Croix Knight]";
  223. mes "The crystals are immune to every type of skill; your physical attacks are the only choice for destroying your enemy's crystal.";
  224. next;
  225. mes "[Croix Knight]";
  226. mes "Please remember: when you join a battle, you will be receiving a token which indicates the set duration for which you cannot participate in the same type of battle.";
  227. mes "You may check the duration by pressing the Alt+U keys.";
  228. next;
  229. mes "[Croix Knight]";
  230. mes "Are you ready for battle? Then apply with the recruiter next to me!";
  231. close;
  232. }
  233. // Flavius Officer - Croix
  234. //============================================================
  235. bat_room,148,178,5 script Flavius Officer#02a 418,{
  236. if (checkweight(1201,1) == 0) {
  237. mes "- Wait a minute !! -";
  238. mes "- Currently you're carrying -";
  239. mes "- too many items with you. -";
  240. mes "- Please try again -";
  241. mes "- after you loose some weight. -";
  242. close;
  243. }
  244. mes "[Guillaume Army Officer]";
  245. mes "Let's show the power of the Guillaume Army to those stinky Croixs!";
  246. next;
  247. switch(select("I want to join your army!:End Conversation")) {
  248. case 1:
  249. if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) {
  250. mes "[Guillaume Army Officer]";
  251. mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  252. }
  253. else {
  254. if (BaseLevel < 80) {
  255. mes "[Guillaume Army Officer]";
  256. mes "I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  257. }
  258. else {
  259. set .@chk_urtime,checkquest(2070,PLAYTIME);
  260. if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
  261. mes "[Guillaume Army Officer]";
  262. mes "You seem to have just returned from the battlefield.";
  263. mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
  264. }
  265. else {
  266. if (.@chk_urtime == 2)
  267. erasequest 2070;
  268. set .@mapcount2,getmapusers("bat_b02");
  269. if (.@mapcount2 > 0) {
  270. mes "[Guillaume Army Officer]";
  271. mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
  272. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  273. }
  274. else {
  275. if ($@FlaviusBG2 > 0) {
  276. mes "[Guillaume Army Officer]";
  277. mes "An elite corps is already standing by to be dispatched to the battlefield.";
  278. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  279. }
  280. else {
  281. mes "[Guillaume Army Officer]";
  282. mes "You definitely seem to be ready for battle!";
  283. mes "Go show the Croixs what fear truly means!";
  284. mes "Today, our cry of victory shall echo all over the battlefield!";
  285. close2;
  286. warp "bat_room",141,224;
  287. end;
  288. }
  289. }
  290. }
  291. }
  292. }
  293. break;
  294. case 2:
  295. mes "[Guillaume Army Officer]";
  296. mes "Today, we shall be victorious!";
  297. break;
  298. }
  299. close;
  300. }
  301. bat_room,148,121,1 script Flavius Officer#02b 414,{
  302. if (checkweight(1201,1) == 0) {
  303. mes "- Wait a minute !! -";
  304. mes "- Currently you're carrying -";
  305. mes "- too many items with you. -";
  306. mes "- Please try again -";
  307. mes "- after you loose some weight. -";
  308. close;
  309. }
  310. mes "[Croix Army Officer]";
  311. mes "Let's show the power of the Croix Army to those stinky Guillaumes!";
  312. next;
  313. switch(select("I want to join your army!:End Conversation")) {
  314. case 1:
  315. if ((Class == job_Novice) || (BaseClass == Job_Supernovice)) {
  316. mes "[Croix Army Officer]";
  317. mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  318. }
  319. else {
  320. if (BaseLevel < 80) {
  321. mes "[Croix Army Officer]";
  322. mes "I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.";
  323. }
  324. else {
  325. set .@chk_urtime,checkquest(2070,PLAYTIME);
  326. if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
  327. mes "[Croix Army Officer]";
  328. mes "You seem to have just returned from the battlefield.";
  329. mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
  330. }
  331. else {
  332. if (.@chk_urtime == 2)
  333. erasequest 2070;
  334. set .@mapcount2,getmapusers("bat_b02");
  335. if (.@mapcount2 > 0) {
  336. mes "[Croix Army Officer]";
  337. mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
  338. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  339. }
  340. else {
  341. if ($@FlaviusBG2 > 0) {
  342. mes "[Croix Army Officer]";
  343. mes "An elite corps is already standing by to be dispatched to the battlefield.";
  344. mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
  345. }
  346. else {
  347. mes "[Croix Army Officer]";
  348. mes "You definitely seem to be ready for battle!";
  349. mes "Go show the Guillaumes what fear truly means!";
  350. mes "Today, our cry of victory shall echo all over the battlefield!";
  351. close2;
  352. warp "bat_room",141,207;
  353. end;
  354. }
  355. }
  356. }
  357. }
  358. }
  359. break;
  360. case 2:
  361. mes "[Croix Army Officer]";
  362. mes "Today, we shall be victorious!";
  363. break;
  364. }
  365. close;
  366. }