Explorar o código

Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12627 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf %!s(int64=17) %!d(string=hai) anos
pai
achega
f212d699d9
Modificáronse 4 ficheiros con 14 adicións e 9 borrados
  1. 1 0
      npc/Changelog.txt
  2. 2 1
      npc/guild2/schg_cas01.txt
  3. 3 2
      npc/guild2/schg_cas02.txt
  4. 8 6
      npc/guild2/schg_cas03.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 ======
 2008/04/21
+	* 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]
 2008/04/15
 	* Rev. 12602 Rescripted Eye of Hellion quest, all quest progress is lost. [L0ne_W0lf]

+ 2 - 1
npc/guild2/schg_cas01.txt

@@ -11,6 +11,7 @@
 //===== Additional Comments: =================================
 //= 1.0 First Version [L0ne_W0lf]
 //= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
+//= 1.2 Fixed take-over lowering schg_cas04's eco. [L0ne_W0lf]
 //============================================================
 
 schg_cas01,1,1,0	script	Manager#sch01_02	111,{
@@ -2620,7 +2621,7 @@ OnStartArena:
 	// Lower castle Economy
 	set .@Economy,GetCastleData("schg_cas01",2) - 5;
 	if (.@Economy < 0) set .@Economy, 0;
-	SetCastleData "schg_cas04", 2, .@Economy;
+	SetCastleData "schg_cas01", 2, .@Economy;
 	// Lower Castle Defence
 	set .@Defence,GetCastleData("schg_cas01",3) - 5;
 	if (.@Defence < 0) set .@Defence, 0;

+ 3 - 2
npc/guild2/schg_cas02.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 1.3
+//= 1.4
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
@@ -13,6 +13,7 @@
 //= 1.1 Fixed setcell range of first barricade. [L0ne_W0lf]
 //= 1.2 Fixed first Barricade being desotryable. [L0ne_W0lf]
 //= 1.3 Swaped an end for a close in eco investing. [L0ne_W0lf]
+//= 1.4 Fixed 3rd Control Device wasting supplies. [L0ne_W0lf]
 //============================================================
 
 schg_cas02,1,1,0	script	Manager#sch02_02	111,{
@@ -1925,7 +1926,7 @@ schg_cas02,159,143,0	script	Control Device03#sch02	111,{
 							delitem 999,10; //Steel
 							delitem 1011,10; //Emveretarcon
 							delitem 984,5; //Oridecon
-							close;
+							close2;
 							donpcevent "#sch02_RL03::OnEnable";
 							disablenpc "Control Device03#sch02";
 							mapannounce "schg_cas02","The 3rd Fortress Gate has been reconstructed!!",bc_map,"0x00ff00";

+ 8 - 6
npc/guild2/schg_cas03.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 1.1
+//= 1.2
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
@@ -11,6 +11,8 @@
 //===== Additional Comments: =================================
 //= 1.0 First Version [L0ne_W0lf]
 //= 1.1 Swaped an end for a close in eco investing. [L0ne_W0lf]
+//= 1.2 Fixed 3rd Control Device wasting supplies. [L0ne_W0lf]
+//=	Also fixed donpcevent calling wrong NPC.
 //============================================================
 
 schg_cas03,1,1,0	script	manager#sch03_02	111,{
@@ -1922,7 +1924,7 @@ schg_cas03,273,205,0	script	control device03#sch03	111,{
 							delitem 999,10; //Steel
 							delitem 1011,10; //Emveretarcon
 							delitem 984,5; //Oridecon
-							close;
+							close2;
 							donpcevent "#sch03_RL03::OnEnable";
 							disablenpc "control device03#sch03";
 							mapannounce "schg_cas03","The 3rd Fortress Gate has been reconstructed!",bc_map,"0x00ff00";
@@ -2626,23 +2628,23 @@ OnStartArena:
 	set .msg,2;
 	if (.msg == 1) {
 		announce "Fortress [" + GetCastleName("schg_cas03") + "]'s 'Nithafjoll' was captured by [" + getguildname(.@gid) + "] Guild.",bc_all;
-		donpcevent "Manager#sch01_02::Onstart";
+		donpcevent "Manager#sch03_02::Onstart";
 	}
 	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()) {
-			donpcevent "Manager#sch01_02::Onreset";
+			donpcevent "Manager#sch03_02::Onreset";
 			initnpctimer;
 		}
 		else {
-			donpcevent "Manager#sch01_02::Onreset";
+			donpcevent "Manager#sch03_02::Onreset";
 			stopnpctimer;
 		}
 	}
 	else if (.msg == 0) {
 		announce "Fortress [" + GetCastleName("schg_cas03") + "]'s 'Nithafjoll' was captured by [" + getguildname(.@gid) + "] Guild.",bc_all;
-		donpcevent "Manager#sch01_02::Onreset";
+		donpcevent "Manager#sch03_02::Onreset";
 		stopnpctimer;
 		end;
 	}