diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-15 18:28:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-15 18:28:59 -0300 |
commit | 88bcde883586a4322e62b901ac61a8aa8ebeabca (patch) | |
tree | 59f5e784fb8856b608d78c6e0bad3332437af739 /npc/019-1 | |
parent | ca900fe304048bf0bd29945b5b0d6f9f34903d87 (diff) | |
download | serverdata-88bcde883586a4322e62b901ac61a8aa8ebeabca.tar.gz serverdata-88bcde883586a4322e62b901ac61a8aa8ebeabca.tar.bz2 serverdata-88bcde883586a4322e62b901ac61a8aa8ebeabca.tar.xz serverdata-88bcde883586a4322e62b901ac61a8aa8ebeabca.zip |
Fix bug at well
Diffstat (limited to 'npc/019-1')
-rw-r--r-- | npc/019-1/well.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/019-1/well.txt b/npc/019-1/well.txt index 1e6dc3a6f..070d53bec 100644 --- a/npc/019-1/well.txt +++ b/npc/019-1/well.txt @@ -67,7 +67,9 @@ L_Throw: // If ID is invalid, there's not enough items, it is bound = Cannot bury if (.@id < 1 || countitem(.@id) < 1 || checkbound(.@id) || !getiteminfo(.@id, ITEMINFO_MAXCHANCE)) { - if (checkbound(.@id)) + if (.@id < 1) + mesc l("You give up."); + else if (checkbound(.@id)) mesc l("You cannot drop this item!"); else if (!getiteminfo(.@id, ITEMINFO_MAXCHANCE)) mesc l("This item is too precious, you cannot part with it!"); |