From 006239e10f3c6f801fe4cb0a3de00979492a7058 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 16 Mar 2007 13:42:33 +0000 Subject: 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 --- npc/guild/gldfunc_treasure.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/guild') 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; -- cgit v1.2.3-70-g09d2