summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/ouch.cc2
-rw-r--r--crawl-ref/source/player.cc7
2 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index c5cd54b0cc..f4f4416f0f 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -647,7 +647,7 @@ void lose_level()
you.experience_level--;
mprf(MSGCH_WARN,
- "You are now a level %d %s!", you.experience_level, you.class_name);
+ "You are now level %d!", you.experience_level);
// Constant value to avoid grape jelly trick... see level_change() for
// where these HPs and MPs are given back. -- bwr
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();