summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/dailyquest.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-22 19:19:12 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-22 19:19:12 -0300
commitb7884cf2e5c06ecb87a180ed02216bcbef1f4c05 (patch)
treef502200069f3feb4517cf2843c8c1ead6398150d /world/map/npc/functions/dailyquest.txt
parent421d993a1d0ce4acf633029d430ff3109e4d2594 (diff)
downloadserverdata-b7884cf2e5c06ecb87a180ed02216bcbef1f4c05.tar.gz
serverdata-b7884cf2e5c06ecb87a180ed02216bcbef1f4c05.tar.bz2
serverdata-b7884cf2e5c06ecb87a180ed02216bcbef1f4c05.tar.xz
serverdata-b7884cf2e5c06ecb87a180ed02216bcbef1f4c05.zip
Always set @multipler on DailyQuest and reset when requested.
This allows @HoraK to implement !623 correctly, respecting "take all" option
Diffstat (limited to 'world/map/npc/functions/dailyquest.txt')
-rw-r--r--world/map/npc/functions/dailyquest.txt2
1 files changed, 2 insertions, 0 deletions
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;