summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-19 00:14:00 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-19 00:14:00 -0300
commit52e634195f52d40e5716fb312c017665cb08cc50 (patch)
tree035093ab380327b763028bc7ffbef1ebcc920751 /npc/functions
parenta85ab5d1e10eed45893813c9ce1a2788563b73de (diff)
downloadserverdata-52e634195f52d40e5716fb312c017665cb08cc50.tar.gz
serverdata-52e634195f52d40e5716fb312c017665cb08cc50.tar.bz2
serverdata-52e634195f52d40e5716fb312c017665cb08cc50.tar.xz
serverdata-52e634195f52d40e5716fb312c017665cb08cc50.zip
Fishing: Gain 5 Job EXP if you miss the fish.
Gain 5~14 job exp if you succeed.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/fishing.txt3
1 files changed, 2 insertions, 1 deletions
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$="";