diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-18 15:08:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-18 15:08:14 -0300 |
commit | 8071ddde86666c1495c5119b3927f5718b690f60 (patch) | |
tree | 6137874d6aae3fc9a0bd12e6582ec4a0b5649df2 /npc/functions/mobpoint.txt | |
parent | c9173a4e2e55b0fdf4df0d99920c556548a81e4b (diff) | |
download | serverdata-8071ddde86666c1495c5119b3927f5718b690f60.tar.gz serverdata-8071ddde86666c1495c5119b3927f5718b690f60.tar.bz2 serverdata-8071ddde86666c1495c5119b3927f5718b690f60.tar.xz serverdata-8071ddde86666c1495c5119b3927f5718b690f60.zip |
Revert a patch
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; |