From f001a08662b79884b81fb14fda2e65d19331f7f6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 12 Dec 2021 12:58:59 -0300 Subject: Nerf drop rates, we can always buff them later --- npc/functions/mob_points.txt | 11 ++++------- 1 file 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; } -- cgit v1.2.3-60-g2f50