From 8071ddde86666c1495c5119b3927f5718b690f60 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 18 Aug 2019 15:08:14 -0300 Subject: Revert a patch --- npc/functions/mobpoint.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'npc/functions/mobpoint.txt') diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 9c901bc3d..7146dba41 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -13,13 +13,21 @@ function script fix_mobkill { function script mobpoint { //if (killedrid < 1002) goto L_Return; - // You get MobLv + 10% as MobPoints. - // So a level 100 monster gives you 110 MobPt. - .@addval=strmobinfo(3,killedrid)*11/10; + // You get MobLv + 20% as MobPoints. + // So a level 100 monster gives you 120 MobPt. Slimes gives no bonus. + if (compare("slime", strtolower(strmobinfo(1, killedrid)))) + .@addval=strmobinfo(3,killedrid); + else + .@addval=strmobinfo(3,killedrid)*12/10; + + // Global record TS_MOBPT = TS_MOBPT + .@addval; + + // Not MPQuest - end if (!MPQUEST) return; + // Give you the points Mobpt = Mobpt + .@addval; return; -- cgit v1.2.3-60-g2f50