OSDN Git Service

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