diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-22 19:19:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-22 19:19:12 -0300 |
commit | b7884cf2e5c06ecb87a180ed02216bcbef1f4c05 (patch) | |
tree | f502200069f3feb4517cf2843c8c1ead6398150d /world/map/npc/functions/dailyquest.txt | |
parent | 421d993a1d0ce4acf633029d430ff3109e4d2594 (diff) | |
download | serverdata-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.txt | 2 |
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; |