From 52e634195f52d40e5716fb312c017665cb08cc50 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 19 Apr 2020 00:14:00 -0300 Subject: Fishing: Gain 5 Job EXP if you miss the fish. Gain 5~14 job exp if you succeed. --- npc/functions/fishing.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/functions/fishing.txt') diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 96bde415a..92a0161c8 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -230,7 +230,7 @@ function script fishing { .@fish_id = any_of(.@common_fish); } specialeffect(.@success_fx, SELF, playerattached()); - getexp getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+(BaseLevel/10), 0; // xp gain is equivalent to bait rarity + BaseLevel boost + getexp getvariableofnpc(.bait_ids[@bait_d+1], .@npc$)+(BaseLevel/10), 4+getvariableofnpc(.bait_ids[@bait_d+1], .@npc$); // xp gain is equivalent to bait rarity + BaseLevel boost // MobPt gain is equivalent to bait rarity. if (MPQUEST) @@ -250,6 +250,7 @@ function script fishing { dispbottom l("You pulled too late and lost the bait..."); specialeffect(.@failure_fx, SELF, playerattached()); // event fail .@fish_id = 0; + getexp 0, 5; } @fishing_spot$=""; -- cgit v1.2.3-70-g09d2