diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-20 19:24:19 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-20 19:24:19 +0000 |
commit | 74d35a9d33bcdba381e9e78af1bdf59d106f1493 (patch) | |
tree | e13f8de8d5fd98a43250490399672098fd0cd25c /npc/guild2/schg_cas02.txt | |
parent | 66938035a86ed1faf8eb7cc1b352f8f96df6acfd (diff) | |
download | hercules-74d35a9d33bcdba381e9e78af1bdf59d106f1493.tar.gz hercules-74d35a9d33bcdba381e9e78af1bdf59d106f1493.tar.bz2 hercules-74d35a9d33bcdba381e9e78af1bdf59d106f1493.tar.xz hercules-74d35a9d33bcdba381e9e78af1bdf59d106f1493.zip |
- Fixes on schg_cas02 and arug_cas01.txt
- Official Meteor Storm. Meteors can fail and just not fall, and only fall where you can get a shootable path.
* Tested on Aegis with help of ultramage.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13096 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild2/schg_cas02.txt')
-rw-r--r-- | npc/guild2/schg_cas02.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt index 395ba25ec..e9ba924d9 100644 --- a/npc/guild2/schg_cas02.txt +++ b/npc/guild2/schg_cas02.txt @@ -56,6 +56,7 @@ OnAgitEnd: if (GetCastleData("schg_cas02",1)) { KillMonster "schg_cas02","Steward#sch02::OnStartArena"; donpcevent "Manager#sch02_02::Onreset"; + donpcevent "Steward#sch02::Onstop"; } end; @@ -106,7 +107,11 @@ Onchange: OnClock0001: if (!GetCastleData("schg_cas02",1)) end; - killmonster "schg_cas02","Manager#sch02_02::OnMyTreasureDied"; + 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"; @@ -154,8 +159,6 @@ 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: |