diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-11-15 21:06:07 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-11-16 19:44:03 +0100 |
commit | 206c3720a29b0db6c73ea534bd3f34bacaef17de (patch) | |
tree | 2d0e6a65117ad6ea1185dda7112a6f8679c781a1 /world/map/npc/functions/water_bottle.txt | |
parent | 0f44cd07642a74953e5b03a10a1593c5d839c7a2 (diff) | |
download | serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.gz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.bz2 serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.xz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.zip |
Made Constants case-sensitive
Diffstat (limited to 'world/map/npc/functions/water_bottle.txt')
-rw-r--r-- | world/map/npc/functions/water_bottle.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/functions/water_bottle.txt b/world/map/npc/functions/water_bottle.txt index 02dc35b2..e88c5965 100644 --- a/world/map/npc/functions/water_bottle.txt +++ b/world/map/npc/functions/water_bottle.txt @@ -13,7 +13,7 @@ function|script|WaterBottle|{ if (@empty < @count) goto L_NotEnoughBottles; - if (zeny < @cost) + if (Zeny < @cost) goto L_NotEnoughMoney; getinventorylist; if (@inventorylist_count == 100 @@ -21,7 +21,7 @@ function|script|WaterBottle|{ && @empty > @count) goto L_NotEnoughSlots; - set zeny, zeny - @cost; + set Zeny, Zeny - @cost; delitem "EmptyBottle", @count; getitem "BottleOfWater", @count; close; |