diff options
-rw-r--r-- | npc/guild/agit_template.txt | 2 |
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; |