diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-27 18:28:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-27 18:28:27 -0300 |
commit | 1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a (patch) | |
tree | af0220a15d2224ced86102f1e20b8cbf640a762b /npc/functions/treasure.txt | |
parent | f036cdcc36440c7811d6dd6741d372afeb98e47b (diff) | |
download | serverdata-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/treasure.txt')
-rw-r--r-- | npc/functions/treasure.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt index 0698d56ee..83da812e4 100644 --- a/npc/functions/treasure.txt +++ b/npc/functions/treasure.txt @@ -49,6 +49,9 @@ function script TreasureBox { inventoryplace .@loot, 1; mesc l("You find @@ inside!", getitemlink(.@loot)); getitem .@loot, 1; + // Get Monster points for treasure hunting (20% from job level) + if (MPQUEST) + Mobpt+=(JobLevel/5); } else { mesc l("You find @@ inside!", l("nothing")); } |