summaryrefslogtreecommitdiff
path: root/npc/022-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-02 23:08:06 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-02 23:08:06 -0300
commita99d505cbb49ef7334cd7faf123a2f474f9ce659 (patch)
tree74bb28c17c59304d67fc3af8ca19376d0445a082 /npc/022-1
parent58f791b8062a268886668e3cc137d70ea63fb2ad (diff)
downloadserverdata-a99d505cbb49ef7334cd7faf123a2f474f9ce659.tar.gz
serverdata-a99d505cbb49ef7334cd7faf123a2f474f9ce659.tar.bz2
serverdata-a99d505cbb49ef7334cd7faf123a2f474f9ce659.tar.xz
serverdata-a99d505cbb49ef7334cd7faf123a2f474f9ce659.zip
Fix bug on Gift Collector reported by YuckFou
Diffstat (limited to 'npc/022-1')
-rw-r--r--npc/022-1/gift_collector.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/022-1/gift_collector.txt b/npc/022-1/gift_collector.txt
index 67ce439cd..a2fc28b69 100644
--- a/npc/022-1/gift_collector.txt
+++ b/npc/022-1/gift_collector.txt
@@ -43,7 +43,7 @@ L_OutOfSeason:
L_Reward:
inventoryplace XmasGift, 10;
.@q=getq2(SQuest_XmasCollector);
- .@q=max(0, .@q-BaseLevel);
+ .@q=max(1, .@q-BaseLevel);
.@gifts=min(10, log2(.@q/200))+1;
mesn;
mesq l("Hey, huge THANKS for the help! I love gifts! Here's your due reward!");
@@ -75,6 +75,8 @@ L_Main:
getexp .@qnt*.@price, .@qnt;
setq2 SQuest_XmasCollector, .@q;
mesn;
+ mesc l("You just delivered %d %s to %s.",
+ .@qnt, getitemlink(PresentBox), .name$);
mesq l("Many, many thanks! Thus far, you delivered me @@ gift boxes!", .@q);
next;
}