|
@@ -3,7 +3,7 @@
|
|
|
//===== By: ==================================================
|
|
|
//= L0ne_W0lf
|
|
|
//===== Current Version: =====================================
|
|
|
-//= 1.5
|
|
|
+//= 1.6
|
|
|
//===== Compatible With: =====================================
|
|
|
//= eAthena SVN
|
|
|
//===== Description: =========================================
|
|
@@ -18,6 +18,7 @@
|
|
|
//= 1.5 Fixed investment period not resetting. [L0ne_W0lf]
|
|
|
//= Made it so treasure won't spawn if castle is empty.
|
|
|
//= 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,{
|
|
@@ -103,7 +104,7 @@ Onchange:
|
|
|
|
|
|
OnClock0001:
|
|
|
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;
|
|
|
if (.@Treasure) {
|
|
|
monster "schg_cas01",388,388,"Treasure Chest",1938,1,"Manager#sch01_02::OnTreasureDied";
|