diff options
author | dploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-31 13:26:05 +0000 |
---|---|---|
committer | dploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-31 13:26:05 +0000 |
commit | 9ffe5be6e32bd60bec195a768c7eebaca1196a24 (patch) | |
tree | f02fafc69790e1165d5e31e1a93a41fba9bdcc2a /crawl-ref/source/player.cc | |
parent | 42b1a978edde92a70f85debfa4b0bdd6d3964fcb (diff) | |
download | crawl-ref-9ffe5be6e32bd60bec195a768c7eebaca1196a24.tar.gz crawl-ref-9ffe5be6e32bd60bec195a768c7eebaca1196a24.zip |
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 7 |
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(); |