summaryrefslogtreecommitdiff
path: root/npc/019-4-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 22:03:34 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 22:03:34 -0200
commit6ae2e8811683de716a32ddb7a0398371d83ddc48 (patch)
treeba4f96f71bd4a645f0f04d5e81056dc1d7fb3429 /npc/019-4-1
parent3f064f2ffb053760f5f1b2439c89e03b726d4141 (diff)
downloadserverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.gz
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.bz2
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.tar.xz
serverdata-6ae2e8811683de716a32ddb7a0398371d83ddc48.zip
Silly typo %%e
Diffstat (limited to 'npc/019-4-1')
-rw-r--r--npc/019-4-1/chief.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt
index 4b41d64d3..2e435260f 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -72,7 +72,7 @@ L_Reward:
// #4 - #5: Extra xmas gift
/* You get Christmas Gift Box, which contain rares */
- .@gifts=max(15, log2(gifts/100));
+ .@gifts=min(15, log2(gifts/100));
if (.@q1 > .@gifts)
getitem XmasGift, .@gifts;
.@nb = query_sql("SELECT c.name FROM `quest` AS i, `char` AS c WHERE i.quest_id="+SQuest_Christmas+" AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 5", .@name$);