diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-12-24 10:15:56 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-12-24 10:15:56 +0000 |
commit | e896b785935c661319ade424f473f4442e1878eb (patch) | |
tree | 671677480a757728b73a98a0242d78c44878c2fb /npc/006-1_Desert_mountains | |
parent | f6da63ee431c417d9a885e87af3637f4aff4156b (diff) | |
download | serverdata-e896b785935c661319ade424f473f4442e1878eb.tar.gz serverdata-e896b785935c661319ade424f473f4442e1878eb.tar.bz2 serverdata-e896b785935c661319ade424f473f4442e1878eb.tar.xz serverdata-e896b785935c661319ade424f473f4442e1878eb.zip |
Remove unneeded inventory checks and add fix one
Diffstat (limited to 'npc/006-1_Desert_mountains')
-rw-r--r-- | npc/006-1_Desert_mountains/pachua.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/006-1_Desert_mountains/pachua.txt b/npc/006-1_Desert_mountains/pachua.txt index af293ff6..51c2d3b2 100644 --- a/npc/006-1_Desert_mountains/pachua.txt +++ b/npc/006-1_Desert_mountains/pachua.txt @@ -140,7 +140,7 @@ L_leather_patch: if (countitem(@SNAKE_SKIN) < 1) goto L_NoSkins; if (zeny < @LEATHER_PATCH_PRICE) goto L_NoMoney; getinventorylist; - if (@inventorylist_count == 100) goto L_TooMany; + if (@inventorylist_count == 100 && countitem(@SNAKE_SKIN) > 1) goto L_TooMany; set zeny, zeny - @LEATHER_PATCH_PRICE; delitem @SNAKE_SKIN, 1; |