summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bdd1ddf63..149e2afa1 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -73,7 +73,7 @@ L_Reward:
/* You get Christmas Gift Box, which contain rares */
.@gifts=min(15, log2(($XMAS_GIFTS/100)+1));
- if (.@q1 > .@gifts)
+ 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$);
if (strcharinfo(0) == .@name$[0])