diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-12-07 22:24:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-12-07 22:24:27 -0300 |
commit | 579f290274ea7993b4f304cf99a4c09bda88c7b5 (patch) | |
tree | e4691deac4845ebd792df39aac1573d082f02178 | |
parent | 417e623583c211c370a1162489831822f07b04d5 (diff) | |
download | serverdata-579f290274ea7993b4f304cf99a4c09bda88c7b5.tar.gz serverdata-579f290274ea7993b4f304cf99a4c09bda88c7b5.tar.bz2 serverdata-579f290274ea7993b4f304cf99a4c09bda88c7b5.tar.xz serverdata-579f290274ea7993b4f304cf99a4c09bda88c7b5.zip |
Nerf ticket drop rate
-rw-r--r-- | npc/functions/mob_points.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index fb13def9..b894d52f 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -16,13 +16,13 @@ function script MobPoints { @mobId=killedrid; if (isChristmas21() && compare(getmap(), "@"+callfunc("X21ID2"))) { - if (getmonsterinfo(getarg(0), MOB_LV) >= 150) + if (getmonsterinfo(getarg(0), MOB_LV) >= 150 && any(true, false)) 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) + else if (getmonsterinfo(getarg(0), MOB_LV) >= 40 && any(true, false, false, false)) + getitem AquaTicket, 1; + else if (rand2(6) == 3) getitem AquaTicket, 1; } |