summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/items/alcohol.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt
index 2da81af91..e8a7aa7a9 100644
--- a/npc/items/alcohol.txt
+++ b/npc/items/alcohol.txt
@@ -112,10 +112,10 @@ OnUse:
// Sanitization, and nerf the debuff
.@min=(.@min/2)+1;
.@max=(.@max/2)+2;
- // DEX and VIT may affect a tiny bit
+ // DEX and VIT may affect a tiny bit (there's caps)
.@pam=readparam2(bVit)+readparam2(bDex);
- .@min=min(0, .@min*limit(0, 500-.@pam, 500)/500);
- .@max=min(0, .@min*limit(1, 500-.@pam, 500)/500);
+ .@min=min(0, .@min*limit(50, 500-.@pam, 500)/500);
+ .@max=min(0, .@min*limit(100, 500-.@pam, 500)/500);
SC_Bonus(.@delay, SC_ATTHASTE_INFINITY, .@min, .@max);
if (debug || $@GM_OVERRIDE)
debugmes "Alcohol penalty: %d ~ %d for %d ms", .@min, .@max, .@delay;