summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_ev_agit.txt
diff options
context:
space:
mode:
authorkobra_k88 <kobra_k88@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 19:14:29 +0000
committerkobra_k88 <kobra_k88@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-17 19:14:29 +0000
commit02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6 (patch)
treea3c49e1fdb659a0a9082b33304b17499986afd2c /npc/guild/gldfunc_ev_agit.txt
parent32eac40dc34fcab873a8c4ad8e5490ba2c831d6d (diff)
downloadhercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.gz
hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.bz2
hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.tar.xz
hercules-02f2b6d3dd876c2bb6ae4988ff4b48c78b7e49e6.zip
Fixed issue of guardians hp not updating after defense investment.
Moved treasure spawn time to ev_agit_event.txt. Changes to headers and comments in various files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@233 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/gldfunc_ev_agit.txt')
-rw-r--r--npc/guild/gldfunc_ev_agit.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/guild/gldfunc_ev_agit.txt b/npc/guild/gldfunc_ev_agit.txt
index ee4216904..d6622ae87 100644
--- a/npc/guild/gldfunc_ev_agit.txt
+++ b/npc/guild/gldfunc_ev_agit.txt
@@ -141,9 +141,9 @@ function script F_AgitBreak {
// Function for OnAgitEnd ======================================
function script F_AgitEnd {
-// if (GetCastleData(getarg(0)+".gat",1) == 0) return;
+ GvgOff getarg(0)+".gat";
+// if (GetCastleData(getarg(0)+".gat",1) == 0) return; //enable this line to allow take over of non captured castles after woe ends
MapRespawnGuildID getarg(0)+".gat",GetCastleData(getarg(0)+".gat",1),4;
KillMonster getarg(0)+".gat","Agit_"+getarg(1)+"::OnAgitBreak";
- GvgOff getarg(0)+".gat";
end;
}