summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index aa385ae644..bd026800e8 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2910,8 +2910,11 @@ void level_change(bool skip_attribute_increase)
}
else // character has gained a new level
{
- mprf(MSGCH_INTRINSIC_GAIN, "You are now a level %d %s!",
- you.experience_level, you.class_name );
+ if (you.experience_level == 27)
+ mprf(MSGCH_INTRINSIC_GAIN, "You have reached level 27, the final one!");
+ else
+ mprf(MSGCH_INTRINSIC_GAIN, "You have reached level %d!",
+ you.experience_level );
if (!skip_more)
more();