From 88bcde883586a4322e62b901ac61a8aa8ebeabca Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Sep 2018 18:28:59 -0300 Subject: Fix bug at well --- npc/019-1/well.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc/019-1/well.txt') 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!"); -- cgit v1.2.3-60-g2f50