From e02e0c5cba6e83986da6fdce9c69a9201f9a271f Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Tue, 9 Sep 2008 17:33:10 +0000 Subject: Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild2/schg_cas03.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'npc/guild2/schg_cas03.txt') diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt index 71be08f1c..6717aeab4 100644 --- a/npc/guild2/schg_cas03.txt +++ b/npc/guild2/schg_cas03.txt @@ -39,8 +39,8 @@ OnRecvCastlesc03: } end; -OnAgitStart: - if (agitcheck()) { +OnAgitStart2: + if (agitcheck2()) { MapRespawnGuildID "schg_cas03",GetCastleData("schg_cas03",1),2; GvgOn "schg_cas03"; donpcevent "manager#sch03_02::Onstart"; @@ -53,7 +53,7 @@ OnAgitStart: } end; -OnAgitEnd: +OnAgitEnd2: GvgOff "schg_cas03"; if (GetCastleData("schg_cas03",1)) { KillMonster "schg_cas03","Steward#sch03::OnStartArena"; @@ -94,7 +94,7 @@ Onreset: donpcevent "Control Device01#sch03::OnDisable"; donpcevent "Control Device02#sch03::OnDisable"; donpcevent "Control Device03#sch03::OnDisable"; - if (agitcheck()) { + if (agitcheck2()) { setarray $agit_sc03[0],0,0,1,1,1,0; } end; @@ -187,7 +187,7 @@ schg_cas03,287,226,5 script Elzee#sch03_01 868,{ close; } else { - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "[Elzee]"; mes "I am Elzee, guardian of"; mes "this stronghold. For now,"; @@ -792,7 +792,7 @@ schg_cas03,242,309,0 script 1st Guardian Stone#sch03 844,{ close; } else { - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "^3355FFIt is impossible to"; mes "rebuild the Guardian"; mes "Stone because the"; @@ -1101,7 +1101,7 @@ schg_cas03,376,250,0 script 2nd Guardian Stone#sch03 844,{ close; } else { - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "^3355FFIt is impossible to"; mes "rebuild the Guardian"; mes "Stone because the"; @@ -1448,7 +1448,7 @@ schg_cas03,335,298,0 script Control Device01#sch03 111,{ mes "you're just about done"; mes "with repairing the gate.^000000"; next; - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "^3355FFUnfortunately, the Fortress"; mes "Gate can't be reconstructed:"; mes "the Emperium is no longer here.^000000"; @@ -1685,7 +1685,7 @@ schg_cas03,200,227,0 script Control Device02#sch03 111,{ mes "you're just about done"; mes "with repairing the gate.^000000"; next; - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "^3355FFUnfortunately, the Fortress"; mes "Gate can't be reconstructed:"; mes "the Emperium is no longer here.^000000"; @@ -1924,7 +1924,7 @@ schg_cas03,273,205,0 script Control Device03#sch03 111,{ mes "you're just about done"; mes "with repairing the gate.^000000"; next; - if (agitcheck() == 0) { + if (agitcheck2() == 0) { mes "^3355FFUnfortunately, the Fortress"; mes "Gate can't be reconstructed:"; mes "the Emperium is no longer here.^000000"; @@ -2645,7 +2645,7 @@ OnStartArena: else if (.msg == 2) { announce "The [" + getguildname(.@gid) + "] conquered the [Nithafjoll 3] stronghold of "+GetCastleName("schg_cas03"),bc_all; mapannounce "schg_cas03","The emperium has been shattered!",bc_map,"0x00FF00"; - if (agitcheck()) { + if (agitcheck2()) { donpcevent "Manager#sch03_02::Onreset"; initnpctimer; } -- cgit v1.2.3-60-g2f50