Fixed a typo in schg_cas01 treasure spawning.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12754 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2008-06-03 01:03:35 +00:00
parent 6d410c0407
commit 4b90adae97
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
====== ======
2008/06/03
* Rev. 12754 Fixed a typo in schg_cas01 treasure spawning. [L0ne_W0lf]
2008/05/31 2008/05/31
* Rev. 12750 Fixed bug in eye of hellion quests (bugreport:1581) [L0ne_W0lf] * Rev. 12750 Fixed bug in eye of hellion quests (bugreport:1581) [L0ne_W0lf]
* Fixed the position of one of the Splendid (spl) warps. (Bugreport:1585) * Fixed the position of one of the Splendid (spl) warps. (Bugreport:1585)

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= L0ne_W0lf //= L0ne_W0lf
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.5 //= 1.6
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena SVN //= eAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -18,6 +18,7 @@
//= 1.5 Fixed investment period not resetting. [L0ne_W0lf] //= 1.5 Fixed investment period not resetting. [L0ne_W0lf]
//= Made it so treasure won't spawn if castle is empty. //= Made it so treasure won't spawn if castle is empty.
//= Treasure will now be killed before spawning. //= Treasure will now be killed before spawning.
//= 1.6 Corrected a typo with treasure spawning. [L0ne_W0lf]
//============================================================ //============================================================
schg_cas01,1,1,0 script Manager#sch01_02 111,{ schg_cas01,1,1,0 script Manager#sch01_02 111,{
@ -103,7 +104,7 @@ Onchange:
OnClock0001: OnClock0001:
if (!GetCastleData("schg_cas01",1)) end; if (!GetCastleData("schg_cas01",1)) end;
killmonster "aschg_cas01","Manager#sch01_02::OnMyTreasureDied"; killmonster "schg_cas01","Manager#sch01_02::OnMyTreasureDied";
set .@Treasure,GetCastleData("schg_cas01",2)/5+4; set .@Treasure,GetCastleData("schg_cas01",2)/5+4;
if (.@Treasure) { if (.@Treasure) {
monster "schg_cas01",388,388,"Treasure Chest",1938,1,"Manager#sch01_02::OnTreasureDied"; monster "schg_cas01",388,388,"Treasure Chest",1938,1,"Manager#sch01_02::OnTreasureDied";