summaryrefslogtreecommitdiff
path: root/npc/functions/mob_points.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2021-12-07 23:01:55 +0100
committerHoraK-FDF <horak-fdf@web.de>2021-12-07 23:01:55 +0100
commit71d0cdfe8bdb0567303825850ad36a5e8506ab2b (patch)
tree28f778dc81a65c531a9485e38456a60d6b4daf3f /npc/functions/mob_points.txt
parentc1be7bd1eab5b0c230001c369292abe757a7f32a (diff)
parentcd6424df5baf7d46b96fa1ee4be500ad8b131a82 (diff)
downloadserverdata-71d0cdfe8bdb0567303825850ad36a5e8506ab2b.tar.gz
serverdata-71d0cdfe8bdb0567303825850ad36a5e8506ab2b.tar.bz2
serverdata-71d0cdfe8bdb0567303825850ad36a5e8506ab2b.tar.xz
serverdata-71d0cdfe8bdb0567303825850ad36a5e8506ab2b.zip
Merge branch 'xmas2021' of https://gitlab.com/themanaworld/evolved/serverdata into xmas2021
Diffstat (limited to 'npc/functions/mob_points.txt')
-rw-r--r--npc/functions/mob_points.txt11
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);