diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-27 19:54:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-27 19:54:58 -0300 |
commit | 9582cb5d497130adf259631c25fdffa9c6c08734 (patch) | |
tree | bca6d48eaa1ceef9cf4be73f277ec0dc81ffc5d1 /npc/functions/mobpoint.txt | |
parent | 378bf4cd11dcec4cb94edeb49b43596003868660 (diff) | |
download | serverdata-9582cb5d497130adf259631c25fdffa9c6c08734.tar.gz serverdata-9582cb5d497130adf259631c25fdffa9c6c08734.tar.bz2 serverdata-9582cb5d497130adf259631c25fdffa9c6c08734.tar.xz serverdata-9582cb5d497130adf259631c25fdffa9c6c08734.zip |
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.
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r-- | npc/functions/mobpoint.txt | 9 |
1 files changed, 6 insertions, 3 deletions
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; |