From 9ffe5be6e32bd60bec195a768c7eebaca1196a24 Mon Sep 17 00:00:00 2001 From: dploog Date: Sat, 31 May 2008 13:26:05 +0000 Subject: Change level up message (don't mention class anymore). Announce that level 27 is the last one. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5370 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') 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(); -- cgit v1.2.3-54-g00ecf