From bc7dfe9175842ddcdba8d7372341ba625ffa4036 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 9 Oct 2023 14:11:36 -0300 Subject: Bonus can go up to 3.6%/player or even 4.0%/player if used in designed areas. It is a 0.4% bonus per player on MMO maps and 0.8% on SuperMMO maps. SuperMMO maps are most of those belonging to Fortress Island. --- npc/items/alcohol.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc') diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt index 74274066a..395bfe5d1 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -65,6 +65,10 @@ OnUse: .@bonus=getareausers(.@m$, .@x-14, .@y-14, .@x+14, .@y+14)-1; .@server = getusers(1); .@multiplier = limit(24, (32 * .@bonus / .@server), 32); // 2.4% ~ 3.2% bonus + if (getmapinfo(MAPINFO_ZONE) == "MMO") + .@multiplier += 4; + else if (getmapinfo(MAPINFO_ZONE) == "SuperMMO") + .@multiplier += 8; .@bonus=.@bonus*.@multiplier/10; @taste+=min(@taste, .@bonus); -- cgit v1.2.3-70-g09d2