summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-28 21:14:12 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-28 21:14:12 -0300
commitf65c75ac274dc73d0b2d828c9ae769690b406783 (patch)
tree8053e82b7ce8d542c653d0e3bad71a6b7526bc66 /npc/items
parent45f9afaeb78fd7fbf314143963415df9b2ed7949 (diff)
downloadserverdata-f65c75ac274dc73d0b2d828c9ae769690b406783.tar.gz
serverdata-f65c75ac274dc73d0b2d828c9ae769690b406783.tar.bz2
serverdata-f65c75ac274dc73d0b2d828c9ae769690b406783.tar.xz
serverdata-f65c75ac274dc73d0b2d828c9ae769690b406783.zip
Nerf alcohol debuffs by almost half.
+100% exp gave +100ms to attack delay, now this is +52ms (roughly)
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/alcohol.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt
index 25f93c744..b171eedc9 100644
--- a/npc/items/alcohol.txt
+++ b/npc/items/alcohol.txt
@@ -109,6 +109,9 @@ OnUse:
.@delay=@Alcohol*(.@deltatime/1000);
.@min=-(remaining_bonus(SC_OVERLAPEXPUP, true)*2);
.@max=-(remaining_bonus(SC_OVERLAPEXPUP, true)*2);
+ // Sanitization, and nerf the debuff
+ .@min=(.@min/2)+1;
+ .@max=(.@max/2)+2;
SC_Bonus(.@delay, SC_ATTHASTE_INFINITY, .@min, .@max);
close;
}