diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-16 14:09:04 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-16 14:09:04 -0200 |
commit | 3edf5e4f22cde11956b30a79bb7eb83f64b91a22 (patch) | |
tree | 2ff2af3ebdb9e5c6ef2ccc4c0615709b002ded62 | |
parent | d7d377939975609d65812679115983767de7da14 (diff) | |
download | serverdata-3edf5e4f22cde11956b30a79bb7eb83f64b91a22.tar.gz serverdata-3edf5e4f22cde11956b30a79bb7eb83f64b91a22.tar.bz2 serverdata-3edf5e4f22cde11956b30a79bb7eb83f64b91a22.tar.xz serverdata-3edf5e4f22cde11956b30a79bb7eb83f64b91a22.zip |
Fishing now yields some experience, based on bait rarity.
-rw-r--r-- | npc/functions/fishing.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 40f5bfb26..b35caeb03 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -203,6 +203,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 if(!checkweight(.@fish_id, 1)) { |