diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-15 12:32:14 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-15 22:28:11 +0100 |
commit | 6e9c5f486f31504172fcb449c3a89b716463442f (patch) | |
tree | 6f51add7ef3521fcdd305a3bd2d721aea0d5365a /world/map/npc | |
parent | 1b7b0b422a0de660302600fa1faccbbe5adffb23 (diff) | |
download | serverdata-6e9c5f486f31504172fcb449c3a89b716463442f.tar.gz serverdata-6e9c5f486f31504172fcb449c3a89b716463442f.tar.bz2 serverdata-6e9c5f486f31504172fcb449c3a89b716463442f.tar.xz serverdata-6e9c5f486f31504172fcb449c3a89b716463442f.zip |
Adapting phrases indicating how many DailyQuestPoints are left in the daily quest function
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/functions/dailyquest.txt | 43 |
1 files changed, 19 insertions, 24 deletions
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; - } |