summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_ev_agit.txt
diff options
context:
space:
mode:
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;
}