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
This commit is contained in:
L0ne_W0lf 2009-03-03 17:49:09 +00:00
parent 8d57253cc3
commit 317e54657b
3 changed files with 3 additions and 5 deletions

View File

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

View File

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

View File

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