summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-26 17:31:55 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-26 17:31:55 -0300
commitf93cfe372dfaf0694626fdda0db48b79431986fc (patch)
treebd3a8cfdb0ae26520bf453a6b8963066f0cafa4a
parentc2ae46e5bb11cf46c15fe9c7d281b076922d3c1e (diff)
downloadserverdata-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.txt11
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