summaryrefslogtreecommitdiff
path: root/npc/items/alcohol.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
commit4fcbee767848cb0a4b34db504fa0cb30d55dc78d (patch)
treebb7b13be1935ae2769dc4aaf0b6b0644d28b83ae /npc/items/alcohol.txt
parent42ff46a168148ceb70bb37431ad4d162429be464 (diff)
downloadserverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.gz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.bz2
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.xz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.zip
Use readparam2() instead of readparam() in several places
Diffstat (limited to 'npc/items/alcohol.txt')
-rw-r--r--npc/items/alcohol.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/items/alcohol.txt b/npc/items/alcohol.txt
index 1c157584b..c83ae406b 100644
--- a/npc/items/alcohol.txt
+++ b/npc/items/alcohol.txt
@@ -43,7 +43,7 @@ OnUse:
// Do you have enough vitality to hold your beer?
// Skip this check on the first drink
if (ALC_THRESHOLD) {
- .@vit=readparam(bVit);
+ .@vit=readparam2(bVit);
if (@Alcohol+ALC_THRESHOLD > .@vit) {
dispbottom l("You vomit, you are too drunk for this to have effect anymore.");
dispbottom l("Raise vitality to be able to drink even more.");