From 9582cb5d497130adf259631c25fdffa9c6c08734 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 19:54:58 -0300 Subject: Change MobPt bonus from 10% to 20%, and slimes won't have this bonus anymore. Meaning a lv 30 slime (default) will go from 33 to 30 mob points. While a normal lv 30 enemy will go from 33 to 36 mob points. --- npc/functions/mobpoint.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 8605f40ba..1c1883a6f 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -15,9 +15,12 @@ function script mobpoint { return; //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; Mobpt = Mobpt + .@addval; return; -- cgit v1.2.3-70-g09d2