From 1fc876e6ffe9c2c3dd39c0d28b379c8209977a0a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 18:28:27 -0300 Subject: 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) --- npc/003-0/notes | 2 +- npc/craft/smith.txt | 3 +++ npc/functions/fishing.txt | 4 ++++ npc/functions/treasure.txt | 3 +++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/npc/003-0/notes b/npc/003-0/notes index cc277008b..fda37bf5a 100644 --- a/npc/003-0/notes +++ b/npc/003-0/notes @@ -49,7 +49,7 @@ SUPPORT SCIENCE / SCHOLARSHIP (MMO) AL_INCAGI (raise agi in 3+1/lv) HW_MAGICPOWER (aumenta poder da próxima skill em MATK 5%/lv) SM_PROVOKE (provoca um monstro especifico - exceto BOSS) - AL_ANGELUS (14x14, party, def +5%/lv) + **AL_ANGELUS (14x14, party, def +5%/lv) TF_DETOXIFY (cancels poison. 40% MP.) AC_CONCENTRATION (self: agi/dex 3+1%/lv, unhide enemies 3x3) AB_HIGHNESSHEAL (REAL healing skill) diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt index 71f6a47f5..87dc9d55d 100644 --- a/npc/craft/smith.txt +++ b/npc/craft/smith.txt @@ -62,6 +62,9 @@ function script SmithSystem { // Get experience for the craft .@xp=getiteminfo(.@it, ITEMINFO_SELLPRICE); getexp .@xp+BaseLevel, (.@xp/3)+BaseLevel+JobLevel; + // Monster points too, if appliable - by your Job Level + if (MPQUEST) + Mobpt+=JobLevel; .success=true; } else { 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)); 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")); } -- cgit v1.2.3-60-g2f50