summaryrefslogtreecommitdiff
path: root/npc/guild
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-05 20:34:16 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-05 20:34:16 +0000
commit879f41f03302a0767498915c5ca5fe35229ddff6 (patch)
treef878f9560c39624b0dd3f624a85f1e50c8334919 /npc/guild
parent7a009c69c0b48a09ec1de84ef2f48d462c09d646 (diff)
downloadhercules-879f41f03302a0767498915c5ca5fe35229ddff6.tar.gz
hercules-879f41f03302a0767498915c5ca5fe35229ddff6.tar.bz2
hercules-879f41f03302a0767498915c5ca5fe35229ddff6.tar.xz
hercules-879f41f03302a0767498915c5ca5fe35229ddff6.zip
I hate the guild castle scripts. Reverted a change.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12496 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild')
-rw-r--r--npc/guild/gldfunc_ev_agit.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/guild/gldfunc_ev_agit.txt b/npc/guild/gldfunc_ev_agit.txt
index d082d9c6d..4eb634a93 100644
--- a/npc/guild/gldfunc_ev_agit.txt
+++ b/npc/guild/gldfunc_ev_agit.txt
@@ -32,8 +32,10 @@
//= 1.7 Updated functions, got rid of the various gotos. [L0ne_W0lf]
//= Castles can be conquered as long as they un-owned.
//= 1.8 Fixed Guardian data being overwritten when castle ownership changes. [L0ne_W0lf]
-// Data will only be saved for guardians if you have the Guaridan Research.
-// It works this way to deal with a bug on ownership change.
+//= Data will only be saved for guardians if you have the Guaridan Research.
+//= It works this way to deal with a bug on ownership change.
+//= 1.9 Due to compunded stupidity in the way these scripts were written [L0ne_W0lf]
+//= I have recommented out the official behavior for unaquired castles.
//============================================================
@@ -181,7 +183,7 @@ function script F_AgitEnd {
GvgOff .@map$;
// Disable the following if statment to keep empty
// castles from being aquired after after WoE ends.
- if (GetCastleData(.@map$,1) == 0) return;
+ //if (GetCastleData(.@map$,1) == 0) return;
MapRespawnGuildID .@map$,GetCastleData(.@map$,1),4;
KillMonster .@map$,"Agit_"+.@castle$+"::OnAgitBreak";
end;