summaryrefslogtreecommitdiff
path: root/npc/guild2/arug_cas05.txt
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-23 20:51:18 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-23 20:51:18 +0000
commitfc12bb57afa6a5691a58b5367a7da684da854e9a (patch)
tree0eb51525ddc81f67c8d5752d380d8cfca9630b41 /npc/guild2/arug_cas05.txt
parent4bdd4910f9f95f80246a5e8566e28a15241639d9 (diff)
downloadhercules-fc12bb57afa6a5691a58b5367a7da684da854e9a.tar.gz
hercules-fc12bb57afa6a5691a58b5367a7da684da854e9a.tar.bz2
hercules-fc12bb57afa6a5691a58b5367a7da684da854e9a.tar.xz
hercules-fc12bb57afa6a5691a58b5367a7da684da854e9a.zip
- Some WoE 2.0 fixes
* Not investment per day reset bug. * Not stop the emperium respawn if you take it in less than 10 seconds and woe ends. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12886 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild2/arug_cas05.txt')
-rw-r--r--npc/guild2/arug_cas05.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/guild2/arug_cas05.txt b/npc/guild2/arug_cas05.txt
index 77fd06846..40e025927 100644
--- a/npc/guild2/arug_cas05.txt
+++ b/npc/guild2/arug_cas05.txt
@@ -52,6 +52,7 @@ OnAgitEnd:
if (GetCastleData("arug_cas05",1)) {
KillMonster "arug_cas05","Steward#aru05::OnStartArena";
donpcevent "Manager#aru05_02::Onreset";
+ donpcevent "Steward#aru05::Onstop";
}
end;
@@ -102,7 +103,11 @@ Onchange:
OnClock0001:
if (!GetCastleData("arug_cas05",1)) end;
- killmonster "arug_cas05","Manager#aru05_02::OnMyTreasureDied";
+ killmonster "arug_cas05","Manager#aru05_02::OnTreasureDied";
+
+ setcastledata "arug_cas05",4,0;
+ setcastledata "arug_cas05",5,0;
+
set .@Treasure,GetCastleData("arug_cas05",2)/5+4;
if (.@Treasure) {
monster "arug_cas05",291,276,"Treasure Chest",1945,1,"Manager#aru05_02::OnTreasureDied";
@@ -150,8 +155,6 @@ OnClock0001:
if (.@Treasure < 24) end;
monster "arug_cas05",298,269,"Treasure Chest",1324,1,"Manager#aru05_02::OnTreasureDied";
}
- setcastledata "arug_cas05",4,0;
- setcastledata "arug_cas05",5,0;
end;
OnTreasureDied: