summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-07-09 22:02:05 +0200
committerJesusalva Jesusalva <jesusalva@tmw2.org>2024-08-30 13:28:58 +0000
commit5f54f3a2a47949fa8d9b970818d1d0749b3d1909 (patch)
treebc07a32bdcd0a1ade129a7f1db3c18c235b6aec3
parentbdeb18dc23576e855108bb7a53e0ab901b72b225 (diff)
downloadserverdata-5f54f3a2a47949fa8d9b970818d1d0749b3d1909.tar.gz
serverdata-5f54f3a2a47949fa8d9b970818d1d0749b3d1909.tar.bz2
serverdata-5f54f3a2a47949fa8d9b970818d1d0749b3d1909.tar.xz
serverdata-5f54f3a2a47949fa8d9b970818d1d0749b3d1909.zip
Don't return before giving event rewards
-rw-r--r--npc/functions/fishing.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index bac766f98..ba6ad8239 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -237,12 +237,12 @@ function script fishing {
if (MPQUEST)
Mobpt+=.@bai*limit(1, BaseLevel/10, 10);
- if(!checkweight(.@fish_id, 1)) {
+ if (checkweight(.@fish_id, 1)) {
+ getitem .@fish_id, 1;
+ } else {
dispbottom l("You caught a @@ but had no room in your inventory to carry it.", getitemlink(.@fish_id));
makeitem .@fish_id, 1, .@mapbis$, .@xbis, .@ybis; // drop on the ground
- return 0;
}
- getitem .@fish_id, 1;
// Catch the Golden Fish Event
if ($EVENT$ == "Fishing")