summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-27 18:28:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-27 18:28:27 -0300
commit1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a (patch)
treeaf0220a15d2224ced86102f1e20b8cbf640a762b /npc/functions/fishing.txt
parentf036cdcc36440c7811d6dd6741d372afeb98e47b (diff)
downloadserverdata-1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a.tar.gz
serverdata-1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a.tar.bz2
serverdata-1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a.tar.xz
serverdata-1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a.zip
Passive Playstyle: Now you get monster points in the following cases:
Fishing (=bait rarity). Treasure Hunting (=20% from Job Level). Both are about a Maggot Kill. Crafting gives full job level (about a Dark Lizard kill)
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 56415e6eb..52f9fcc9a 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -225,6 +225,10 @@ function script fishing {
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
+ // MobPt gain is equivalent to bait rarity.
+ if (MPQUEST)
+ Mobpt+=getvariableofnpc(.bait_ids[@bait_d+1], .@npc$);
+
if(!checkweight(.@fish_id, 1))
{
dispbottom l("You caught a @@ but had no room in your inventory to carry it.", getitemlink(.@fish_id));