summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-12-07 22:53:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-12-07 22:53:28 -0300
commitf2aa0e7dae2279087254b190dc73d7bd732d2e4c (patch)
tree199e3a745ea198fd2c8646487d25333373b5a7cd
parent27c8d26fef98213759c22cbaa8b19a0b765cd2e2 (diff)
downloadserverdata-f2aa0e7dae2279087254b190dc73d7bd732d2e4c.tar.gz
serverdata-f2aa0e7dae2279087254b190dc73d7bd732d2e4c.tar.bz2
serverdata-f2aa0e7dae2279087254b190dc73d7bd732d2e4c.tar.xz
serverdata-f2aa0e7dae2279087254b190dc73d7bd732d2e4c.zip
Fix one more outstanding bug
-rw-r--r--npc/functions/mob_points.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt
index 083cd6b5..6f38a871 100644
--- a/npc/functions/mob_points.txt
+++ b/npc/functions/mob_points.txt
@@ -16,11 +16,11 @@ function script MobPoints {
@mobId=killedrid;
if (isChristmas21() && compare(getmap(), "@"+callfunc("X21ID2"))) {
- if (getmonsterinfo(getarg(0), MOB_LV) >= 150 && any(true, false))
+ if (getmonsterinfo(@mobId, MOB_LV) >= 150 && any(true, false))
getitem AquaTicket, 2;
- else if (getmonsterinfo(getarg(0), MOB_LV) >= 100 && any(true, false))
+ else if (getmonsterinfo(@mobId, MOB_LV) >= 100 && any(true, false))
getitem AquaTicket, 1;
- else if (getmonsterinfo(getarg(0), MOB_LV) >= 40 && any(true, false, false, false))
+ else if (getmonsterinfo(@mobId, MOB_LV) >= 40 && any(true, false, false, false))
getitem AquaTicket, 1;
else if (rand2(10) == 3)
getitem AquaTicket, 1;