From 861a5d127d7e50900ca32ba97aee8647b8709894 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 20:48:20 -0300 Subject: Each user nearby will raise EXP boost in 1.5% instead of default 1%. --- npc/items/alcohol.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/items') diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt index 3421bbe9e..ad91da8db 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -55,10 +55,11 @@ OnUse: // Default value is 1 minute per alcohol point - you'll be somber after at most two hours. // Taste is affected by users near you. - // Each user raises exp bonus in 1%, capped to the beverage taste + // Each user raises exp bonus in 1.5%, capped to the beverage taste // If you are with many people, drink a better beverage! ;-) getmapxy(.@m$, .@x, .@y, 0); .@bonus=getareausers(.@m$, .@x-12, .@y-12, .@x+12, .@y+12)-1; + .@bonus=.@bonus*15/10; @taste+=min(@taste, .@bonus); // Alcohol EXP Bonus - ponderate average, so having more VIT doesn't means -- cgit v1.2.3-70-g09d2