diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-16 22:06:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-16 22:06:18 -0300 |
commit | f901c5df63409aded3e92e7002e9bb3acb66875e (patch) | |
tree | 922cb939ec0d1761e017dc3bbe264d6c603b832c /npc/functions/fishing.txt | |
parent | fd73c82c7f4412ee8c4870ff9db826564b6b9575 (diff) | |
download | serverdata-f901c5df63409aded3e92e7002e9bb3acb66875e.tar.gz serverdata-f901c5df63409aded3e92e7002e9bb3acb66875e.tar.bz2 serverdata-f901c5df63409aded3e92e7002e9bb3acb66875e.tar.xz serverdata-f901c5df63409aded3e92e7002e9bb3acb66875e.zip |
Small, simple loop for Fishing
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r-- | npc/functions/fishing.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 92a0161c8..647ff19d5 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -236,13 +236,16 @@ function script fishing { if (MPQUEST) Mobpt+=.@bai*limit(1, BaseLevel/10, 10); - if(!checkweight(.@fish_id, 1)) - { + if(!checkweight(.@fish_id, 1)) { 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") + FYE_Fishing(); } } else |