diff options
-rw-r--r-- | npc/functions/mob_points.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index ed0bd165..5e6a2580 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -14,8 +14,9 @@ function script MobPoints { $MONSTERS_KILLED+=1; MONSTERS_KILLED+=1; @mobId=killedrid; + .@m$ = getmap(); - if (isChristmas21() && compare(getmap(), "@"+callfunc("X21ID2"))) { + if (isChristmas21() && compare(.@m$, "@"+callfunc("X21ID2"))) { if (getmonsterinfo(@mobId, MOB_LV) >= 150 && rand2(4) == 1) getitem XmasTicket, 2; else if (getmonsterinfo(@mobId, MOB_LV) >= 100 && rand2(4) == 1) @@ -25,6 +26,13 @@ function script MobPoints { else if (rand2(12) == 3) getitem XmasTicket, 1; } + else if (isChristmas21() && (.@m$ == "082-3")) { + if (rand2(5) == 3) + getitem XmasTicket, 1; + else if (isChristmas21() && (.@m$ == "081-1")) { + if (rand2(25) == 7) + getitem XmasTicket, 1; + } if (MPQUEST) { .@moblv=strmobinfo(3,killedrid); |