summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 4dcb4882..e995595c 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -187,6 +187,7 @@ function script fishing {
if (rand(gettimetick(0) - @fishing_tick) <= .@pull_rand_max + (100 * @FISHING_BOOSTER[getnpcid()]))
{
specialeffect(.@success_fx, SELF, playerattached()); // event success
+ EXP_FISH += 1; // TODO: It could be done better
if(!checkweight(.@fish_id, 1))
{
@@ -245,7 +246,8 @@ function script fishing {
if (getvariableofnpc(.bait_ids[.@i], .@npc$) == .@bait)
{
.@bait_c = true;
- @FISHING_BOOSTER[getnpcid()] = getvariableofnpc(.bait_ids[.@i + 1], .@npc$);
+ @FISHING_BOOSTER[getnpcid()] = getvariableofnpc(.bait_ids[.@i + 1], .@npc$) + min(5, LVL_FISH/3); // TODO: Currently, every 3 levels give +1 rare
+ // ...rate, up to a +5 at level 15 (baits can only give up to +2)
break;
}
}