summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-11-03 08:15:05 -0200
committershennetsind <ind@henn.et>2014-11-03 08:15:05 -0200
commitbee4c9d36f4a27e39cc76dc5d6c5f876ed44a678 (patch)
tree79f9aec5171e8aed2d701bf67167f260e05f41db /npc/battleground/tierra
parent239d480487e24294975f35ed55f210837ad1088e (diff)
parentce3f4bfbe016ea69c855146667ba9bd9e0e2e221 (diff)
downloadhercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.gz
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.bz2
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.tar.xz
hercules-bee4c9d36f4a27e39cc76dc5d6c5f876ed44a678.zip
Merge branch 'master' of github.com:HerculesWS/Hercules
Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c
Diffstat (limited to 'npc/battleground/tierra')
-rw-r--r--npc/battleground/tierra/tierra01.txt70
-rw-r--r--npc/battleground/tierra/tierra02.txt70
-rw-r--r--npc/battleground/tierra/tierra_enter.txt292
3 files changed, 200 insertions, 232 deletions
diff --git a/npc/battleground/tierra/tierra01.txt b/npc/battleground/tierra/tierra01.txt
index 10e2bfc85..20f0fe096 100644
--- a/npc/battleground/tierra/tierra01.txt
+++ b/npc/battleground/tierra/tierra01.txt
@@ -28,7 +28,7 @@ OnInit:
end;
OnEnterBG:
- set $@TierraBG1_id1, waitingroom2bg("bat_a01",50,374,"start#bat_a01::OnGuillaumeQuit","");
+ $@TierraBG1_id1 = waitingroom2bg("bat_a01",50,374,"start#bat_a01::OnGuillaumeQuit","");
end;
}
@@ -40,7 +40,7 @@ OnInit:
end;
OnEnterBG:
- set $@TierraBG1_id2, waitingroom2bg("bat_a01",42,16,"start#bat_a01::OnCroixQuit","");
+ $@TierraBG1_id2 = waitingroom2bg("bat_a01",42,16,"start#bat_a01::OnCroixQuit","");
end;
}
@@ -59,11 +59,11 @@ OnStop:
OnTimer1000:
stopnpctimer;
initnpctimer;
- set .@chk_bat_a01,getmapusers("bat_a01");
+ .@chk_bat_a01 = getmapusers("bat_a01");
if (.@chk_bat_a01 < 1) {
- set $@TierraBG1,0; set $@TierraBG1_Victory, 0;
- if( $@TierraBG1_id1 ) { bg_destroy $@TierraBG1_id1; set $@TierraBG1_id1, 0; }
- if( $@TierraBG1_id2 ) { bg_destroy $@TierraBG1_id2; set $@TierraBG1_id2, 0; }
+ $@TierraBG1 = 0; $@TierraBG1_Victory = 0;
+ if( $@TierraBG1_id1 ) { bg_destroy $@TierraBG1_id1; $@TierraBG1_id1 = 0; }
+ if( $@TierraBG1_id2 ) { bg_destroy $@TierraBG1_id2; $@TierraBG1_id2 = 0; }
donpcevent "start#bat_a01::OnReadyCheck";
}
end;
@@ -73,7 +73,7 @@ bat_a01,352,342,0 script #bat_a01_quest_a -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -82,7 +82,7 @@ bat_a01,353,52,0 script #bat_a01_quest_b -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -127,15 +127,15 @@ OnCroixQuit:
OnReadyCheck:
if( $@TierraBG1 )
end;
- set .@Guillaume, getwaitingroomstate(0,"Lieutenant Kalos");
- set .@Croix, getwaitingroomstate(0,"Lieutenant Eyor");
+ .@Guillaume = getwaitingroomstate(0,"Lieutenant Kalos");
+ .@Croix = getwaitingroomstate(0,"Lieutenant Eyor");
if( !.@Guillaume && !.@Croix ) {
donpcevent "#bat_a01_timer::OnStop";
end;
}
else if( .@Guillaume < 10 || .@Croix < 10 )
end;
- set $@TierraBG1,1;
+ $@TierraBG1 = 1;
donpcevent "Lieutenant Kalos::OnEnterBG";
donpcevent "Lieutenant Eyor::OnEnterBG";
donpcevent "start#bat_a01::OnEnable";
@@ -163,7 +163,7 @@ OnMyMobDead:
if (mobcount("bat_a01","OBJ#bat_a01_a::OnMyMobDead") < 1) {
donpcevent "Battle Therapist#a01_a::OnStop";
donpcevent "Battle Therapist#a01_b::OnStop";
- set $@TierraBG1_Victory, 2;
+ $@TierraBG1_Victory = 2;
enablenpc "Guillaume Vintenar#a01_a";
enablenpc "Croix Vintenar#a01_b";
mapannounce "bat_a01", "Croix Vintenar Swandery: We destroyed Guillaume's Food Storage. We won that! Wow!",bc_map,"0xFFCE00";
@@ -186,7 +186,7 @@ OnMyMobDead:
if (mobcount("bat_a01","OBJ#bat_a01_b::OnMyMobDead") < 1) {
donpcevent "Battle Therapist#a01_a::OnStop";
donpcevent "Battle Therapist#a01_b::OnStop";
- set $@TierraBG1_Victory, 1;
+ $@TierraBG1_Victory = 1;
enablenpc "Guillaume Vintenar#a01_a";
enablenpc "Croix Vintenar#a01_b";
mapannounce "bat_a01", "Guillaume Vintenar Axl Rose : We destroyed Croix's Food Storage. We won that! Wow!",bc_map,"0xFFCE00";
@@ -198,7 +198,7 @@ OnMyMobDead:
bat_a01,15,18,3 script barricade#bat_a01_a CLEAR_NPC,{
OnEnable:
- for( set .@i,185; .@i < 202; set .@i,.@i+1 )
+ for (.@i = 185; .@i < 202; ++.@i)
bg_monster $@TierraBG1_id1,"bat_a01",.@i,266,"Barricade",1906,"barricade#bat_a01_a::OnMyMobDead";
setwall "bat_a01",186,266,16,6,1,"bat_a01_c1";
end;
@@ -220,7 +220,7 @@ OnMyMobDead:
bat_a01,15,19,3 script barricade#bat_a01_b CLEAR_NPC,{
OnEnable:
- for( set .@i,169; .@i < 186; set .@i,.@i+1 )
+ for (.@i = 169; .@i < 186; ++.@i)
bg_monster $@TierraBG1_id2,"bat_a01",.@i,129,"Barricade",1906,"barricade#bat_a01_b::OnMyMobDead";
setwall "bat_a01",170,129,16,6,1,"bat_a01_g1";
end;
@@ -634,16 +634,14 @@ OnTouch:
bat_a01,352,342,0 script A_CODE#bat_a01 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}
bat_a01,353,52,0 script B_CODE#bat_a01 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}
@@ -683,8 +681,8 @@ bat_a01,348,74,3 script Croix Camp#flag9 1_FLAG_EAGLE,{ end; }
bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
if (getcharid(4) == $@TierraBG1_id1) {
if ($@TierraBG1_Victory == 1) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -703,8 +701,8 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -725,8 +723,8 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
}
else {
if ($@TierraBG1_Victory == 2) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -745,8 +743,8 @@ bat_a01,53,377,3 script Guillaume Vintenar#a01_a 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -777,8 +775,8 @@ OnInit:
bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
if (getcharid(4) == $@TierraBG1_id2) {
if ($@TierraBG1_Victory == 2) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -797,8 +795,8 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+" Don't be sad.";
@@ -819,8 +817,8 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
}
else {
if ($@TierraBG1_Victory == 1) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+" Don't be sad.";
@@ -839,8 +837,8 @@ bat_a01,45,19,3 script Croix Vintenar#a01_b 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -924,7 +922,7 @@ bat_a01,356,326,3 script Guillaume Camp Soldier#bat_a01_guide 4_M_RASWORD,{
*/
bat_a01,1,1,3 script Release all#a01 4_DOG01,{
- set .@i, callfunc("F_GM_NPC",1854,0);
+ .@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "Cancelled.";
close;
diff --git a/npc/battleground/tierra/tierra02.txt b/npc/battleground/tierra/tierra02.txt
index 0e7cc773d..c79b20845 100644
--- a/npc/battleground/tierra/tierra02.txt
+++ b/npc/battleground/tierra/tierra02.txt
@@ -27,7 +27,7 @@ OnInit:
end;
OnEnterBG:
- set $@TierraBG2_id1, waitingroom2bg("bat_a02",50,374,"start#bat_a02::OnGuillaumeQuit","");
+ $@TierraBG2_id1 = waitingroom2bg("bat_a02",50,374,"start#bat_a02::OnGuillaumeQuit","");
end;
}
@@ -39,7 +39,7 @@ OnInit:
end;
OnEnterBG:
- set $@TierraBG2_id2, waitingroom2bg("bat_a02",42,16,"start#bat_a02::OnCroixQuit","");
+ $@TierraBG2_id2 = waitingroom2bg("bat_a02",42,16,"start#bat_a02::OnCroixQuit","");
end;
}
@@ -58,11 +58,11 @@ OnStop:
OnTimer1000:
stopnpctimer;
initnpctimer;
- set .@chk_bat_a02,getmapusers("bat_a02");
+ .@chk_bat_a02 = getmapusers("bat_a02");
if (.@chk_bat_a02 < 1) {
- set $@TierraBG2,0; set $@TierraBG2_Victory, 0;
- if( $@TierraBG2_id1 ) { bg_destroy $@TierraBG2_id1; set $@TierraBG2_id1, 0; }
- if( $@TierraBG2_id2 ) { bg_destroy $@TierraBG2_id2; set $@TierraBG2_id2, 0; }
+ $@TierraBG2 = 0; $@TierraBG2_Victory = 0;
+ if( $@TierraBG2_id1 ) { bg_destroy $@TierraBG2_id1; $@TierraBG2_id1 = 0; }
+ if( $@TierraBG2_id2 ) { bg_destroy $@TierraBG2_id2; $@TierraBG2_id2 = 0; }
donpcevent "start#bat_a02::OnReadyCheck";
}
end;
@@ -72,7 +72,7 @@ bat_a02,352,342,0 script #bat_a02_quest_a -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -81,7 +81,7 @@ bat_a02,353,52,0 script #bat_a02_quest_b -1,5,5,{
end;
OnTouch:
- if (checkquest(2069) < 0)
+ if (!questprogress(2069))
setquest 2069;
end;
}
@@ -126,15 +126,15 @@ OnCroixQuit:
OnReadyCheck:
if( $@TierraBG2 )
end;
- set .@Guillaume, getwaitingroomstate(0,"Lieutenant Rundel");
- set .@Croix, getwaitingroomstate(0,"Lieutenant Guerrit");
+ .@Guillaume = getwaitingroomstate(0,"Lieutenant Rundel");
+ .@Croix = getwaitingroomstate(0,"Lieutenant Guerrit");
if( !.@Guillaume && !.@Croix ) {
donpcevent "#bat_a02_timer::OnStop";
end;
}
else if( .@Guillaume < 10 || .@Croix < 10 )
end;
- set $@TierraBG2,1;
+ $@TierraBG2 = 1;
donpcevent "Lieutenant Rundel::OnEnterBG";
donpcevent "Lieutenant Guerrit::OnEnterBG";
donpcevent "start#bat_a02::OnEnable";
@@ -162,7 +162,7 @@ OnMyMobDead:
if (mobcount("bat_a02","OBJ#bat_a02_a::OnMyMobDead") < 1) {
donpcevent "Battle Therapist#a02_a::OnStop";
donpcevent "Battle Therapist#a02_b::OnStop";
- set $@TierraBG2_Victory, 2;
+ $@TierraBG2_Victory = 2;
enablenpc "Guillaume Vintenar#a02_a";
enablenpc "Croix Vintenar#a02_b";
mapannounce "bat_a02", "Croix Vintenar Swandery: We destroyed Guillaume's Food Storage. We won that! Wow!",bc_map,"0xFFCE00";
@@ -185,7 +185,7 @@ OnMyMobDead:
if (mobcount("bat_a02","OBJ#bat_a02_b::OnMyMobDead") < 1) {
donpcevent "Battle Therapist#a02_a::OnStop";
donpcevent "Battle Therapist#a02_b::OnStop";
- set $@TierraBG2_Victory, 1;
+ $@TierraBG2_Victory = 1;
enablenpc "Guillaume Vintenar#a02_a";
enablenpc "Croix Vintenar#a02_b";
mapannounce "bat_a02", "Guillaume Vintenar Axl Rose : We destroyed Croix's Food Storage. We won that! Wow!",bc_map,"0xFFCE00";
@@ -197,7 +197,7 @@ OnMyMobDead:
bat_a02,15,18,3 script barricade#bat_a02_a CLEAR_NPC,{
OnEnable:
- for( set .@i,185; .@i < 202; set .@i,.@i+1 )
+ for (.@i = 185; .@i < 202; ++.@i)
bg_monster $@TierraBG2_id1,"bat_a02",.@i,266,"Barricade",1906,"barricade#bat_a02_a::OnMyMobDead";
setwall "bat_a02",186,266,16,6,1,"bat_a02_c1";
end;
@@ -219,7 +219,7 @@ OnMyMobDead:
bat_a02,15,19,3 script barricade#bat_a02_b CLEAR_NPC,{
OnEnable:
- for( set .@i,169; .@i < 186; set .@i,.@i+1 )
+ for (.@i = 169; .@i < 186; ++.@i)
bg_monster $@TierraBG2_id2,"bat_a02",.@i,129,"Barricade",1906,"barricade#bat_a02_b::OnMyMobDead";
setwall "bat_a02",170,129,16,6,1,"bat_a02_g1";
end;
@@ -633,16 +633,14 @@ OnTouch:
bat_a02,352,342,0 script A_CODE#bat_a02 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}
bat_a02,353,52,0 script B_CODE#bat_a02 -1,5,5,{
OnTouch:
- set .@chk_bfquest,checkquest(2069);
- if ((.@chk_bfquest == 0) || (.@chk_bfquest == 1))
+ if (questprogress(2069) == 1)
setquest 2069;
end;
}
@@ -682,8 +680,8 @@ bat_a02,348,74,3 script Croix Camp#flag19 1_FLAG_EAGLE,{ end; }
bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
if (getcharid(4) == $@TierraBG2_id1) {
if ($@TierraBG2_Victory == 1) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -702,8 +700,8 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -724,8 +722,8 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
}
else {
if ($@TierraBG2_Victory == 2) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Axl Rose]";
mes "You lost, but you're dedicated to this battle.";
@@ -744,8 +742,8 @@ bat_a02,53,377,3 script Guillaume Vintenar#a02_a 4_M_KY_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Axl Rose]";
mes "Blessed Guillaume!";
@@ -776,8 +774,8 @@ OnInit:
bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
if (getcharid(4) == $@TierraBG2_id2) {
if ($@TierraBG2_Victory == 2) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -796,8 +794,8 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+" Don't be sad.";
@@ -818,8 +816,8 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
}
else {
if ($@TierraBG2_Victory == 1) {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 0) {
mes "[Swandery]";
mes "Oh, "+strcharinfo(0)+" Don't be sad.";
@@ -838,8 +836,8 @@ bat_a02,45,19,3 script Croix Vintenar#a02_b 4_M_CRU_HEAD,{
}
}
else {
- set .@your_medal,countitem(7828);
- set .@medal_gap, 500 - .@your_medal;
+ .@your_medal = countitem(7828);
+ .@medal_gap = 500 - .@your_medal;
if (.@medal_gap > 2) {
mes "[Swandery]";
mes "Blessed Croix!";
@@ -923,7 +921,7 @@ bat_a02,356,326,3 script Guillaume Camp Soldier#bat_a02_guide 4_M_RASWORD,{
*/
bat_a02,1,1,3 script Release all#a02 4_DOG01,{
- set .@i, callfunc("F_GM_NPC",1854,0);
+ .@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "Cancelled.";
close;
diff --git a/npc/battleground/tierra/tierra_enter.txt b/npc/battleground/tierra/tierra_enter.txt
index e68058247..19ceb732e 100644
--- a/npc/battleground/tierra/tierra_enter.txt
+++ b/npc/battleground/tierra/tierra_enter.txt
@@ -31,48 +31,41 @@ bat_room,124,178,5 script Tierra Gorge Officer#01a 4_M_KY_KNT,{
if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
mes "[Guillaume Army Officer]";
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.";
+ break;
}
- else {
- if (BaseLevel < 80) {
- mes "[Guillaume Army Officer]";
- 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.";
- }
- else {
- set .@chk_urtime,checkquest(2069,PLAYTIME);
- if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
- mes "[Guillaume Army Officer]";
- mes "You seem to have just returned from the battlefield.";
- mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
- }
- else {
- if (.@chk_urtime == 2)
- erasequest 2069;
- set .@mapcount,getmapusers("bat_a01");
- if (.@mapcount > 0) {
- mes "[Guillaume Army Officer]";
- mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- if ($@TierraBG1) {
- mes "[Guillaume Army Officer]";
- mes "An elite corps is already standing by to be dispatched to the battlefield.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- mes "[Guillaume Army Officer]";
- mes "You definitely seem to be ready for battle!";
- mes "Go show the Croixs what fear truly means!";
- mes "Today, our cry of victory shall echo all over the battlefield!";
- close2;
- warp "bat_room",57,223;
- end;
- }
- }
- }
- }
+ if (BaseLevel < 80) {
+ mes "[Guillaume Army Officer]";
+ 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.";
+ break;
}
- break;
+ .@chk_urtime = questprogress(2069,PLAYTIME);
+ if (.@chk_urtime == 1) {
+ mes "[Guillaume Army Officer]";
+ mes "You seem to have just returned from the battlefield.";
+ mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
+ break;
+ }
+ if (.@chk_urtime == 2)
+ erasequest 2069;
+ if (getmapusers("bat_a01") > 0) {
+ mes "[Guillaume Army Officer]";
+ mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ if ($@TierraBG1) {
+ mes "[Guillaume Army Officer]";
+ mes "An elite corps is already standing by to be dispatched to the battlefield.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ mes "[Guillaume Army Officer]";
+ mes "You definitely seem to be ready for battle!";
+ mes "Go show the Croixs what fear truly means!";
+ mes "Today, our cry of victory shall echo all over the battlefield!";
+ close2;
+ warp "bat_room",57,223;
+ end;
case 2:
mes "[Guillaume Army Officer]";
mes "Today, we shall be victorious!";
@@ -98,48 +91,41 @@ bat_room,140,178,5 script Tierra Gorge Officer#02a 4_M_KY_KNT,{
if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
mes "[Guillaume Army Officer]";
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.";
+ break;
}
- else {
- if (BaseLevel < 80) {
- mes "[Guillaume Army Officer]";
- 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.";
- }
- else {
- set .@chk_urtime,checkquest(2069,PLAYTIME);
- if (.@chk_urtime == 1) {
- mes "[Guillaume Army Officer]";
- mes "You seem to have just returned from the battlefield.";
- mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
- }
- else {
- if (.@chk_urtime == 2)
- erasequest 2069;
- set .@mapcount,getmapusers("bat_a02");
- if (.@mapcount > 0) {
- mes "[Guillaume Army Officer]";
- mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- if ($@TierraBG2) {
- mes "[Guillaume Army Officer]";
- mes "An elite corps is already standing by to be dispatched to the battlefield.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- mes "[Guillaume Army Officer]";
- mes "You definitely seem to be ready for battle!";
- mes "Go show the Croixs what fear truly means!";
- mes "Today, our cry of victory shall echo all over the battlefield!";
- close2;
- warp "bat_room",114,223;
- end;
- }
- }
- }
- }
+ if (BaseLevel < 80) {
+ mes "[Guillaume Army Officer]";
+ 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.";
+ break;
}
- break;
+ .@chk_urtime = questprogress(2069,PLAYTIME);
+ if (.@chk_urtime == 1) {
+ mes "[Guillaume Army Officer]";
+ mes "You seem to have just returned from the battlefield.";
+ mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
+ break;
+ }
+ if (.@chk_urtime == 2)
+ erasequest 2069;
+ if (getmapusers("bat_a02") > 0) {
+ mes "[Guillaume Army Officer]";
+ mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ if ($@TierraBG2) {
+ mes "[Guillaume Army Officer]";
+ mes "An elite corps is already standing by to be dispatched to the battlefield.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ mes "[Guillaume Army Officer]";
+ mes "You definitely seem to be ready for battle!";
+ mes "Go show the Croixs what fear truly means!";
+ mes "Today, our cry of victory shall echo all over the battlefield!";
+ close2;
+ warp "bat_room",114,223;
+ end;
case 2:
mes "[Guillaume Army Officer]";
mes "Today, we shall be victorious!";
@@ -263,48 +249,41 @@ bat_room,125,121,1 script Tierra Gorge Officer#01b 4_M_CRU_KNT,{
if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
mes "[Croix Army Officer]";
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.";
+ break;
}
- else {
- if (BaseLevel < 80) {
- mes "[Croix Army Officer]";
- 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.";
- }
- else {
- set .@chk_urtime,checkquest(2069,PLAYTIME);
- if ((.@chk_urtime == 0)|| (.@chk_urtime == 1)) {
- mes "[Croix Army Officer]";
- mes "You seem to have just returned from the battlefield.";
- mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
- }
- else {
- if (.@chk_urtime == 2)
- erasequest 2069;
- set .@mapcount,getmapusers("bat_a02");
- if (.@mapcount > 0) {
- mes "[Croix Army Officer]";
- mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- if ($@TierraBG1) {
- mes "[Croix Army Officer]";
- mes "An elite corps is already standing by to be dispatched to the battlefield.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- mes "[Croix Army Officer]";
- mes "You definitely seem to be ready for battle!";
- mes "Go show the Guillaumes what fear truly means!";
- mes "Today, our cry of victory shall echo all over the battlefield!";
- close2;
- warp "bat_room",57,207;
- end;
- }
- }
- }
- }
+ if (BaseLevel < 80) {
+ mes "[Croix Army Officer]";
+ 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.";
+ break;
}
- break;
+ .@chk_urtime = questprogress(2069,PLAYTIME);
+ if (.@chk_urtime == 1) {
+ mes "[Croix Army Officer]";
+ mes "You seem to have just returned from the battlefield.";
+ mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
+ break;
+ }
+ if (.@chk_urtime == 2)
+ erasequest 2069;
+ if (getmapusers("bat_a02") > 0) {
+ mes "[Croix Army Officer]";
+ mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ if ($@TierraBG1) {
+ mes "[Croix Army Officer]";
+ mes "An elite corps is already standing by to be dispatched to the battlefield.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ mes "[Croix Army Officer]";
+ mes "You definitely seem to be ready for battle!";
+ mes "Go show the Guillaumes what fear truly means!";
+ mes "Today, our cry of victory shall echo all over the battlefield!";
+ close2;
+ warp "bat_room",57,207;
+ end;
case 2:
mes "[Croix Army Officer]";
mes "Today, we shall be victorious!";
@@ -330,48 +309,41 @@ bat_room,140,121,1 script Tierra Gorge Officer#02b 4_M_CRU_KNT,{
if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
mes "[Croix Army Officer]";
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.";
+ break;
}
- else {
- if (BaseLevel < 80) {
- mes "[Croix Army Officer]";
- 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.";
- }
- else {
- set .@chk_urtime,checkquest(2069,PLAYTIME);
- if (.@chk_urtime == 1) {
- mes "[Croix Army Officer]";
- mes "You seem to have just returned from the battlefield.";
- mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
- }
- else {
- if (.@chk_urtime == 2)
- erasequest 2069;
- set .@mapcount,getmapusers("bat_a02");
- if (.@mapcount > 0) {
- mes "[Croix Army Officer]";
- mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- if ($@TierraBG2) {
- mes "[Croix Army Officer]";
- mes "An elite corps is already standing by to be dispatched to the battlefield.";
- mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
- }
- else {
- mes "[Croix Army Officer]";
- mes "You definitely seem to be ready for battle!";
- mes "Go show the Guillaumes what fear truly means!";
- mes "Today, our cry of victory shall echo all over the battlefield!";
- close2;
- warp "bat_room",114,207;
- end;
- }
- }
- }
- }
+ if (BaseLevel < 80) {
+ mes "[Croix Army Officer]";
+ 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.";
+ break;
}
- break;
+ .@chk_urtime = questprogress(2069,PLAYTIME);
+ if (.@chk_urtime == 1) {
+ mes "[Croix Army Officer]";
+ mes "You seem to have just returned from the battlefield.";
+ mes "It's too early for you to go back. Go rest, and leave the enemies to us!";
+ break;
+ }
+ if (.@chk_urtime == 2)
+ erasequest 2069;
+ if (getmapusers("bat_a02") > 0) {
+ mes "[Croix Army Officer]";
+ mes "I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ if ($@TierraBG2) {
+ mes "[Croix Army Officer]";
+ mes "An elite corps is already standing by to be dispatched to the battlefield.";
+ mes "Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.";
+ break;
+ }
+ mes "[Croix Army Officer]";
+ mes "You definitely seem to be ready for battle!";
+ mes "Go show the Guillaumes what fear truly means!";
+ mes "Today, our cry of victory shall echo all over the battlefield!";
+ close2;
+ warp "bat_room",114,207;
+ end;
case 2:
mes "[Croix Army Officer]";
mes "Today, we shall be victorious!";