diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-13 18:59:35 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-13 18:59:35 -0200 |
commit | a9046d308843a5f9e7feb84ff33bad3ba9d34c19 (patch) | |
tree | d145c3883127cad01d9d8a4bd1f379556a575172 /npc/functions | |
parent | f15bb7f1bff12b5bda89764bbaadde9baf023b02 (diff) | |
download | serverdata-a9046d308843a5f9e7feb84ff33bad3ba9d34c19.tar.gz serverdata-a9046d308843a5f9e7feb84ff33bad3ba9d34c19.tar.bz2 serverdata-a9046d308843a5f9e7feb84ff33bad3ba9d34c19.tar.xz serverdata-a9046d308843a5f9e7feb84ff33bad3ba9d34c19.zip |
Baselevel will also boost fishing exp gain (but luck will not)
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/fishing.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |