diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-18 08:02:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-18 08:02:20 -0300 |
commit | 1523e6c8b6e3e062730c95c3ac7f507bcb0d30ca (patch) | |
tree | 827b36edcfa3f4673291e3596a0b64590d1d3f4e /npc/functions/mob_points.txt | |
parent | 41d2e5a2ef515060d6d5458f19c0595a78acb159 (diff) | |
download | serverdata-1523e6c8b6e3e062730c95c3ac7f507bcb0d30ca.tar.gz serverdata-1523e6c8b6e3e062730c95c3ac7f507bcb0d30ca.tar.bz2 serverdata-1523e6c8b6e3e062730c95c3ac7f507bcb0d30ca.tar.xz serverdata-1523e6c8b6e3e062730c95c3ac7f507bcb0d30ca.zip |
Poppet's Initial Version
Diffstat (limited to 'npc/functions/mob_points.txt')
-rw-r--r-- | npc/functions/mob_points.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index 5e6a2580..7c8f4a4f 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -17,6 +17,7 @@ function script MobPoints { .@m$ = getmap(); if (isChristmas21() && compare(.@m$, "@"+callfunc("X21ID2"))) { + /* Christmas 2021 Main */ if (getmonsterinfo(@mobId, MOB_LV) >= 150 && rand2(4) == 1) getitem XmasTicket, 2; else if (getmonsterinfo(@mobId, MOB_LV) >= 100 && rand2(4) == 1) @@ -25,11 +26,14 @@ function script MobPoints { getitem XmasTicket, 1; else if (rand2(12) == 3) getitem XmasTicket, 1; - } - else if (isChristmas21() && (.@m$ == "082-3")) { - if (rand2(5) == 3) + } else if (isChristmas21() && .@m$ == "082-3") { + /* Christmas 2021 DLC - Poppet's Realm */ + if (getmonsterinfo(@mobId, MOB_LV) >= 150 && rand2(3) == 1) + getitem XmasTicket, 2; + else if (rand2(5) == 3) getitem XmasTicket, 1; - else if (isChristmas21() && (.@m$ == "081-1")) { + } else if (isChristmas21() && .@m$ == "081-1") { + /* Christmas 2021 Outdoors */ if (rand2(25) == 7) getitem XmasTicket, 1; } |