summaryrefslogtreecommitdiff
path: root/npc/guild
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-16 13:42:33 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-16 13:42:33 +0000
commit006239e10f3c6f801fe4cb0a3de00979492a7058 (patch)
treec375e0695df88321216b1fc2efb7a0d000096a8b /npc/guild
parent3a60dd0b55de6c81a3d38d96880031f262e1070c (diff)
downloadhercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.gz
hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.bz2
hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.tar.xz
hercules-006239e10f3c6f801fe4cb0a3de00979492a7058.zip
Fixed a missing curly brace and removed some more .gat-s
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild')
-rw-r--r--npc/guild/gldfunc_treasure.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guild/gldfunc_treasure.txt b/npc/guild/gldfunc_treasure.txt
index 74126d42d..a829ae7a1 100644
--- a/npc/guild/gldfunc_treasure.txt
+++ b/npc/guild/gldfunc_treasure.txt
@@ -61,7 +61,7 @@ function script F_GldTreas {
set getarg(3), getarg(2); //sets the counter variable = to the box number amount
L_SPAWN:
- set getarg(4), getarg(5)+(getarg(3)+1) & 1); //sets the box id variable = to the box id
+ set getarg(4), getarg(5)+((getarg(3)+1) & 1); //sets the box id variable = to the box id
areamonster getarg(0),getarg(6),getarg(7),getarg(8),getarg(9),"Treasure Chest",getarg(4),1,"Treasure_"+getarg(1)+"::OnDied";
set getarg(3), getarg(3) - 1;
if(getarg(3) > 0) goto L_SPAWN;