From 299409e7edd3d6daf6ee2ec80717ea6ead704796 Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Mon, 21 Apr 2008 17:34:33 +0000 Subject: Fixed yet another WoE SE Bug (Juno castle 3) Go go gadget revision counter! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12629 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 1 + npc/guild2/schg_cas03.txt | 13 +++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 8da98ecd5..3e5c3c2ff 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,6 +1,7 @@ Date Added ====== 2008/04/21 + * Rev. 12629 Fixed yet another WoE SE Bug (Juno castle 3) [L0ne_W0lf] * Rev. 12628 Fixed another WoE SE Bug. (wrong target for donpcevent) [L0ne_W0lf] * Rev. 12627 Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues) [L0ne_W0lf] * Rev. 12624 Fixed bugreport:1390, bugreport:1394, bugreport:1396. [L0ne_W0lf] 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"; -- cgit v1.2.3-70-g09d2