diff options
Diffstat (limited to 'npc/guild2/schg_cas03.txt')
-rw-r--r-- | npc/guild2/schg_cas03.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt index 4f18cc98d..87a5390da 100644 --- a/npc/guild2/schg_cas03.txt +++ b/npc/guild2/schg_cas03.txt @@ -14,6 +14,7 @@ //= 1.2 Fixed 3rd Control Device wasting supplies. [L0ne_W0lf] //= Also fixed donpcevent calling wrong NPC. //= 1.2a Fixed another donpcevent calling the wrong NPC. [L0ne_W0lf] +//= 1.3 Wrong variable used to store castle information. [L0nE_W0lf] //============================================================ schg_cas03,1,1,0 script manager#sch03_02 111,{ @@ -1263,7 +1264,7 @@ schg_cas03,335,298,0 script control device01#sch03 111,{ set .@GID, GetCastleData("schg_cas03",1); if (getcharid(2) == .@GID) { if (strcharinfo(0) == getguildmaster(.@GID)) { - if ($agit_sc02[2] == 2) { + if ($agit_sc03[2] == 2) { mes "^3355FFDemolished Fortress"; mes "Gates can be repaired,"; mes "but you will need to gather"; @@ -1453,7 +1454,7 @@ schg_cas03,335,298,0 script control device01#sch03 111,{ donpcevent "#sch03_RL01::OnEnable"; disablenpc "control device01#sch03"; mapannounce "schg_cas03","The 1st Fortress Gate has been reconstructed!",bc_map,"0x00ff00"; - setarray $agit_sc02[2],0; + setarray $agit_sc03[2],0; end; } else { @@ -1498,7 +1499,7 @@ schg_cas03,200,227,0 script control device02#sch03 111,{ set .@GID, GetCastleData("schg_cas03",1); if (getcharid(2) == .@GID) { if (strcharinfo(0) == getguildmaster(.@GID)) { - if ($agit_sc02[3] == 2) { + if ($agit_sc03[3] == 2) { mes "^3355FFDemolished Fortress"; mes "Gates can be repaired,"; mes "but you will need to gather"; @@ -1690,8 +1691,8 @@ schg_cas03,200,227,0 script control device02#sch03 111,{ donpcevent "#sch03_RL02::OnEnable"; disablenpc "control device02#sch03"; mapannounce "schg_cas03","The 2nd Fortress Gate has been reconstructed!",bc_map,"0x00ff00"; - setarray $agit_sc02[3],0; //Global Variable - setarray $agit_sc02[2],2; //Global Variable + setarray $agit_sc03[3],0; //Global Variable + setarray $agit_sc03[2],2; //Global Variable donpcevent "control device01#sch03::OnEnable"; end; } @@ -1737,7 +1738,7 @@ schg_cas03,273,205,0 script control device03#sch03 111,{ set .@GID, GetCastleData("schg_cas03",1); if (getcharid(2) == .@GID) { if (strcharinfo(0) == getguildmaster(.@GID)) { - if ($agit_sc02[4] == 2) { + if ($agit_sc03[4] == 2) { mes "^3355FFDemolished Fortress"; mes "Gates can be repaired,"; mes "but you will need to gather"; |