diff options
Diffstat (limited to 'npc/items')
-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 8920a45fb..e50b3c00d 100644 --- a/npc/items/alcohol.txt +++ b/npc/items/alcohol.txt @@ -45,12 +45,12 @@ OnUse: sc_start SC_CONFUSION, 5000, 0, 10000, SCFLAG_NOAVOID; // Warning, forces user to use @resync! end; } - debugmes "%d %d | %d %d | f t ", remaining_bonus(SC_CASH_PLUSEXP, false), remaining_bonus(SC_CASH_PLUSEXP, true), remaining_bonus(SC_ATTHASTE_INFINITY, false), remaining_bonus(SC_ATTHASTE_INFINITY, true); + //debugmes "%d %d | %d %d | f t ", remaining_bonus(SC_CASH_PLUSEXP, false), remaining_bonus(SC_CASH_PLUSEXP, true), remaining_bonus(SC_ATTHASTE_INFINITY, false), remaining_bonus(SC_ATTHASTE_INFINITY, true); // Taste is affected by users near you. // Each user raises exp bonus in 1%, capped to the beverage taste // If you are with many people, drink a better beverage! ;-) getmapxy(.@m$, .@x, .@y, 0); - .@bonus=getareausers(.@m$, .@x-10, .@y-10, .@x+10, .@y+10); + .@bonus=getareausers(.@m$, .@x-10, .@y-10, .@x+10, .@y+10)-1; @taste+=min(@taste, .@bonus); // Put the delay in ms. Each Alcohol point is 10 minutes. |