From a99d505cbb49ef7334cd7faf123a2f474f9ce659 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 Jan 2021 23:08:06 -0300 Subject: Fix bug on Gift Collector reported by YuckFou --- npc/022-1/gift_collector.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc') 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; } -- cgit v1.2.3-70-g09d2