From a9046d308843a5f9e7feb84ff33bad3ba9d34c19 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 13 Jan 2019 18:59:35 -0200 Subject: Baselevel will also boost fishing exp gain (but luck will not) --- npc/functions/fishing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index b669e5af8..f9298af26 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -221,7 +221,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 + getexp getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+(BaseLevel/10), 0; // xp gain is equivalent to bait rarity + BaseLevel boost if(!checkweight(.@fish_id, 1)) { -- cgit v1.2.3-70-g09d2