diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-20 12:53:54 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-20 12:53:54 +0000 |
commit | af90f0c214d86aca0117df966f87b95e6999bd45 (patch) | |
tree | 3b4896980325d38dd9e6894ef550e22ab7a667bc /npc/guild2/schg_cas02.txt | |
parent | 08dfe78adc3114126e58ff6ceafc9040670443b0 (diff) | |
download | hercules-af90f0c214d86aca0117df966f87b95e6999bd45.tar.gz hercules-af90f0c214d86aca0117df966f87b95e6999bd45.tar.bz2 hercules-af90f0c214d86aca0117df966f87b95e6999bd45.tar.xz hercules-af90f0c214d86aca0117df966f87b95e6999bd45.zip |
* Fixed variable issue with Milk Trader NPC. (bugreport:1523)
* Fixed typos in the acolyte nad mage skill quests. (bugreport:1531)
* Fixed issue with a removing a Keil Hyre cutin. (bugreport:1593)
* Corrected a few oversights in the WoESE scripts.
* Added dummy "OnMyMobDead" label to a Niflheim NPC.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild2/schg_cas02.txt')
-rw-r--r-- | npc/guild2/schg_cas02.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt index 2b0224030..c4917fedb 100644 --- a/npc/guild2/schg_cas02.txt +++ b/npc/guild2/schg_cas02.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.6 +//= 1.7 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -17,6 +17,9 @@ //= 1.5 Fixed double message in defense investing. [L0ne_W0lf] //= Corrected a minor typo in the guild steward. //= 1.6 Fixed a guardian spawning NPCs. [L0ne_W0lf] +//= 1.7 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. //============================================================ schg_cas02,1,1,0 script Manager#sch02_02 111,{ @@ -101,14 +104,13 @@ Onchange: end; OnClock0001: + if (!GetCastleData("schg_cas02",1)) end; + killmonster "schg_cas02","Manager#sch02_02::OnMyTreasureDied"; set .@Treasure,GetCastleData("schg_cas02",2)/5+4; if (.@Treasure) { monster "schg_cas02",249,378,"Treasure Chest",1939,1,"Manager#sch02_02::OnTreasureDied"; - if (.@Treasure < 2) end; monster "schg_cas02",250,378,"Treasure Chest",1324,1,"Manager#sch02_02::OnTreasureDied"; - if (.@Treasure < 3) end; monster "schg_cas02",251,378,"Treasure Chest",1939,1,"Manager#sch02_02::OnTreasureDied"; - if (.@Treasure < 4) end; monster "schg_cas02",252,378,"Treasure Chest",1324,1,"Manager#sch02_02::OnTreasureDied"; if (.@Treasure < 5) end; monster "schg_cas02",253,378,"Treasure Chest",1939,1,"Manager#sch02_02::OnTreasureDied"; @@ -151,6 +153,8 @@ OnClock0001: if (.@Treasure < 24) end; monster "schg_cas02",253,370,"Treasure Chest",1324,1,"Manager#sch02_02::OnTreasureDied"; } + setcastledata "schg_cas02",4,0; + setcastledata "schg_cas02",5,0; end; OnTreasureDied: |