switch( .Index ) { // Rotate Castle case 0: set .Castle$,"schg_cas03"; set .GX,264; set .GY,379; set .CX,295; set .CY,379; set .DX,120; set .DY,290; set .AX,119; set .AY, 8; break; case 1: set .Castle$,"schg_cas04"; set .GX, 90; set .GY,311; set .CX,113; set .CY,311; set .DX,136; set .DY,188; set .AX,339; set .AY, 78; break; case 2: set .Castle$,"schg_cas05"; set .GX, 28; set .GY, 50; set .CX, 87; set .CY, 50; set .DX,308; set .DY,208; set .AX,337; set .AY,330; break; case 3: set .Castle$,"arug_cas03"; set .GX, 30; set .GY,381; set .CX,126; set .CY,357; set .DX, 67; set .DY,193; set .AX,275; set .AY, 93; break; case 4: set .Castle$,"arug_cas04"; set .GX,298; set .GY,339; set .CX,298; set .CY,308; set .DX, 43; set .DY,256; set .AX,139; set .AY, 31; break; case 5: set .Castle$,"arug_cas05"; set .GX,313; set .GY,154; set .CX,330; set .CY,154; set .DX,121; set .DY,318; set .AX,141; set .AY, 45; break; }
set $@BG_Team1,bg_team_create(.Castle$,.GX,.GY,0,"Conquest::OnGuillaumeQuit",""); set $@BG_Team2,bg_team_create(.Castle$,.CX,.CY,1,"Conquest::OnCroixQuit",""); end;
bg_monster .Defender,.Castle$,141,293,"Emperium",2107,"Conquest::OnEmperium"; break; } set .Stone, 2; set .Wall1, 6; set .Wall2, 6; set .Wall3, 4; // ====================================== donpcevent "::OnEmblemConquest"; sleep 2000; bg_warp .Defender,.Castle$,.DX,.DY; // Flag Respawn - Emperium bg_warp .Atacker,.Castle$,.AX,.AY; // Castle Entrance sleep 4000; if( .Atacker == $@BG_Team1 ) mapannounce .Castle$,"General Guillaume : Move on warriors!! Let's capture this Castle!!",1,0x0000FF; else mapannounce .Castle$,"Prince Croix : Move on warriors!! Let's capture this Castle!!",1,0xFF0000; sleep 4000; if( .Defender == $@BG_Team1 ) mapannounce .Castle$,"General Guillaume : Protect the Castle and it's defenses to all cost!!",1,0x0000FF;
else mapannounce .Castle$,"Prince Croix : Protect the Castle and it's defenses to all cost!!",1,0xFF0000; end;
OnGuardianStone1: set .Stone, .Stone - 1; set .Score, .Score + 1; if( .Stone > 0 ) mapannounce .Castle$,"1st Guardian Stone has fallen - 6 minutes to destroy the 2nd",1,0xFFA500; donpcevent "Conquest::OnCheckGStone"; end;
OnGuardianStone2: set .Stone, .Stone - 1; set .Score, .Score + 1; if( .Stone > 0 ) mapannounce .Castle$,"2nd Guardian Stone has fallen - 6 minutes to destroy the 1st",1,0xFFA500; donpcevent "Conquest::OnCheckGStone"; end;
OnCheckGStone: initnpctimer; if( .Stone < 1 ) { mapannounce .Castle$,"Both Guardian Stones has fallen - 6 minutes to destroy the 1st Fortress Gate",1,0xFFA500; killmonster .Castle$,"Conquest::OnBarricade0"; delwall "conq_RL00"; } end;
OnBarricade0: end;
OnBarricade1: if( set(.Wall1,.Wall1 - 1) < 1 ) { initnpctimer; // Restart Timer mapannounce .Castle$,"1st Fortress Gate has fallen - 6 minutes to destroy the 2nd",1,0xFFA500; set .Score, .Score + 1; delwall "conq_RL01"; } end; OnBarricade2: if( set(.Wall2,.Wall2 - 1) < 1 ) { initnpctimer; // Restart Timer mapannounce .Castle$,"2nd Fortress Gate has fallen - 6 minutes to destroy the 3rd",1,0xFFA500; set .Score, .Score + 1; delwall "conq_RL02"; } end; OnBarricade3: if( set(.Wall3,.Wall3 - 1) < 1 ) { initnpctimer; // Restart Timer mapannounce .Castle$,"3rd Fortress Gate has fallen - 6 minutes to destroy the Emperium",1,0xFFA500; set .Score, .Score + 1; delwall "conq_RL03"; } end;
OnTimer60000: mapannounce .Castle$,"Battle of Conquest will ends in 5 minutes",1,0xFFA500; end;
OnTimer300000: mapannounce .Castle$,"Battle of Conquest will ends in 1 minute",1,0xFFA500; end;
OnEmperium: set .Score, .Score + 1; if( .Atacker == $@BG_Team1 ) mapannounce .Castle$,"The Guillaume army has won the Battle and captured the Castle!!",1,0x0000FF; else mapannounce .Castle$,"The Croix army has won the Battle and captured the Castle!!",1,0xFF0000; donpcevent "Conquest::OnMatchEnd"; end;
OnTimer360000: if( .Defender == $@BG_Team1 ) mapannounce .Castle$,"The Guillaume army has won the Battle and protected the Castle!!",1,0x0000FF; else mapannounce .Castle$,"The Croix army has won the Battle and protected the Castle!!",1,0xFF0000; donpcevent "Conquest::OnMatchEnd"; end;
OnMatchEnd: stopnpctimer; stopnpctimer "Conquest_Respawn"; killmonster .Castle$,"Conquest::OnBarricade0"; killmonster .Castle$,"Conquest::OnBarricade1"; killmonster .Castle$,"Conquest::OnBarricade2"; killmonster .Castle$,"Conquest::OnBarricade3"; killmonster .Castle$,"Conquest::OnGuardianStone1"; killmonster .Castle$,"Conquest::OnGuardianStone2"; killmonster .Castle$,"Conquest::OnEmperium"; set $@BG_Status, 2; // ======================================================= // Team Rewards // ======================================================= set .@Reward, 15 + .Score; set .@Won,2;
if( .Score >= 6 ) { // Emperium Taken set .@Reward, .@Reward + 9; set .@Won,0; }
schg_cas03,260,383,5 script Therapist in battle#cq1 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end;
}
schg_cas03,299,383,3 script Therapist in battle#cq2 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
schg_cas04,86,315,5 script Therapist in battle#cq3 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
schg_cas04,117,315,3 script Therapist in battle#cq4 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
schg_cas05,23,50,6 script Therapist in battle#cq5 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
schg_cas05,92,50,4 script Therapist in battle#cq6 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas03,26,385,5 script Therapist in battle#cq7 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas03,122,361,5 script Therapist in battle#cq8 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas04,304,342,3 script Therapist in battle#cq9 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas04,304,305,1 script Therapist in battle#cq0 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas05,310,154,6 script Therapist in battle#cqa 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
arug_cas05,333,154,4 script Therapist in battle#cqb 95,{ mes "[Therapist in battle]"; mes "Just close your eyes, and take a deep breathe."; mes "You can be free from pain."; specialeffect2 312; percentheal 100,100; repairall; close2; openstorage; end; }
OnTimer24000: mapannounce .Castle$,"-- Reinforcements entering the Battle of Conquest --",1,0xFFA500; end;
OnTimer25000: set .@Castle$,getvariableofnpc(.Castle$,"Conquest"); set .@DX,getvariableofnpc(.DX,"Conquest"); set .@DY,getvariableofnpc(.DY,"Conquest"); set .@AX,getvariableofnpc(.AX,"Conquest"); set .@AY,getvariableofnpc(.AY,"Conquest");
schg_cas03,106,302,0 script LF-01#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "schg_cas03",19,26; end; case 2: warp "schg_cas03",219,90; end; case 3: close; } } end; }
schg_cas03,109,302,0 script LF-02#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") ) { case 1: warp "schg_cas03",89,43; end; case 2: warp "schg_cas03",141,45; end; case 3: close; } } end; }
schg_cas03,112,302,0 script LF-03#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") ) { case 1: warp "schg_cas03",137,54; end; case 2: warp "schg_cas03",102,54; end; case 3: close; } } end; }
schg_cas03,115,302,0 script LF-04#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") ) { case 1: warp "schg_cas03",94,147; end; case 2: warp "schg_cas03",163,140; end; case 3: close; } } end; }
schg_cas03,118,302,0 script LF-05#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") ) { case 1: warp "schg_cas03",87,220; end; case 2: warp "schg_cas03",151,220; end; case 3: close; } } end; }
schg_cas03,121,302,0 script LF-06#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") ) { case 1: warp "schg_cas03",100,242; end; case 2: warp "schg_cas03",136,242; end; case 3: close; } } end; }
schg_cas03,124,302,0 script LF-07#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 1 Area:Center 2 Area:Cancel") ) { case 1: warp "schg_cas03",120,168; end; case 2: warp "schg_cas03",119,211; end; case 3: close; } } end; }
schg_cas03,127,302,0 script LF-08#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-1:Area 2-1:Area 3-1:Cancel") ) { case 1: warp "schg_cas03",89,43; end; case 2: warp "schg_cas03",94,147; end; case 3: warp "schg_cas03",100,242; end; case 4: close; } } end; }
schg_cas03,130,302,0 script LF-09#schg_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-2:Area 2-3:Area 3-2:Cancel") ) { case 1: warp "schg_cas03",141,45; end; case 2: warp "schg_cas03",163,140; end; case 3: warp "schg_cas03",136,243; end; case 4: close; } } end; }
schg_cas03,17,45,0 script Castle#LF_sc06_1::LF_sc06_1 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Flag Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "schg_cas03",120,290; end; case 2: close; } } end; }
schg_cas03,111,46,4 script Castle#LF_sc06_3::LF_sc06_2 722,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Flag Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "schg_cas03",120,290; end; case 2: close; } } end;
schg_cas04,143,198,0 script LF-01#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "schg_cas04",235,44; end; case 2: warp "schg_cas04",302,233; end; case 3: close; } } end; }
schg_cas04,143,202,0 script LF-02#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense area 1-1:Defense area 1-2:Cancel") ) { case 1: warp "schg_cas04",317,83; end; case 2: warp "schg_cas04",359,83; end; case 3: close; } } end; }
schg_cas04,143,206,0 script LF-03#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense area 2-1:Defense area 2-2:Cancel") ) { case 1: warp "schg_cas04",283,79; end; case 2: warp "schg_cas04",280,122; end; case 3: close; } } end; }
schg_cas04,145,208,0 script LF-04#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense area 3-1:Defense area 3-2:Cancel") ) { case 1: warp "schg_cas04",215,110; end; case 2: warp "schg_cas04",255,215; end; case 3: close; } } end; }
schg_cas04,180,208,0 script LF-05#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 1 Area:Center 2 Area:Cancel") ) { case 1: warp "schg_cas04",338,153; end; case 2: warp "schg_cas04",213,226; end; case 3: close; } } end; }
schg_cas04,182,206,0 script LF-06#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense area 1-1:Defense area 2-1:Defense area 3-1:Cancel") ) { case 1: warp "schg_cas04",317,83; end; case 2: warp "schg_cas04",283,79; end; case 3: warp "schg_cas04",215,110; end; case 4: close; } } end; }
schg_cas04,182,202,0 script LF-07#schg_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-2:Area 2-2:Area 3-2:Cancel") ) { case 1: warp "schg_cas04",359,83; end; case 2: warp "schg_cas04",280,122; end; case 3: warp "schg_cas04",255,215; end; case 4: close; } } end; }
schg_cas04,235,222,0 script Andlangr#LF_sc07_1::LF_sc07_1 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "schg_cas04",136,188; end; case 2: close; } } end; }
schg_cas05,346,211,0 script LF-01#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "schg_cas05",262,323; end; case 2: warp "schg_cas05",378,263; end; case 3: close; } } end; }
schg_cas05,346,207,0 script LF-02#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 1 Area:Cancel") ) { case 1: warp "schg_cas05",306,320; end; case 2: close; } } end; }
schg_cas05,346,203,0 script LF-03#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense area 2-1:Defense area 2-2:Cancel") ) { case 1: warp "schg_cas05",309,292; end; case 2: warp "schg_cas05",348,292; end; case 3: close; } } end; }
schg_cas05,346,199,0 script LF-04#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 2 Area:Cancel") ) { case 1: warp "schg_cas05",266,263; end; case 2: close; } } end; }
schg_cas05,346,195,0 script LF-05#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") ) { case 1: warp "schg_cas05",226,220; end; case 2: warp "schg_cas05",185,249; end; case 3: close; } } end; }
schg_cas05,346,191,0 script LF-06#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 3 Area:Cancel") ) { case 1: warp "schg_cas05",271,226; end; case 2: close; } } end; }
schg_cas05,301,213,0 script LF-07#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-2:Area 2-2:Area 3-2:Cancel") ) { case 1: warp "schg_cas05",262,323; end; case 2: warp "schg_cas05",378,263; end; case 3: warp "schg_cas05",306,320; end; case 4: close; } } end; }
schg_cas05,301,209,0 script LF-08#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 2-1:Area 2-2:Center 2 Area:Cancel") ) { case 1: warp "schg_cas05",309,292; end; case 2: warp "schg_cas05",348,292; end; case 3: warp "schg_cas05",326,263; end; case 4: close; } } end; }
schg_cas05,301,194,0 script LF-09#schg_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 3-1:Area 3-2:Center 3 Area:Cancel") ) { case 1: warp "schg_cas05",226,220; end; case 2: warp "schg_cas05",185,249; end; case 3: warp "schg_cas05",271,226; end; case 4: close; } } end; }
schg_cas05,335,305,0 script Vidblainn#LF_sc08_1::LF_sc08_1 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "schg_cas05",308,202; end; case 2: close; } } end; }
schg_cas05,283,206,2 script Vidblainn#LF_sc08_11::LF_sc08_2 722,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "schg_cas05",308,202; end; case 2: close; } } end;
arug_cas03,74,232,0 script LF-01#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "arug_cas03",158,237; end; case 2: warp "arug_cas03",297,248; end; case 3: close; } } end; }
arug_cas03,77,232,0 script LF-02#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") ) { case 1: warp "arug_cas03",197,144; end; case 2: warp "arug_cas03",245,103; end; case 3: close; } } end; }
arug_cas03,80,232,0 script LF-03#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") ) { case 1: warp "arug_cas03",256,35; end; case 2: warp "arug_cas03",186,26; end; case 3: close; } } end; }
arug_cas03,83,232,0 script LF-04#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") ) { case 1: warp "arug_cas03",146,65; end; case 2: warp "arug_cas03",176,111; end; case 3: close; } } end; }
arug_cas03,86,232,0 script LF-05#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") ) { case 1: warp "arug_cas03",94,126; end; case 2: warp "arug_cas03",126,126; end; case 3: close; } } end; }
arug_cas03,89,232,0 script LF-06#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-3:Defense Area 3-4:Cancel") ) { case 1: warp "arug_cas03",68,171; end; case 2: warp "arug_cas03",105,182; end; case 3: close; } } end; }
arug_cas03,92,232,0 script LF-07#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Gate House Fork:Cancel") ) { case 1: warp "arug_cas03",233,130; end; case 2: close; } } end; }
arug_cas03,95,232,0 script LF-08#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-1:Area 2-1:Area 3-1:Cancel") ) { case 1: warp "arug_cas03",197,144; end; case 2: warp "arug_cas03",256,35; end; case 3: warp "arug_cas03",146,65; end; case 4: close; } } end; }
arug_cas03,98,232,0 script LF-09#arug_cas03 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Area 1-2:Area 2-2:Area 3-3:Cancel") ) { case 1: warp "arug_cas03",245,103; end; case 2: warp "arug_cas03",186,26; end; case 3: warp "arug_cas03",68,171; end; case 4: close; } } end; }
arug_cas03,72,176,0 script Mardol#LF_ar06_1::LF_ar06_1 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas03",67,193; end; case 2: close; } } end; }
arug_cas03,92,126,4 script Mardol#LF_ar06_3::LF_ar06_2 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas03",67,193; end; case 2: close; } } end;
arug_cas04,98,270,0 script LF-01#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "arug_cas04",10,187; end; case 2: warp "arug_cas04",268,187; end; case 3: close; } } end; }
arug_cas04,98,266,0 script LF-02#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") ) { case 1: warp "arug_cas04",66,31; end; case 2: warp "arug_cas04",212,31; end; case 3: close; } } end; }
arug_cas04,98,262,0 script LF-03#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-3:Defense Area 1-4:Cancel") ) { case 1: warp "arug_cas04",90,120; end; case 2: warp "arug_cas04",188,119; end; case 3: close; } } end; }
arug_cas04,98,258,0 script LF-04#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") ) { case 1: warp "arug_cas04",119,183; end; case 2: warp "arug_cas04",159,183; end; case 3: close; } } end; }
arug_cas04,98,253,0 script LF-05#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") ) { case 1: warp "arug_cas04",156,324; end; case 2: warp "arug_cas04",174,372; end; case 3: close; } } end; }
arug_cas04,98,249,0 script LF-06#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") ) { case 1: warp "arug_cas04",28,325; end; case 2: warp "arug_cas04",57,325; end; case 3: close; } } end; }
arug_cas04,98,245,0 script LF-07#arug_cas04 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Center 2nd Area:Center 3rd Area:Cancel") ) { case 1: warp "arug_cas04",156,263; end; case 2: warp "arug_cas04",43,354; end; case 3: close; } } end; }
arug_cas04,216,92,0 script Cyr#LF_ar07_1::LF_ar07_1 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas04",43,256; end; case 2: close; } } end; }
arug_cas04,129,178,4 script Cyr#LF_ar07_13::LF_ar07_2 722,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas04",43,256; end; case 2: close; } } end;
arug_cas05,122,314,0 script LF-01#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("First Gate House:Second Gate House:Cancel") ) { case 1: warp "arug_cas05",84,158; end; case 2: warp "arug_cas05",197,136; end; case 3: close; } } end; }
arug_cas05,125,314,0 script LF-02#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") ) { case 1: warp "arug_cas05",65,94; end; case 2: warp "arug_cas05",211,97; end; case 3: close; } } end; }
arug_cas05,128,314,0 script LF-03#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-3:Defense Area 1-4:Cancel") ) { case 1: warp "arug_cas05",112,73; end; case 2: warp "arug_cas05",171,73; end; case 3: close; } } end; }
arug_cas05,131,314,0 script LF-04#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") ) { case 1: warp "arug_cas05",112,152; end; case 2: warp "arug_cas05",172,152; end; case 3: close; } } end; }
arug_cas05,134,314,0 script LF-05#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") ) { case 1: warp "arug_cas05",120,186; end; case 2: warp "arug_cas05",162,186; end; case 3: close; } } end; }
arug_cas05,149,314,0 script LF-06#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") ) { case 1: warp "arug_cas05",116,235; end; case 2: warp "arug_cas05",164,235; end; case 3: close; } } end; }
arug_cas05,152,314,0 script LF-07#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-1:Defense Area 2-1:Defense Area 3-1:Cancel") ) { case 1: warp "arug_cas05",65,94; end; case 2: warp "arug_cas05",112,152; end; case 3: warp "arug_cas05",116,235; end; case 4: close; } } end; }
arug_cas05,155,314,0 script LF-08#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-2:Defense Area 2-2:Defense Area 3-2:Cancel") ) { case 1: warp "arug_cas05",211,97; end; case 2: warp "arug_cas05",172,152; end; case 3: warp "arug_cas05",164,235; end; case 4: close; } } end; }
arug_cas05,158,314,0 script LF-09#arug_cas05 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Please"; mes "choose a destination"; mes "within the stronghold.^000000"; switch( select("Defense Area 1-4:Defense Area 2-4:Cancel") ) { case 1: warp "arug_cas05",171,73; end; case 2: warp "arug_cas05",162,186; end; case 3: close; } } end; }
arug_cas05,45,158,0 script Horn#LF_ar08_01::LF_ar08_01 111,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas05",121,318; end; case 2: close; } } end; }
arug_cas05,148,103,4 script Horn#LF_ar08_10::LF_ar08_02 722,{ if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") ) { mes "^3355FFThis is the Stronghold"; mes "Teleport Service. Would"; mes "you like to teleport to"; mes "the Emperium Center?^000000"; switch( select("Teleport:Cancel") ) { case 1: warp "arug_cas05",121,318; end; case 2: close; } } end;
ho to fix this Error???
here's my script
[cbox]// ==============================================================================
// BattleGround System - Conquest 1
// ==============================================================================
// Battleground Engine
// *********************************************************************
- script Conquest -1,{
end;
OnInit:
// Cementery Walls
setwall "schg_cas03",291,376,8,0,0,"conquest_wall_a";
setwall "schg_cas03",268,376,8,0,0,"conquest_wall_b";
setwall "schg_cas04",93,301,21,0,0,"conquest_wall_c";
setwall "schg_cas04",110,301,21,0,0,"conquest_wall_d";
setwall "schg_cas05",84,43,6,6,0,"conquest_wall_e";
setwall "schg_cas05",26,43,6,6,0,"conquest_wall_f";
setwall "arug_cas03",121,353,10,0,0,"conquest_wall_g";
setwall "arug_cas03",25,377,10,6,0,"conquest_wall_h";
setwall "arug_cas04",291,335,7,6,0,"conquest_wall_i1";
setwall "arug_cas04",300,335,6,6,0,"conquest_wall_j1";
setwall "arug_cas04",291,312,7,6,0,"conquest_wall_i2";
setwall "arug_cas04",300,312,4,6,0,"conquest_wall_j2";
setwall "arug_cas05",317,150,8,0,0,"conquest_wall_k";
setwall "arug_cas05",326,150,8,0,0,"conquest_wall_l";
set .Index,0;
end;
OnGuillaumeQuit:
OnCroixQuit:
setquest 8506; // Deserter
if( $@BG_Status != 0 && getvariableofnpc(.BG_Arena$,"BG_Queue_Join") == "Conquest" )
donpcevent "BG_Queue_Join::OnJoinEvent";
end;
OnBuildTeams:
if( set(.Index,.Index + 1) > 5 )
set .Index, 0;
switch( .Index )
{ // Rotate Castle
case 0: set .Castle$,"schg_cas03"; set .GX,264; set .GY,379; set .CX,295; set .CY,379; set .DX,120; set .DY,290; set .AX,119; set .AY, 8; break;
case 1: set .Castle$,"schg_cas04"; set .GX, 90; set .GY,311; set .CX,113; set .CY,311; set .DX,136; set .DY,188; set .AX,339; set .AY, 78; break;
case 2: set .Castle$,"schg_cas05"; set .GX, 28; set .GY, 50; set .CX, 87; set .CY, 50; set .DX,308; set .DY,208; set .AX,337; set .AY,330; break;
case 3: set .Castle$,"arug_cas03"; set .GX, 30; set .GY,381; set .CX,126; set .CY,357; set .DX, 67; set .DY,193; set .AX,275; set .AY, 93; break;
case 4: set .Castle$,"arug_cas04"; set .GX,298; set .GY,339; set .CX,298; set .CY,308; set .DX, 43; set .DY,256; set .AX,139; set .AY, 31; break;
case 5: set .Castle$,"arug_cas05"; set .GX,313; set .GY,154; set .CX,330; set .CY,154; set .DX,121; set .DY,318; set .AX,141; set .AY, 45; break;
}
set $@BG_Team1,bg_team_create(.Castle$,.GX,.GY,0,"Conquest::OnGuillaumeQuit","");
set $@BG_Team2,bg_team_create(.Castle$,.CX,.CY,1,"Conquest::OnCroixQuit","");
end;
OnReady:
if( getvariableofnpc(.BG_Arena$,"BG_Queue_Join") != "Conquest" )
end;
initnpctimer;
initnpctimer "Conquest_Respawn";
set .Score, 0;
switch( rand(2) )
{
case 1:
set .Defender, $@BG_Team1;
set .Atacker, $@BG_Team2;
break;
case 0:
set .Defender, $@BG_Team2;
set .Atacker, $@BG_Team1;
break;
}
// =========================================================================
// Build Structures
// =========================================================================
switch( .Index )
{
case 0: // =========================================================================
setwall .Castle$,114,48,13,6,0,"conq_RL00";
setwall .Castle$,114,51,13,6,1,"conq_RL01";
setwall .Castle$,114,154,13,6,1,"conq_RL02";
setwall .Castle$,116,241,11,6,1,"conq_RL03";
bg_monster .Defender,.Castle$,115,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,117,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,119,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,121,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,123,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,125,49," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,115,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,117,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,119,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,121,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,123,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,125,50," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,115,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,117,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,119,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,121,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,123,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,125,153," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,116,240," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,118,240," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,120,240," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,122,240," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,27,35,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,207,75,"2st Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,120,272,"Emperium",2107,"Conquest::OnEmperium";
break;
case 1: // =========================================================================
setwall .Castle$,290,98,8,0,0,"conq_RL00";
setwall .Castle$,279,98,8,0,1,"conq_RL01";
setwall .Castle$,230,213,6,0,1,"conq_RL02";
setwall .Castle$,160,141,6,6,1,"conq_RL03";
bg_monster .Defender,.Castle$,289,98," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,289,100," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,289,102," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,289,104," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,280,98," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,280,100," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,280,102," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,281,99," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,281,101," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,281,103," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,231,214," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,231,216," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,231,218," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,232,213," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,232,215," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,232,217," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,160,140," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,162,140," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,164,140," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,166,140," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,231,58,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,335,230,"2nd Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,162,193,"Emperium",2107,"Conquest::OnEmperium";
break;
case 2: // =========================================================================
setwall .Castle$,326,301,6,6,0,"conq_RL00";
setwall .Castle$,325,277,8,6,1,"conq_RL01";
setwall .Castle$,200,230,8,0,1,"conq_RL02";
setwall .Castle$,285,198,8,0,1,"conq_RL03";
bg_monster .Defender,.Castle$,326,300," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,328,300," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,330,300," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,326,278," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,328,278," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,330,278," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,327,279," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,329,279," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,331,279," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,201,231," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,201,233," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,201,235," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,202,232," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,202,234," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,202,236," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,284,199," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,284,201," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,284,203," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,284,205," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,242,309,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,376,251,"2nd Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,338,202,"Emperium",2107,"Conquest::OnEmperium";
break;
case 3: // =========================================================================
setwall .Castle$,238,74,8,6,0,"conq_RL00";
setwall .Castle$,239,53,8,6,1,"conq_RL01";
setwall .Castle$,107,124,6,6,1,"conq_RL02";
setwall .Castle$,84,171,8,6,1,"conq_RL03";
bg_monster .Defender,.Castle$,239,73," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,241,73," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,243,73," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,245,73," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,239,55," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,241,55," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,243,55," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,240,54," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,242,54," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,244,54," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,107,122," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,109,122," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,111,122," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,108,123," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,110,123," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,112,123," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,84,170," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,86,170," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,88,170," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,90,170," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,210,234,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,308,189,"2nd Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,87,219,"Emperium",2107,"Conquest::OnEmperium";
break;
case 4: // =========================================================================
setwall .Castle$,136,136,8,6,0,"conq_RL00";
setwall .Castle$,150,223,12,6,1,"conq_RL01";
setwall .Castle$,125,342,8,0,1,"conq_RL02";
setwall .Castle$,38,314,12,6,1,"conq_RL03";
bg_monster .Defender,.Castle$,137,137," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,139,137," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,141,137," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,143,137," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,151,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,153,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,155,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,157,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,159,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,161,222," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,126,343," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,126,345," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,126,347," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,127,344," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,127,346," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,127,348," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,40,315," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,42,315," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,44,315," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,46,315," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,33,168,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,245,168,"2nd Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,89,256,"Emperium",2107,"Conquest::OnEmperium";
break;
case 5: // =========================================================================
setwall .Castle$,138,110,8,6,0,"conq_RL00";
setwall .Castle$,139,158,6,6,1,"conq_RL01";
setwall .Castle$,138,210,8,6,1,"conq_RL02";
setwall .Castle$,138,263,8,6,1,"conq_RL03";
bg_monster .Defender,.Castle$,139,111," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,141,111," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,143,111," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,145,111," ",1906,"Conquest::OnBarricade0";
bg_monster .Defender,.Castle$,140,157," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,142,157," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,144,157," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,139,156," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,141,156," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,143,156," ",1906,"Conquest::OnBarricade1";
bg_monster .Defender,.Castle$,140,209," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,142,209," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,144,209," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,139,208," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,141,208," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,143,208," ",1906,"Conquest::OnBarricade2";
bg_monster .Defender,.Castle$,139,262," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,141,262," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,143,262," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,145,262," ",1906,"Conquest::OnBarricade3";
bg_monster .Defender,.Castle$,65,171,"1st Guardian Stone",2105,"Conquest::OnGuardianStone1";
bg_monster .Defender,.Castle$,212,149,"2nd Guardian Stone",2106,"Conquest::OnGuardianStone2";
bg_monster .Defender,.Castle$,141,293,"Emperium",2107,"Conquest::OnEmperium";
break;
}
set .Stone, 2;
set .Wall1, 6;
set .Wall2, 6;
set .Wall3, 4;
// ======================================
donpcevent "::OnEmblemConquest";
sleep 2000;
bg_warp .Defender,.Castle$,.DX,.DY; // Flag Respawn - Emperium
bg_warp .Atacker,.Castle$,.AX,.AY; // Castle Entrance
sleep 4000;
if( .Atacker == $@BG_Team1 )
mapannounce .Castle$,"General Guillaume : Move on warriors!! Let's capture this Castle!!",1,0x0000FF;
else
mapannounce .Castle$,"Prince Croix : Move on warriors!! Let's capture this Castle!!",1,0xFF0000;
sleep 4000;
if( .Defender == $@BG_Team1 )
mapannounce .Castle$,"General Guillaume : Protect the Castle and it's defenses to all cost!!",1,0x0000FF;
else
mapannounce .Castle$,"Prince Croix : Protect the Castle and it's defenses to all cost!!",1,0xFF0000;
end;
OnGuardianStone1:
set .Stone, .Stone - 1;
set .Score, .Score + 1;
if( .Stone > 0 ) mapannounce .Castle$,"1st Guardian Stone has fallen - 6 minutes to destroy the 2nd",1,0xFFA500;
donpcevent "Conquest::OnCheckGStone";
end;
OnGuardianStone2:
set .Stone, .Stone - 1;
set .Score, .Score + 1;
if( .Stone > 0 ) mapannounce .Castle$,"2nd Guardian Stone has fallen - 6 minutes to destroy the 1st",1,0xFFA500;
donpcevent "Conquest::OnCheckGStone";
end;
OnCheckGStone:
initnpctimer;
if( .Stone < 1 )
{
mapannounce .Castle$,"Both Guardian Stones has fallen - 6 minutes to destroy the 1st Fortress Gate",1,0xFFA500;
killmonster .Castle$,"Conquest::OnBarricade0";
delwall "conq_RL00";
}
end;
OnBarricade0:
end;
OnBarricade1:
if( set(.Wall1,.Wall1 - 1) < 1 )
{
initnpctimer; // Restart Timer
mapannounce .Castle$,"1st Fortress Gate has fallen - 6 minutes to destroy the 2nd",1,0xFFA500;
set .Score, .Score + 1;
delwall "conq_RL01";
}
end;
OnBarricade2:
if( set(.Wall2,.Wall2 - 1) < 1 )
{
initnpctimer; // Restart Timer
mapannounce .Castle$,"2nd Fortress Gate has fallen - 6 minutes to destroy the 3rd",1,0xFFA500;
set .Score, .Score + 1;
delwall "conq_RL02";
}
end;
OnBarricade3:
if( set(.Wall3,.Wall3 - 1) < 1 )
{
initnpctimer; // Restart Timer
mapannounce .Castle$,"3rd Fortress Gate has fallen - 6 minutes to destroy the Emperium",1,0xFFA500;
set .Score, .Score + 1;
delwall "conq_RL03";
}
end;
OnTimer60000:
mapannounce .Castle$,"Battle of Conquest will ends in 5 minutes",1,0xFFA500;
end;
OnTimer300000:
mapannounce .Castle$,"Battle of Conquest will ends in 1 minute",1,0xFFA500;
end;
OnEmperium:
set .Score, .Score + 1;
if( .Atacker == $@BG_Team1 )
mapannounce .Castle$,"The Guillaume army has won the Battle and captured the Castle!!",1,0x0000FF;
else
mapannounce .Castle$,"The Croix army has won the Battle and captured the Castle!!",1,0xFF0000;
donpcevent "Conquest::OnMatchEnd";
end;
OnTimer360000:
if( .Defender == $@BG_Team1 )
mapannounce .Castle$,"The Guillaume army has won the Battle and protected the Castle!!",1,0x0000FF;
else
mapannounce .Castle$,"The Croix army has won the Battle and protected the Castle!!",1,0xFF0000;
donpcevent "Conquest::OnMatchEnd";
end;
OnMatchEnd:
stopnpctimer;
stopnpctimer "Conquest_Respawn";
killmonster .Castle$,"Conquest::OnBarricade0";
killmonster .Castle$,"Conquest::OnBarricade1";
killmonster .Castle$,"Conquest::OnBarricade2";
killmonster .Castle$,"Conquest::OnBarricade3";
killmonster .Castle$,"Conquest::OnGuardianStone1";
killmonster .Castle$,"Conquest::OnGuardianStone2";
killmonster .Castle$,"Conquest::OnEmperium";
set $@BG_Status, 2;
// =======================================================
// Team Rewards
// =======================================================
set .@Reward, 15 + .Score;
set .@Won,2;
if( .Score >= 6 )
{ // Emperium Taken
set .@Reward, .@Reward + 9;
set .@Won,0;
}
bg_reward .Atacker,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;
set .Score, 6 - .Score; // Switch for Defender
set .@Reward, 15 + .Score;
set .@Won,2;
if( .Score >= 1 )
{ // Emperium Defended
set .@Reward, .@Reward + 9;
set .@Won,0;
}
bg_reward .Defender,7773,.@Reward,0,0,"BG_CON",1,6,.@Won;
// =======================================================
set .Score, 0;
sleep 5000;
donpcevent "BG_Queue_Join::OnRotate";
delwall "conq_RL00";
delwall "conq_RL01";
delwall "conq_RL02";
delwall "conq_RL03";
end;
}
// Battleground Therapist
// *********************************************************************
schg_cas03,260,383,5 script Therapist in battle#cq1 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
schg_cas03,299,383,3 script Therapist in battle#cq2 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
schg_cas04,86,315,5 script Therapist in battle#cq3 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
schg_cas04,117,315,3 script Therapist in battle#cq4 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
schg_cas05,23,50,6 script Therapist in battle#cq5 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
schg_cas05,92,50,4 script Therapist in battle#cq6 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas03,26,385,5 script Therapist in battle#cq7 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas03,122,361,5 script Therapist in battle#cq8 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas04,304,342,3 script Therapist in battle#cq9 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas04,304,305,1 script Therapist in battle#cq0 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas05,310,154,6 script Therapist in battle#cqa 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
arug_cas05,333,154,4 script Therapist in battle#cqb 95,{
mes "[Therapist in battle]";
mes "Just close your eyes, and take a deep breathe.";
mes "You can be free from pain.";
specialeffect2 312;
percentheal 100,100;
repairall;
close2;
openstorage;
end;
}
// Battleground Respawn
// *********************************************************************
- script Conquest_Respawn -1,{
end;
OnTimer24000:
mapannounce .Castle$,"-- Reinforcements entering the Battle of Conquest --",1,0xFFA500;
end;
OnTimer25000:
set .@Castle$,getvariableofnpc(.Castle$,"Conquest");
set .@DX,getvariableofnpc(.DX,"Conquest");
set .@DY,getvariableofnpc(.DY,"Conquest");
set .@AX,getvariableofnpc(.AX,"Conquest");
set .@AY,getvariableofnpc(.AY,"Conquest");
switch( getvariableofnpc(.Index,"Conquest") )
{
case 0: // schg_cas01 ========================================================================
areapercentheal .@Castle$,260,376,267,383,100,100;
areapercentheal .@Castle$,292,376,299,383,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,260,376,267,383,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,292,376,299,383,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,260,376,267,383,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,292,376,299,383,.@Castle$,.@DX,.@DY;
}
break;
case 1: // schg_cas02 ========================================================================
areapercentheal .@Castle$,80,301,92,321,100,100;
areapercentheal .@Castle$,111,301,123,321,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,80,301,92,321,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,111,301,123,321,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,80,301,92,321,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,111,301,123,321,.@Castle$,.@DX,.@DY;
}
break;
case 2: // schg_cas03 ========================================================================
areapercentheal .@Castle$,18,44,33,55,100,100;
areapercentheal .@Castle$,82,44,97,55,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,18,44,33,55,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,82,44,97,55,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,18,44,33,55,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,82,44,97,55,.@Castle$,.@DX,.@DY;
}
break;
case 3: // arug_cas01 ========================================================================
areapercentheal .@Castle$,26,378,33,385,100,100;
areapercentheal .@Castle$,122,354,129,361,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,26,378,33,385,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,122,354,129,361,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,26,378,33,385,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,122,354,129,361,.@Castle$,.@DX,.@DY;
}
break;
case 4: // arug_cas02 ========================================================================
areapercentheal .@Castle$,291,336,304,342,100,100;
areapercentheal .@Castle$,291,305,304,311,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,291,336,304,342,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,291,305,304,311,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,291,336,304,342,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,291,305,304,311,.@Castle$,.@DX,.@DY;
}
break;
case 5: // arug_cas03 ========================================================================
areapercentheal .@Castle$,310,150,316,157,100,100;
areapercentheal .@Castle$,327,150,333,157,100,100;
if( $@BG_Team1 == getvariableofnpc(.Defender,"Conquest") )
{
areawarp .@Castle$,310,150,316,157,.@Castle$,.@DX,.@DY;
areawarp .@Castle$,327,150,333,157,.@Castle$,.@AX,.@AY;
}
else
{
areawarp .@Castle$,310,150,316,157,.@Castle$,.@AX,.@AY;
areawarp .@Castle$,327,150,333,157,.@Castle$,.@DX,.@DY;
}
break;
}
initnpctimer;
end;
}
// Flags schg_cas03
// *********************************************************************
schg_cas03,106,302,0 script LF-01#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "schg_cas03",19,26;
end;
case 2:
warp "schg_cas03",219,90;
end;
case 3:
close;
}
}
end;
}
schg_cas03,109,302,0 script LF-02#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") )
{
case 1:
warp "schg_cas03",89,43;
end;
case 2:
warp "schg_cas03",141,45;
end;
case 3:
close;
}
}
end;
}
schg_cas03,112,302,0 script LF-03#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") )
{
case 1:
warp "schg_cas03",137,54;
end;
case 2:
warp "schg_cas03",102,54;
end;
case 3:
close;
}
}
end;
}
schg_cas03,115,302,0 script LF-04#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") )
{
case 1:
warp "schg_cas03",94,147;
end;
case 2:
warp "schg_cas03",163,140;
end;
case 3:
close;
}
}
end;
}
schg_cas03,118,302,0 script LF-05#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") )
{
case 1:
warp "schg_cas03",87,220;
end;
case 2:
warp "schg_cas03",151,220;
end;
case 3:
close;
}
}
end;
}
schg_cas03,121,302,0 script LF-06#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") )
{
case 1:
warp "schg_cas03",100,242;
end;
case 2:
warp "schg_cas03",136,242;
end;
case 3:
close;
}
}
end;
}
schg_cas03,124,302,0 script LF-07#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 1 Area:Center 2 Area:Cancel") )
{
case 1:
warp "schg_cas03",120,168;
end;
case 2:
warp "schg_cas03",119,211;
end;
case 3:
close;
}
}
end;
}
schg_cas03,127,302,0 script LF-08#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-1:Area 2-1:Area 3-1:Cancel") )
{
case 1:
warp "schg_cas03",89,43;
end;
case 2:
warp "schg_cas03",94,147;
end;
case 3:
warp "schg_cas03",100,242;
end;
case 4:
close;
}
}
end;
}
schg_cas03,130,302,0 script LF-09#schg_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-2:Area 2-3:Area 3-2:Cancel") )
{
case 1:
warp "schg_cas03",141,45;
end;
case 2:
warp "schg_cas03",163,140;
end;
case 3:
warp "schg_cas03",136,243;
end;
case 4:
close;
}
}
end;
}
schg_cas03,17,45,0 script Castle#LF_sc06_1::LF_sc06_1 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Flag Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "schg_cas03",120,290;
end;
case 2:
close;
}
}
end;
}
schg_cas03,207,95,0 duplicate(LF_sc06_1) Castle#LF_sc06_2 111
schg_cas03,99,77,0 duplicate(LF_sc06_1) Castle#LF_sc06_5 111
schg_cas03,140,77,0 duplicate(LF_sc06_1) Castle#LF_sc06_6 111
schg_cas03,112,212,0 duplicate(LF_sc06_1) Castle#LF_sc06_9 111
schg_cas03,127,212,0 duplicate(LF_sc06_1) Castle#LF_sc06_10 111
schg_cas03,113,238,0 duplicate(LF_sc06_1) Castle#LF_sc06_11 111
schg_cas03,126,238,0 duplicate(LF_sc06_1) Castle#LF_sc06_12 111
schg_cas03,95,247,0 duplicate(LF_sc06_1) Castle#LF_sc06_13 111
schg_cas03,144,247,0 duplicate(LF_sc06_1) Castle#LF_sc06_14 111
schg_cas03,111,46,4 script Castle#LF_sc06_3::LF_sc06_2 722,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Flag Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "schg_cas03",120,290;
end;
case 2:
close;
}
}
end;
OnEmblemConquest:
FlagEmblem getvariableofnpc(.Defender,"Conquest");
end;
}
schg_cas03,129,46,4 duplicate(LF_sc06_2) Castle#LF_sc06_4 722
schg_cas03,109,150,4 duplicate(LF_sc06_2) Castle#LF_sc06_7 722
schg_cas03,130,150,4 duplicate(LF_sc06_2) Castle#LF_sc06_8 722
// Flags schg_cas04
// *********************************************************************
schg_cas04,143,198,0 script LF-01#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "schg_cas04",235,44;
end;
case 2:
warp "schg_cas04",302,233;
end;
case 3:
close;
}
}
end;
}
schg_cas04,143,202,0 script LF-02#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense area 1-1:Defense area 1-2:Cancel") )
{
case 1:
warp "schg_cas04",317,83;
end;
case 2:
warp "schg_cas04",359,83;
end;
case 3:
close;
}
}
end;
}
schg_cas04,143,206,0 script LF-03#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense area 2-1:Defense area 2-2:Cancel") )
{
case 1:
warp "schg_cas04",283,79;
end;
case 2:
warp "schg_cas04",280,122;
end;
case 3:
close;
}
}
end;
}
schg_cas04,145,208,0 script LF-04#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense area 3-1:Defense area 3-2:Cancel") )
{
case 1:
warp "schg_cas04",215,110;
end;
case 2:
warp "schg_cas04",255,215;
end;
case 3:
close;
}
}
end;
}
schg_cas04,180,208,0 script LF-05#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 1 Area:Center 2 Area:Cancel") )
{
case 1:
warp "schg_cas04",338,153;
end;
case 2:
warp "schg_cas04",213,226;
end;
case 3:
close;
}
}
end;
}
schg_cas04,182,206,0 script LF-06#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense area 1-1:Defense area 2-1:Defense area 3-1:Cancel") )
{
case 1:
warp "schg_cas04",317,83;
end;
case 2:
warp "schg_cas04",283,79;
end;
case 3:
warp "schg_cas04",215,110;
end;
case 4:
close;
}
}
end;
}
schg_cas04,182,202,0 script LF-07#schg_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-2:Area 2-2:Area 3-2:Cancel") )
{
case 1:
warp "schg_cas04",359,83;
end;
case 2:
warp "schg_cas04",280,122;
end;
case 3:
warp "schg_cas04",255,215;
end;
case 4:
close;
}
}
end;
}
schg_cas04,235,222,0 script Andlangr#LF_sc07_1::LF_sc07_1 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "schg_cas04",136,188;
end;
case 2:
close;
}
}
end;
}
schg_cas04,157,136,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_2 111
schg_cas04,168,136,4 duplicate(LF_sc07_1) Andlangr#LF_sc07_3 111
schg_cas04,320,232,4 duplicate(LF_sc07_1) Andlangr#LF_sc07_4 111
schg_cas04,295,109,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_5 111
schg_cas04,295,92,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_6 111
schg_cas04,285,90,4 duplicate(LF_sc07_1) Andlangr#LF_sc07_7 111
schg_cas04,285,190,4 duplicate(LF_sc07_1) Andlangr#LF_sc07_8 111
schg_cas04,238,66,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_9 111
schg_cas04,230,45,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_10 111
schg_cas04,233,120,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_11 111
schg_cas04,247,120,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_12 111
schg_cas04,261,162,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_13 111
schg_cas04,244,162,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_14 111
schg_cas04,235,207,0 duplicate(LF_sc07_1) Andlangr#LF_sc07_15 111
// Flags schg_cas05
// *********************************************************************
schg_cas05,346,211,0 script LF-01#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "schg_cas05",262,323;
end;
case 2:
warp "schg_cas05",378,263;
end;
case 3:
close;
}
}
end;
}
schg_cas05,346,207,0 script LF-02#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 1 Area:Cancel") )
{
case 1:
warp "schg_cas05",306,320;
end;
case 2:
close;
}
}
end;
}
schg_cas05,346,203,0 script LF-03#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense area 2-1:Defense area 2-2:Cancel") )
{
case 1:
warp "schg_cas05",309,292;
end;
case 2:
warp "schg_cas05",348,292;
end;
case 3:
close;
}
}
end;
}
schg_cas05,346,199,0 script LF-04#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 2 Area:Cancel") )
{
case 1:
warp "schg_cas05",266,263;
end;
case 2:
close;
}
}
end;
}
schg_cas05,346,195,0 script LF-05#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") )
{
case 1:
warp "schg_cas05",226,220;
end;
case 2:
warp "schg_cas05",185,249;
end;
case 3:
close;
}
}
end;
}
schg_cas05,346,191,0 script LF-06#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 3 Area:Cancel") )
{
case 1:
warp "schg_cas05",271,226;
end;
case 2:
close;
}
}
end;
}
schg_cas05,301,213,0 script LF-07#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-2:Area 2-2:Area 3-2:Cancel") )
{
case 1:
warp "schg_cas05",262,323;
end;
case 2:
warp "schg_cas05",378,263;
end;
case 3:
warp "schg_cas05",306,320;
end;
case 4:
close;
}
}
end;
}
schg_cas05,301,209,0 script LF-08#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 2-1:Area 2-2:Center 2 Area:Cancel") )
{
case 1:
warp "schg_cas05",309,292;
end;
case 2:
warp "schg_cas05",348,292;
end;
case 3:
warp "schg_cas05",326,263;
end;
case 4:
close;
}
}
end;
}
schg_cas05,301,194,0 script LF-09#schg_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 3-1:Area 3-2:Center 3 Area:Cancel") )
{
case 1:
warp "schg_cas05",226,220;
end;
case 2:
warp "schg_cas05",185,249;
end;
case 3:
warp "schg_cas05",271,226;
end;
case 4:
close;
}
}
end;
}
schg_cas05,335,305,0 script Vidblainn#LF_sc08_1::LF_sc08_1 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "schg_cas05",308,202;
end;
case 2:
close;
}
}
end;
}
schg_cas05,322,305,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_2 111
schg_cas05,352,248,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_3 111
schg_cas05,320,283,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_4 111
schg_cas05,337,283,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_5 111
schg_cas05,233,320,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_6 111
schg_cas05,207,239,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_7 111
schg_cas05,207,228,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_8 111
schg_cas05,266,206,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_9 111
schg_cas05,266,197,0 duplicate(LF_sc08_1) Vidblainn#LF_sc08_10 111
schg_cas05,283,206,2 script Vidblainn#LF_sc08_11::LF_sc08_2 722,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "schg_cas05",308,202;
end;
case 2:
close;
}
}
end;
OnEmblemConquest:
FlagEmblem getvariableofnpc(.Defender,"Conquest");
end;
}
schg_cas05,283,197,2 duplicate(LF_sc08_2) Vidblainn#LF_sc08_12 722
schg_cas05,332,323,6 duplicate(LF_sc08_2) Vidblainn#LF_sc08_13 722
schg_cas05,343,323,2 duplicate(LF_sc08_2) Vidblainn#LF_sc08_14 722
// Flags arug_cas03
// *********************************************************************
arug_cas03,74,232,0 script LF-01#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "arug_cas03",158,237;
end;
case 2:
warp "arug_cas03",297,248;
end;
case 3:
close;
}
}
end;
}
arug_cas03,77,232,0 script LF-02#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") )
{
case 1:
warp "arug_cas03",197,144;
end;
case 2:
warp "arug_cas03",245,103;
end;
case 3:
close;
}
}
end;
}
arug_cas03,80,232,0 script LF-03#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") )
{
case 1:
warp "arug_cas03",256,35;
end;
case 2:
warp "arug_cas03",186,26;
end;
case 3:
close;
}
}
end;
}
arug_cas03,83,232,0 script LF-04#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") )
{
case 1:
warp "arug_cas03",146,65;
end;
case 2:
warp "arug_cas03",176,111;
end;
case 3:
close;
}
}
end;
}
arug_cas03,86,232,0 script LF-05#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") )
{
case 1:
warp "arug_cas03",94,126;
end;
case 2:
warp "arug_cas03",126,126;
end;
case 3:
close;
}
}
end;
}
arug_cas03,89,232,0 script LF-06#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-3:Defense Area 3-4:Cancel") )
{
case 1:
warp "arug_cas03",68,171;
end;
case 2:
warp "arug_cas03",105,182;
end;
case 3:
close;
}
}
end;
}
arug_cas03,92,232,0 script LF-07#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Gate House Fork:Cancel") )
{
case 1:
warp "arug_cas03",233,130;
end;
case 2:
close;
}
}
end;
}
arug_cas03,95,232,0 script LF-08#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-1:Area 2-1:Area 3-1:Cancel") )
{
case 1:
warp "arug_cas03",197,144;
end;
case 2:
warp "arug_cas03",256,35;
end;
case 3:
warp "arug_cas03",146,65;
end;
case 4:
close;
}
}
end;
}
arug_cas03,98,232,0 script LF-09#arug_cas03 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Area 1-2:Area 2-2:Area 3-3:Cancel") )
{
case 1:
warp "arug_cas03",245,103;
end;
case 2:
warp "arug_cas03",186,26;
end;
case 3:
warp "arug_cas03",68,171;
end;
case 4:
close;
}
}
end;
}
arug_cas03,72,176,0 script Mardol#LF_ar06_1::LF_ar06_1 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas03",67,193;
end;
case 2:
close;
}
}
end;
}
arug_cas03,103,186,0 duplicate(LF_ar06_1) Mardol#LF_ar06_2 111,{
arug_cas03,150,102,0 duplicate(LF_ar06_1) Mardol#LF_ar06_4 111
arug_cas03,208,68,0 duplicate(LF_ar06_1) Mardol#LF_ar06_5 111
arug_cas03,249,52,0 duplicate(LF_ar06_1) Mardol#LF_ar06_6 111
arug_cas03,234,76,0 duplicate(LF_ar06_1) Mardol#LF_ar06_7 111
arug_cas03,249,76,0 duplicate(LF_ar06_1) Mardol#LF_ar06_8 111
arug_cas03,204,142,0 duplicate(LF_ar06_1) Mardol#LF_ar06_9 111
arug_cas03,183,244,0 duplicate(LF_ar06_1) Mardol#LF_ar06_10 111
arug_cas03,292,219,0 duplicate(LF_ar06_1) Mardol#LF_ar06_11 111
arug_cas03,92,126,4 script Mardol#LF_ar06_3::LF_ar06_2 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas03",67,193;
end;
case 2:
close;
}
}
end;
OnEmblemConquest:
FlagEmblem getvariableofnpc(.Defender,"Conquest");
end;
}
arug_cas03,127,126,4 duplicate(LF_ar06_2) Mardol#LF_ar06_3 111
arug_cas03,102,120,4 duplicate(LF_ar06_2) Mardol#LF_ar06_12 722
arug_cas03,117,120,4 duplicate(LF_ar06_2) Mardol#LF_ar06_13 722
arug_cas03,233,140,4 duplicate(LF_ar06_2) Mardol#LF_ar06_14 722
// Flags arug_cas04
// *********************************************************************
arug_cas04,98,270,0 script LF-01#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "arug_cas04",10,187;
end;
case 2:
warp "arug_cas04",268,187;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,266,0 script LF-02#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") )
{
case 1:
warp "arug_cas04",66,31;
end;
case 2:
warp "arug_cas04",212,31;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,262,0 script LF-03#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-3:Defense Area 1-4:Cancel") )
{
case 1:
warp "arug_cas04",90,120;
end;
case 2:
warp "arug_cas04",188,119;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,258,0 script LF-04#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") )
{
case 1:
warp "arug_cas04",119,183;
end;
case 2:
warp "arug_cas04",159,183;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,253,0 script LF-05#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") )
{
case 1:
warp "arug_cas04",156,324;
end;
case 2:
warp "arug_cas04",174,372;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,249,0 script LF-06#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") )
{
case 1:
warp "arug_cas04",28,325;
end;
case 2:
warp "arug_cas04",57,325;
end;
case 3:
close;
}
}
end;
}
arug_cas04,98,245,0 script LF-07#arug_cas04 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Center 2nd Area:Center 3rd Area:Cancel") )
{
case 1:
warp "arug_cas04",156,263;
end;
case 2:
warp "arug_cas04",43,354;
end;
case 3:
close;
}
}
end;
}
arug_cas04,216,92,0 script Cyr#LF_ar07_1::LF_ar07_1 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas04",43,256;
end;
case 2:
close;
}
}
end;
}
arug_cas04,63,92,0 duplicate(LF_ar07_1) Cyr#LF_ar07_2 111
arug_cas04,127,133,4 duplicate(LF_ar07_1) Cyr#LF_ar07_3 111
arug_cas04,152,133,4 duplicate(LF_ar07_1) Cyr#LF_ar07_4 111
arug_cas04,149,218,0 duplicate(LF_ar07_1) Cyr#LF_ar07_5 111
arug_cas04,162,218,0 duplicate(LF_ar07_1) Cyr#LF_ar07_6 111
arug_cas04,128,350,0 duplicate(LF_ar07_1) Cyr#LF_ar07_7 111
arug_cas04,128,341,0 duplicate(LF_ar07_1) Cyr#LF_ar07_8 111
arug_cas04,49,317,0 duplicate(LF_ar07_1) Cyr#LF_ar07_9 111
arug_cas04,30,317,0 duplicate(LF_ar07_1) Cyr#LF_ar07_10 111
arug_cas04,9,190,0 duplicate(LF_ar07_1) Cyr#LF_ar07_11 111
arug_cas04,271,190,0 duplicate(LF_ar07_1) Cyr#LF_ar07_12 111
arug_cas04,129,178,4 script Cyr#LF_ar07_13::LF_ar07_2 722,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas04",43,256;
end;
case 2:
close;
}
}
end;
OnEmblemConquest:
FlagEmblem getvariableofnpc(.Defender,"Conquest");
end;
}
arug_cas04,149,178,4 duplicate(LF_ar07_2) Cyr#LF_ar07_14 722
arug_cas04,132,38,4 duplicate(LF_ar07_2) Cyr#LF_ar07_15 722
arug_cas04,147,38,4 duplicate(LF_ar07_2) Cyr#LF_ar07_16 722
// Flags arug_cas05
// *********************************************************************
arug_cas05,122,314,0 script LF-01#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("First Gate House:Second Gate House:Cancel") )
{
case 1:
warp "arug_cas05",84,158;
end;
case 2:
warp "arug_cas05",197,136;
end;
case 3:
close;
}
}
end;
}
arug_cas05,125,314,0 script LF-02#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-1:Defense Area 1-2:Cancel") )
{
case 1:
warp "arug_cas05",65,94;
end;
case 2:
warp "arug_cas05",211,97;
end;
case 3:
close;
}
}
end;
}
arug_cas05,128,314,0 script LF-03#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-3:Defense Area 1-4:Cancel") )
{
case 1:
warp "arug_cas05",112,73;
end;
case 2:
warp "arug_cas05",171,73;
end;
case 3:
close;
}
}
end;
}
arug_cas05,131,314,0 script LF-04#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-1:Defense Area 2-2:Cancel") )
{
case 1:
warp "arug_cas05",112,152;
end;
case 2:
warp "arug_cas05",172,152;
end;
case 3:
close;
}
}
end;
}
arug_cas05,134,314,0 script LF-05#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 2-3:Defense Area 2-4:Cancel") )
{
case 1:
warp "arug_cas05",120,186;
end;
case 2:
warp "arug_cas05",162,186;
end;
case 3:
close;
}
}
end;
}
arug_cas05,149,314,0 script LF-06#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 3-1:Defense Area 3-2:Cancel") )
{
case 1:
warp "arug_cas05",116,235;
end;
case 2:
warp "arug_cas05",164,235;
end;
case 3:
close;
}
}
end;
}
arug_cas05,152,314,0 script LF-07#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-1:Defense Area 2-1:Defense Area 3-1:Cancel") )
{
case 1:
warp "arug_cas05",65,94;
end;
case 2:
warp "arug_cas05",112,152;
end;
case 3:
warp "arug_cas05",116,235;
end;
case 4:
close;
}
}
end;
}
arug_cas05,155,314,0 script LF-08#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-2:Defense Area 2-2:Defense Area 3-2:Cancel") )
{
case 1:
warp "arug_cas05",211,97;
end;
case 2:
warp "arug_cas05",172,152;
end;
case 3:
warp "arug_cas05",164,235;
end;
case 4:
close;
}
}
end;
}
arug_cas05,158,314,0 script LF-09#arug_cas05 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Please";
mes "choose a destination";
mes "within the stronghold.^000000";
switch( select("Defense Area 1-4:Defense Area 2-4:Cancel") )
{
case 1:
warp "arug_cas05",171,73;
end;
case 2:
warp "arug_cas05",162,186;
end;
case 3:
close;
}
}
end;
}
arug_cas05,45,158,0 script Horn#LF_ar08_01::LF_ar08_01 111,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas05",121,318;
end;
case 2:
close;
}
}
end;
}
arug_cas05,226,156,0 duplicate(LF_ar08_01) Horn#LF_ar08_01 111
arug_cas05,134,62,4 duplicate(LF_ar08_01) Horn#LF_ar08_02 111
arug_cas05,149,62,4 duplicate(LF_ar08_01) Horn#LF_ar08_03 111
arug_cas05,123,154,0 duplicate(LF_ar08_01) Horn#LF_ar08_04 111
arug_cas05,160,154,0 duplicate(LF_ar08_01) Horn#LF_ar08_05 111
arug_cas05,135,205,0 duplicate(LF_ar08_01) Horn#LF_ar08_06 111
arug_cas05,148,205,0 duplicate(LF_ar08_01) Horn#LF_ar08_07 111
arug_cas05,134,260,0 duplicate(LF_ar08_01) Horn#LF_ar08_08 111
arug_cas05,148,103,4 script Horn#LF_ar08_10::LF_ar08_02 722,{
if( getcharid(4) == getvariableofnpc(.Defender,"Conquest") )
{
mes "^3355FFThis is the Stronghold";
mes "Teleport Service. Would";
mes "you like to teleport to";
mes "the Emperium Center?^000000";
switch( select("Teleport:Cancel") )
{
case 1:
warp "arug_cas05",121,318;
end;
case 2:
close;
}
}
end;
OnEmblemConquest:
FlagEmblem getvariableofnpc(.Defender,"Conquest");
end;
}
arug_cas05,135,103,4 duplicate(LF_ar08_02) Horn#LF_ar08_11 722
arug_cas05,63,51,7 duplicate(LF_ar08_02) Horn#LF_ar08_12 722
arug_cas05,214,51,1 duplicate(LF_ar08_02) Horn#LF_ar08_13 722
// MapFlags
// *********************************************************************
schg_cas03 mapflag battleground
schg_cas03 mapflag nomemo
schg_cas03 mapflag nosave SavePoint
schg_cas03 mapflag noteleport
schg_cas03 mapflag nowarp
schg_cas03 mapflag nowarpto
schg_cas03 mapflag noreturn
schg_cas03 mapflag nobranch
schg_cas03 mapflag nopenalty
schg_cas04 mapflag battleground
schg_cas04 mapflag nomemo
schg_cas04 mapflag nosave SavePoint
schg_cas04 mapflag noteleport
schg_cas04 mapflag nowarp
schg_cas04 mapflag nowarpto
schg_cas04 mapflag noreturn
schg_cas04 mapflag nobranch
schg_cas04 mapflag nopenalty
schg_cas05 mapflag battleground
schg_cas05 mapflag nomemo
schg_cas05 mapflag nosave SavePoint
schg_cas05 mapflag noteleport
schg_cas05 mapflag nowarp
schg_cas05 mapflag nowarpto
schg_cas05 mapflag noreturn
schg_cas05 mapflag nobranch
schg_cas05 mapflag nopenalty
arug_cas03 mapflag battleground
arug_cas03 mapflag nomemo
arug_cas03 mapflag nosave SavePoint
arug_cas03 mapflag noteleport
arug_cas03 mapflag nowarp
arug_cas03 mapflag nowarpto
arug_cas03 mapflag noreturn
arug_cas03 mapflag nobranch
arug_cas03 mapflag nopenalty
arug_cas04 mapflag battleground
arug_cas04 mapflag nomemo
arug_cas04 mapflag nosave SavePoint
arug_cas04 mapflag noteleport
arug_cas04 mapflag nowarp
arug_cas04 mapflag nowarpto
arug_cas04 mapflag noreturn
arug_cas04 mapflag nobranch
arug_cas04 mapflag nopenalty
arug_cas05 mapflag battleground
arug_cas05 mapflag nomemo
arug_cas05 mapflag nosave SavePoint
arug_cas05 mapflag noteleport
arug_cas05 mapflag nowarp
arug_cas05 mapflag nowarpto
arug_cas05 mapflag noreturn
arug_cas05 mapflag nobranch
arug_cas05 mapflag nopenalty
[/cbox]
Thanks in Advance Hercules Community
Share this post
Link to post
Share on other sites