Procházet zdrojové kódy

Removed extra lines from schg_cas02 resetting data before eco/def is applied.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13563 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf před 16 roky
rodič
revize
317e54657b
3 změnil soubory, kde provedl 3 přidání a 5 odebrání
  1. 1 0
      npc/Changelog.txt
  2. 0 1
      npc/guild2/arug_cas01.txt
  3. 2 4
      npc/guild2/schg_cas02.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 ======
 2009/03/03
+	* Rev. 13563 Removed extra lines from schg_cas02 resetting data before eco/def is applied. (bugreport:2842) [L0ne_W0lf]
 	* Rev. 13561 Applied the updated eco/def investment system to Juno WoESE castles. [L0ne_W0lf]
 	* Rev. 13560 Applied the updated eco/def investment system to Rachel WoESE castles, Juno's next. [L0ne_W0lf]
 	* Corrected the conditions in the if block that I goofed up, in agit_template.

+ 0 - 1
npc/guild2/arug_cas01.txt

@@ -1,5 +1,4 @@
 //===== eAthena Script =======================================
-//===== eAthena Script =======================================
 //= War of Emperium Second Edition
 //===== By: ==================================================
 //= L0ne_W0lf

+ 2 - 4
npc/guild2/schg_cas02.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 2.0
+//= 2.0a
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
@@ -23,6 +23,7 @@
 //= 1.8 Fixed error with control devices. [L0ne_W0lf]
 //= 1.9 Replaced effect numerics with constants. [L0ne_W0lf]
 //= 2.0 Applied updated eco/def systems. [L0ne_W0lf]
+//= 2.0a Corrected investment data being reset before applied.
 //============================================================
 
 schg_cas02,1,1,0	script	Manager#sch02_02	111,{
@@ -111,9 +112,6 @@ OnClock0001:
 	if (!GetCastleData("schg_cas02",1)) end;
 	killmonster "schg_cas02","Manager#sch02_02::OnTreasureDied";
 
-	setcastledata "schg_cas02",4,0;
-	setcastledata "schg_cas02",5,0;
-
 	set .@Treasure,GetCastleData("schg_cas02",2)/5+4;
 	if (.@Treasure) {
 		monster "schg_cas02",249,378,"Treasure Chest",1939,1,"Manager#sch02_02::OnTreasureDied";