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.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 40f5bfb26..b35caeb03 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -203,6 +203,7 @@ function script fishing {
if (rand(gettimetick(0) - @fishing_tick) <= .@pull_rand_max)
{
specialeffect(.@success_fx, SELF, playerattached()); // event success
+ getexp getvariableofnpc(.bait_ids[@bait_d+1], .@npc$), 0; // xp gain is equivalent to bait rarity
if(!checkweight(.@fish_id, 1))
{