diff options
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r-- | npc/functions/mobpoint.txt | 14 |
1 files changed, 11 insertions, 3 deletions
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; |