diff options
Diffstat (limited to 'npc/functions/mob_points.txt')
-rw-r--r-- | npc/functions/mob_points.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index b4361f0a..fb13def9 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -15,6 +15,17 @@ function script MobPoints { MONSTERS_KILLED+=1; @mobId=killedrid; + if (isChristmas21() && compare(getmap(), "@"+callfunc("X21ID2"))) { + if (getmonsterinfo(getarg(0), MOB_LV) >= 150) + getitem AquaTicket, 2; + else if (getmonsterinfo(getarg(0), MOB_LV) >= 100 && any(true, false)) + getitem AquaTicket, 2; + else if (getmonsterinfo(getarg(0), MOB_LV) >= 40 && any(true, false, false)) + getitem AquaTicket, 1; + else if (rand2(5) == 3) + getitem AquaTicket, 1; + } + if (MPQUEST) { .@moblv=strmobinfo(3,killedrid); |