summaryrefslogtreecommitdiff
path: root/npc/guild
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-02-04 00:32:19 -0200
committerMatheus Macabu <mkbu95@gmail.com>2013-02-04 00:32:19 -0200
commit524291493e64196d8ce02f4b637ea0ee1a176d0a (patch)
tree7a15790fb1b7658d7fb39deaae83f562fd81c872 /npc/guild
parentf651ffc9f92dbf339e9691c24d66577bf4a43d47 (diff)
downloadhercules-524291493e64196d8ce02f4b637ea0ee1a176d0a.tar.gz
hercules-524291493e64196d8ce02f4b637ea0ee1a176d0a.tar.bz2
hercules-524291493e64196d8ce02f4b637ea0ee1a176d0a.tar.xz
hercules-524291493e64196d8ce02f4b637ea0ee1a176d0a.zip
Merged some commits from rAthena.
Diffstat (limited to 'npc/guild')
-rw-r--r--npc/guild/agit_main.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/guild/agit_main.txt b/npc/guild/agit_main.txt
index 115238bfb..5253fbe16 100644
--- a/npc/guild/agit_main.txt
+++ b/npc/guild/agit_main.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.9
+//= 1.9a
//===== Description: =========================================
//= [ Aegis Conversion]
//= ----------------------------------------------------------
@@ -49,6 +49,7 @@
//= and added extended anouncement format for mapannounce.
//= 1.8 Fixed a possible exploit in guild castle investment. [Brian]
//= 1.9 Partially rewrote Script. [Masao]
+//= 1.9a Fixed incorrect setcastledata parameter. [Euphy]
//============================================================
// WoE : Main Functions
@@ -156,7 +157,7 @@ OnGuildBreak:
// Kill guardians, disable the Kafra, and set owner to 0.
killmonster strnpcinfo(2),"Guardian#"+strnpcinfo(2)+"::OnGuardianDied";
disablenpc "Kafra Staff#"+strnpcinfo(2);
- SetCastleData strnpcinfo(2),0,0;
+ SetCastleData strnpcinfo(2),1,0;
// Wait before refreshing guild information.
sleep 7000;
Announce "Guild Base [" + GetCastleName(strnpcinfo(2)) + "] has been abandoned.",0;