From e2537ef139d77e003d45cdb046d5449d455f74af Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 28 Jun 2009 03:40:19 +0000 Subject: Add minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10064 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 287d8efdf0..b9c5916f3a 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3125,6 +3125,7 @@ void level_change(bool skip_attribute_increase) case SP_DEEP_ELF: if (you.experience_level < 17) hp_adjust--; + if (!(you.experience_level % 3)) hp_adjust--; @@ -3168,6 +3169,7 @@ void level_change(bool skip_attribute_increase) MSGCH_INTRINSIC_GAIN); perma_mutate(MUT_NEGATIVE_ENERGY_RESISTANCE, 1); } + if (!(you.experience_level % 4)) { modify_stat(coinflip() ? STAT_STRENGTH @@ -3286,6 +3288,7 @@ void level_change(bool skip_attribute_increase) case SP_OGRE: hp_adjust++; + if (!(you.experience_level % 3)) modify_stat(STAT_STRENGTH, 1, false, "level gain"); break; @@ -3318,10 +3321,9 @@ void level_change(bool skip_attribute_increase) case SP_GREEN_DRACONIAN: mpr("Your scales start taking on a green colour.", MSGCH_INTRINSIC_GAIN); - // green dracos get this at level 7 + // Green draconians get this at level 7. perma_mutate(MUT_POISON_RESISTANCE, 1); break; - case SP_YELLOW_DRACONIAN: mpr("Your scales start taking on a golden yellow colour.", MSGCH_INTRINSIC_GAIN); @@ -3399,6 +3401,7 @@ void level_change(bool skip_attribute_increase) if (!(you.experience_level % 3)) { hp_adjust++; + if (you.experience_level > 7) hp_adjust++; } @@ -3617,8 +3620,8 @@ void level_change(bool skip_attribute_increase) redraw_skill(you.your_name, player_title()); - // Increase tutorial time-out now that it's actually - // become useful for a longer time. + // Increase tutorial time-out now that it's actually become useful + // for a longer time. if (Options.tutorial_left && you.experience_level >= 7) tutorial_finished(); } -- cgit v1.2.3-54-g00ecf