summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-13 17:43:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-13 17:43:40 -0300
commit663c5e9d66b5db613271285c710f678e20b9ee18 (patch)
tree0095c96fad43a48076a508f893bb809fc4f06813
parent7504193d2b6c9577d760f548fd4ae6992eb1a486 (diff)
downloadserverdata-663c5e9d66b5db613271285c710f678e20b9ee18.tar.gz
serverdata-663c5e9d66b5db613271285c710f678e20b9ee18.tar.bz2
serverdata-663c5e9d66b5db613271285c710f678e20b9ee18.tar.xz
serverdata-663c5e9d66b5db613271285c710f678e20b9ee18.zip
MobPt on fishing: Multiply based on your own level.
Max multiplier is 10x bait rarity.
-rw-r--r--npc/functions/fishing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 0a3c0fe7e..c34c6d72e 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -234,7 +234,7 @@ function script fishing {
// MobPt gain is equivalent to bait rarity.
if (MPQUEST)
- Mobpt+=getvariableofnpc(.bait_ids[@bait_d+1], .@npc$);
+ Mobpt+=.@bai*limit(1, BaseLevel/10, 10);
if(!checkweight(.@fish_id, 1))
{