diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-22 18:31:31 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-22 18:31:31 -0200 |
commit | 901e82a4a8cbb29a4fe71de20cab303ce1dcd397 (patch) | |
tree | 1e1ebbc41e211e0ec092dccc529b5d13b1c09f50 | |
parent | 8ee38c9b46ba65fecd6e8db2617a62d87be62300 (diff) | |
download | serverdata-901e82a4a8cbb29a4fe71de20cab303ce1dcd397.tar.gz serverdata-901e82a4a8cbb29a4fe71de20cab303ce1dcd397.tar.bz2 serverdata-901e82a4a8cbb29a4fe71de20cab303ce1dcd397.tar.xz serverdata-901e82a4a8cbb29a4fe71de20cab303ce1dcd397.zip |
[XMAS 18] Fix a typo on handling rewards
-rw-r--r-- | npc/019-4-1/chief.txt | 2 |
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]) |