summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/dailyquest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/dailyquest.txt')
-rw-r--r--world/map/npc/functions/dailyquest.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/world/map/npc/functions/dailyquest.txt b/world/map/npc/functions/dailyquest.txt
index 69270c79..9b9d626e 100644
--- a/world/map/npc/functions/dailyquest.txt
+++ b/world/map/npc/functions/dailyquest.txt
@@ -27,7 +27,8 @@
// (DailyQuestBonus makes a good reward from non-daily quests)
-function|script|DailyQuestPoints|{
+function|script|DailyQuestPoints|,
+{
set @dq_earliest, gettimetick(2) - 86400;
if (DailyQuestTime < @dq_earliest)
set DailyQuestTime, @dq_earliest;
@@ -54,8 +55,8 @@ L_Bonus:
return;
}
-function|script|DailyQuest|{
-
+function|script|DailyQuest|,
+{
callfunc "DailyQuestPoints";
if (BaseLevel < @dq_level)