From 6e9c5f486f31504172fcb449c3a89b716463442f Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 15 Dec 2011 12:32:14 +0100 Subject: Adapting phrases indicating how many DailyQuestPoints are left in the daily quest function --- world/map/npc/functions/dailyquest.txt | 43 +++++++++++++++------------------- 1 file changed, 19 insertions(+), 24 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 4d9bbc95..f4d4a94c 100644 --- a/world/map/npc/functions/dailyquest.txt +++ b/world/map/npc/functions/dailyquest.txt @@ -97,7 +97,7 @@ L_Low_Level: goto L_Exit; L_Not_Enough_Points: - callsub S_SayPhrase; + mes "\"You look exhausted, maybe you should rest a bit.\""; set @dq_return, 2; goto L_Exit; @@ -108,34 +108,29 @@ L_Exit: S_SayPhrase: if (@dq_handle_return) return; - if (DailyQuestPoints > 100) - goto L_Very_Very_High; - if (DailyQuestPoints > 80) - goto L_Very_High; - if (DailyQuestPoints > 50) - goto L_Medium_High; - if (DailyQuestPoints > @dq_cost) - goto L_High; - if (DailyQuestPoints > @dq_cost / 2) - goto L_Medium; - goto L_Low; -L_Very_Very_High: + if (DailyQuestPoints > BaseLevel) + goto L_Over; + if (DailyQuestPoints > (BaseLevel*9)/10) + goto L_P90; + if (DailyQuestPoints > (BaseLevel*7)/10) + goto L_P70; + if (DailyQuestPoints > (BaseLevel*5)/10) + goto L_P50; + goto L_P30; + +L_Over: mes "\"Woah, you're bursting with power.\""; return; -L_Very_High: +L_P90: mes "\"You're in a very good shape.\""; return; -L_Medium_High: - mes "\"TODO"\"; - return; -L_High: +L_P70: mes "\"You don't seem very exhausted by my tasks.\""; - return -L_Medium: - mes "\"I do not have any further tasks for you right now.\""; return; -L_Low: - mes "\"You look exhausted, maybe you should rest a bit.\""; +L_P50: + mes "\"Aren't you getting weary yet?\""; + return; +L_P30: + mes "\"You look a little tired.\""; return; - } -- cgit v1.2.3-60-g2f50