summaryrefslogtreecommitdiff
path: root/npc/guild2/schg_cas03.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-21 17:34:33 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-21 17:34:33 +0000
commit299409e7edd3d6daf6ee2ec80717ea6ead704796 (patch)
treea7ea3a1daee8feeb1a9047b06a3f1a65614854a1 /npc/guild2/schg_cas03.txt
parente6815bfa61733610510251205ab8c413789be46d (diff)
downloadhercules-299409e7edd3d6daf6ee2ec80717ea6ead704796.tar.gz
hercules-299409e7edd3d6daf6ee2ec80717ea6ead704796.tar.bz2
hercules-299409e7edd3d6daf6ee2ec80717ea6ead704796.tar.xz
hercules-299409e7edd3d6daf6ee2ec80717ea6ead704796.zip
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
Diffstat (limited to 'npc/guild2/schg_cas03.txt')
-rw-r--r--npc/guild2/schg_cas03.txt13
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";