summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-12-15 22:48:57 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-12-16 11:04:06 +0100
commitf0dedcd47e8547397fe57ed951268f4dea120cbb (patch)
tree538adae730b160c19e806db9b8e4427cdcfcb871 /world
parentd8af47c0cd4cbe564322917593448626214a0be2 (diff)
downloadserverdata-f0dedcd47e8547397fe57ed951268f4dea120cbb.tar.gz
serverdata-f0dedcd47e8547397fe57ed951268f4dea120cbb.tar.bz2
serverdata-f0dedcd47e8547397fe57ed951268f4dea120cbb.tar.xz
serverdata-f0dedcd47e8547397fe57ed951268f4dea120cbb.zip
amendment in the daily quest phrases for the case that the points are below the daily quest cost
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/functions/dailyquest.txt9
1 files changed, 7 insertions, 2 deletions
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;
}