summaryrefslogtreecommitdiff
path: root/npc/012-2/melina.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-19 22:46:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-19 22:46:41 -0300
commitedc18d8c8ec30b8a6de403601db095aa841001f3 (patch)
treed3849460d496d9cc733a2943fedf5c36de2096e3 /npc/012-2/melina.txt
parent65931ab5041b74398048f8117349f58ff7c489be (diff)
downloadserverdata-edc18d8c8ec30b8a6de403601db095aa841001f3.tar.gz
serverdata-edc18d8c8ec30b8a6de403601db095aa841001f3.tar.bz2
serverdata-edc18d8c8ec30b8a6de403601db095aa841001f3.tar.xz
serverdata-edc18d8c8ec30b8a6de403601db095aa841001f3.zip
Fix a bug which haven't happened yet but when it happen it must be fixed :<
Diffstat (limited to 'npc/012-2/melina.txt')
-rw-r--r--npc/012-2/melina.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/012-2/melina.txt b/npc/012-2/melina.txt
index 639eb0be5..bdb40dbc4 100644
--- a/npc/012-2/melina.txt
+++ b/npc/012-2/melina.txt
@@ -54,7 +54,10 @@ OnInit:
end;
OnClock2358:
- restoreshopitem Beer, 500-($HELENA_ST/2), ($HELENA_ST/3)+1;
+ if ($HELENA_ST < 700)
+ restoreshopitem Beer, 500-($HELENA_ST/2), ($HELENA_ST/3)+1;
+ else
+ restoreshopitem Beer, 150, ($HELENA_ST/3)+1;
end;
}