diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-11-04 10:38:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-11-04 10:38:42 -0300 |
commit | 1107ca871475366eaca2a6b934789c0ec8fea867 (patch) | |
tree | 0492c71078a635c3357a69787e47510e6fa6e6d5 | |
parent | 4b975e62fed71ee7f5c4270325c36efb5dda2789 (diff) | |
download | serverdata-1107ca871475366eaca2a6b934789c0ec8fea867.tar.gz serverdata-1107ca871475366eaca2a6b934789c0ec8fea867.tar.bz2 serverdata-1107ca871475366eaca2a6b934789c0ec8fea867.tar.xz serverdata-1107ca871475366eaca2a6b934789c0ec8fea867.zip |
Documentation is wrong?
-rw-r--r-- | npc/items/alcohol.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt index d368af3e6..d380a1367 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -67,9 +67,9 @@ OnUse: .@multiplier = limit(24, (32 * .@bonus / .@server), 32); // 2.4% ~ 3.2% bonus if ($GAME_STORYLINE >= 5) .@multiplier *= 2; // 4.8% ~ 6.4% bonus if Monster King is dead - if (getmapinfo(MAPINFO_ZONE) == "MMO") + if (getmapinfo(MAPINFO_ZONE, .@m$) == "MMO") .@multiplier += 4; - else if (getmapinfo(MAPINFO_ZONE) == "SuperMMO") + else if (getmapinfo(MAPINFO_ZONE, .@m$) == "SuperMMO") .@multiplier += 8; // Max is 4.0% per user, or 7.2% if MK is dead .@bonus=.@bonus*.@multiplier/10; @taste+=min(@taste, .@bonus); |