summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-12 12:58:59 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-12 12:58:59 -0300
commitf001a08662b79884b81fb14fda2e65d19331f7f6 (patch)
treede9aa748244b73eb904ed59247c76a5eb0a43084 /npc
parent22d78fdea101da42feb8d97cd6bb60f8bff37bc7 (diff)
downloadserverdata-f001a08662b79884b81fb14fda2e65d19331f7f6.tar.gz
serverdata-f001a08662b79884b81fb14fda2e65d19331f7f6.tar.bz2
serverdata-f001a08662b79884b81fb14fda2e65d19331f7f6.tar.xz
serverdata-f001a08662b79884b81fb14fda2e65d19331f7f6.zip
Nerf drop rates, we can always buff them later
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/mob_points.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt
index 1b185e15..ca1edaba 100644
--- a/npc/functions/mob_points.txt
+++ b/npc/functions/mob_points.txt
@@ -5,27 +5,24 @@
// fix_mobkill(mobID) → Manual fix for scripted mobs
function script fix_mobkill {
- debugmes "FIX MOBKILL (%s) for %s", strmobinfo(1, getarg(0)), strcharinfo(0);
killedrid=getarg(0);
doevent "#GlobalHandler::OnNPCKillEvent";
return;
}
function script MobPoints {
- if (killedrid != RudolphSlime)
- debugmes "%s killed monster %s [Lv %d] (%s)", strcharinfo(0), strmobinfo(1, killedrid), getmonsterinfo(killedrid, MOB_LV), getmap();
$MONSTERS_KILLED+=1;
MONSTERS_KILLED+=1;
@mobId=killedrid;
if (isChristmas21() && compare(getmap(), "@"+callfunc("X21ID2"))) {
- if (getmonsterinfo(@mobId, MOB_LV) >= 150 && rand2(3) == 1)
+ if (getmonsterinfo(@mobId, MOB_LV) >= 150 && rand2(5) == 1)
getitem XmasTicket, 2;
- else if (getmonsterinfo(@mobId, MOB_LV) >= 100 && rand2(3) == 1)
+ else if (getmonsterinfo(@mobId, MOB_LV) >= 100 && rand2(4) == 1)
getitem XmasTicket, 1;
- else if (getmonsterinfo(@mobId, MOB_LV) > 50 && rand2(5) == 3)
+ else if (getmonsterinfo(@mobId, MOB_LV) > 50 && rand2(7) == 3)
getitem XmasTicket, 1;
- else if (rand2(10) == 3)
+ else if (rand2(12) == 3)
getitem XmasTicket, 1;
}