summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-27 20:48:20 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-27 20:48:20 -0300
commit861a5d127d7e50900ca32ba97aee8647b8709894 (patch)
treec176d514cb81112a7a38c28ba8604fb349b44e94 /npc/items
parent9835f23603191eaf6531c44335c2d7baaa473f36 (diff)
downloadserverdata-861a5d127d7e50900ca32ba97aee8647b8709894.tar.gz
serverdata-861a5d127d7e50900ca32ba97aee8647b8709894.tar.bz2
serverdata-861a5d127d7e50900ca32ba97aee8647b8709894.tar.xz
serverdata-861a5d127d7e50900ca32ba97aee8647b8709894.zip
Each user nearby will raise EXP boost in 1.5% instead of default 1%.
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/alcohol.txt3
1 files changed, 2 insertions, 1 deletions
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