From b7884cf2e5c06ecb87a180ed02216bcbef1f4c05 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 22 Dec 2022 19:19:12 -0300 Subject: Always set @multipler on DailyQuest and reset when requested. This allows @HoraK to implement !623 correctly, respecting "take all" option --- world/map/npc/functions/dailyquest.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/world/map/npc/functions/dailyquest.txt b/world/map/npc/functions/dailyquest.txt index 4bbe7800..5f2a5d85 100644 --- a/world/map/npc/functions/dailyquest.txt +++ b/world/map/npc/functions/dailyquest.txt @@ -58,6 +58,7 @@ L_Bonus: function|script|DailyQuest { + set @multipler, 0; callfunc "DailyQuestPoints"; if (BaseLevel < @dq_level) @@ -79,6 +80,7 @@ L_Next: L_Trade: if (countitem(@dq_name$) < @dq_count) goto L_Not_Enough; + set @multipler, 1; delitem @dq_name$, @dq_count; set Zeny, Zeny + @dq_money; -- cgit v1.2.3-60-g2f50