From 3edf5e4f22cde11956b30a79bb7eb83f64b91a22 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Dec 2018 14:09:04 -0200 Subject: Fishing now yields some experience, based on bait rarity. --- npc/functions/fishing.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'npc/functions/fishing.txt') 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)) { -- cgit v1.2.3-60-g2f50