summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/items/alcohol.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt
index 0305ad4c7..74274066a 100644
--- a/npc/items/alcohol.txt
+++ b/npc/items/alcohol.txt
@@ -63,7 +63,9 @@ OnUse:
// (Rounded down : So there's a "bonus" every ~3 people)
getmapxy(.@m$, .@x, .@y, 0);
.@bonus=getareausers(.@m$, .@x-14, .@y-14, .@x+14, .@y+14)-1;
- .@bonus=.@bonus*24/10;
+ .@server = getusers(1);
+ .@multiplier = limit(24, (32 * .@bonus / .@server), 32); // 2.4% ~ 3.2% bonus
+ .@bonus=.@bonus*.@multiplier/10;
@taste+=min(@taste, .@bonus);
// Alcohol EXP Bonus is ponderate average, so having more VIT doesn't means