From f0dedcd47e8547397fe57ed951268f4dea120cbb Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 15 Dec 2011 22:48:57 +0100 Subject: amendment in the daily quest phrases for the case that the points are below the daily quest cost --- world/map/npc/functions/dailyquest.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'world/map/npc/functions/dailyquest.txt') diff --git a/world/map/npc/functions/dailyquest.txt b/world/map/npc/functions/dailyquest.txt index f4d4a94c..16f015a9 100644 --- a/world/map/npc/functions/dailyquest.txt +++ b/world/map/npc/functions/dailyquest.txt @@ -108,6 +108,8 @@ L_Exit: S_SayPhrase: if (@dq_handle_return) return; + if (DailyQuestPoints < @dq_cost) + goto L_Exhausted; if (DailyQuestPoints > BaseLevel) goto L_Over; if (DailyQuestPoints > (BaseLevel*9)/10) @@ -116,7 +118,7 @@ S_SayPhrase: goto L_P70; if (DailyQuestPoints > (BaseLevel*5)/10) goto L_P50; - goto L_P30; + goto L_Low; L_Over: mes "\"Woah, you're bursting with power.\""; @@ -130,7 +132,10 @@ L_P70: L_P50: mes "\"Aren't you getting weary yet?\""; return; -L_P30: +L_Low: mes "\"You look a little tired.\""; return; +L_Exhausted: + mes "\"You look exhausted, maybe you should rest a bit.\""; + return; } -- cgit v1.2.3-70-g09d2