summaryrefslogtreecommitdiff
path: root/npc/guild/agit_template.txt
diff options
context:
space:
mode:
authorGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-10 19:09:00 +0000
committerGepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-10 19:09:00 +0000
commit377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7 (patch)
treea6500d7b911e1d6ec388327e265be482b5371484 /npc/guild/agit_template.txt
parentcc43f617d80d71dda41d0d7b8ea4ad92fdd2f09e (diff)
downloadhercules-377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7.tar.gz
hercules-377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7.tar.bz2
hercules-377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7.tar.xz
hercules-377dacc950ad9be9d142e6631bfe2b3b3cd5d9d7.zip
Fixed WoE:FE castles spawning too many Treasure Boxes.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14141 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/agit_template.txt')
-rw-r--r--npc/guild/agit_template.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt
index 981cbc08e..5659cebc1 100644
--- a/npc/guild/agit_template.txt
+++ b/npc/guild/agit_template.txt
@@ -1273,7 +1273,7 @@ OnClock0001:
setcastledata strnpcinfo(2),5,0;
// Spawn boxes in proper order.
- for (set .@i,0; .@i <= .@Treasure ; set .@i,.@i+1) {
+ for (set .@i,0; .@i < .@Treasure ; set .@i,.@i+1) {
// set treasure box ID
set .@boxid, .@treasurebox + (.@i+2) % 2;
set .@box,1 << .@i;