Fixed yet another WoE SE Bug (Juno castle 3)

Go go gadget revision counter!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12629 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2008-04-21 17:34:33 +00:00
parent f9abadf9c1
commit ab55e3830d
2 changed files with 8 additions and 6 deletions

View File

@ -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]

View File

@ -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";