diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-08-14 19:46:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-08-15 00:34:10 -0400 |
commit | d388beadfb4903065b50ddae93ba5c09711a79f9 (patch) | |
tree | 6fd4b711267ffb20653eb50969cc2a99167e68f4 | |
parent | 80ac577deba20bc452d7cc3992bc068c49257e62 (diff) | |
download | crawl-ref-d388beadfb4903065b50ddae93ba5c09711a79f9.tar.gz crawl-ref-d388beadfb4903065b50ddae93ba5c09711a79f9.zip |
display these values in non-debug wizmode too
-rw-r--r-- | crawl-ref/source/player.cc | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index a9fa783d8a..d3f6ec1da9 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -4138,13 +4138,21 @@ void display_char_status() _display_attack_delay(); // magic resistance - mprf("You are %s to hostile enchantments.", - magic_res_adjective(player_res_magic(false)).c_str()); - dprf("MR: %d", you.res_magic()); + if (you.wizard) + mprf("You are %s to hostile enchantments (%d).", + magic_res_adjective(player_res_magic(false)).c_str(), + you.res_magic()); + else + mprf("You are %s to hostile enchantments.", + magic_res_adjective(player_res_magic(false)).c_str()); // character evaluates their ability to sneak around: - mprf("You feel %s.", stealth_desc(check_stealth()).c_str()); - dprf("Stealth: %d", check_stealth()); + if (you.wizard) + mprf("You feel %s (%d).", + stealth_desc(check_stealth()).c_str(), + check_stealth()); + else + mprf("You feel %s.", stealth_desc(check_stealth()).c_str()); } bool player::clarity(bool calc_unid, bool items) const |