summaryrefslogtreecommitdiff
path: root/npc/functions/mob_points.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-30 09:19:37 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-30 09:19:37 -0300
commit0ba258174f6ac25552d6fe4d50f2865955648d7c (patch)
tree9f21c5bb4d43259004b4a931ce09cbab3ca6c6db /npc/functions/mob_points.txt
parentf9607ffb1e56f31deaa64c56728ae97acd69e72b (diff)
downloadserverdata-0ba258174f6ac25552d6fe4d50f2865955648d7c.tar.gz
serverdata-0ba258174f6ac25552d6fe4d50f2865955648d7c.tar.bz2
serverdata-0ba258174f6ac25552d6fe4d50f2865955648d7c.tar.xz
serverdata-0ba258174f6ac25552d6fe4d50f2865955648d7c.zip
Move Aqua Ticket Drops to Monster Points system
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);