I hate the guild castle scripts. Reverted a change.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12496 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2008-04-05 20:34:16 +00:00
parent 4a951c93fb
commit 3191c1edef
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
Date Added
======
2008/04/05
* Rev. 12496 I hate the guild castle scripts. Reverted a change. [L0ne_W0lf]
* Rev. 12495 Further updates to Zhed's Veins addition. [L0ne_W0lf]
2008/04/04
* Rev. 12472 Updated NIflheim Town and Quest NPCs. [L0ne_W0lf]

View File

@ -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;