diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-26 17:31:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-26 17:31:55 -0300 |
commit | f93cfe372dfaf0694626fdda0db48b79431986fc (patch) | |
tree | bd3a8cfdb0ae26520bf453a6b8963066f0cafa4a | |
parent | c2ae46e5bb11cf46c15fe9c7d281b076922d3c1e (diff) | |
download | serverdata-f93cfe372dfaf0694626fdda0db48b79431986fc.tar.gz serverdata-f93cfe372dfaf0694626fdda0db48b79431986fc.tar.bz2 serverdata-f93cfe372dfaf0694626fdda0db48b79431986fc.tar.xz serverdata-f93cfe372dfaf0694626fdda0db48b79431986fc.zip |
Nerf regular and skull slime monster points. No change to mothers.
-rw-r--r-- | npc/functions/mobpoint.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index f7793fbd5..a8ff282b0 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -18,10 +18,13 @@ function script mobpoint { .@moblv=strmobinfo(3,killedrid); // 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=.@moblv; - else + // So a level 100 monster gives you 120 MobPt. Slimes gives -20% mobpt. + if (compare("slime", strtolower(strmobinfo(1, killedrid)))) { + if (!(compare("mother", strtolower(strmobinfo(1, killedrid))))) + .@addval=.@moblv*8/10; + else + .@addval=.@moblv; + } else { .@addval=.@moblv*12/10; // Penalty/Bonus |