diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-13 00:10:14 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-13 00:10:14 -0300 |
commit | 32be77b5b77db62f630543e78e25397a2f999cde (patch) | |
tree | aae0e6ad0a000780c431d1d1470290884bb94a0c | |
parent | 80dee0bb94a6ee0daae543f1886225adcc821cc6 (diff) | |
download | serverdata-32be77b5b77db62f630543e78e25397a2f999cde.tar.gz serverdata-32be77b5b77db62f630543e78e25397a2f999cde.tar.bz2 serverdata-32be77b5b77db62f630543e78e25397a2f999cde.tar.xz serverdata-32be77b5b77db62f630543e78e25397a2f999cde.zip |
Give a 10% bonus on Monster Points, so a Lv 100 Monster gives 110 MobPt.
-rw-r--r-- | npc/functions/mobpoint.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index a9d69af05..f79996e6e 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -7,7 +7,10 @@ function script mobpoint { if (!MPQUEST) goto L_Return; //if (killedrid < 1002) goto L_Return; - Mobpt = Mobpt + strmobinfo(3,killedrid); + // You get MobLv + 10% as MobPoints. + // So a level 100 monster gives you 110 MobPt. + .@addval=atoi(strmobinfo(3,killedrid))*11/10; + Mobpt = Mobpt + .@addval; L_Return: |