From d388beadfb4903065b50ddae93ba5c09711a79f9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 14 Aug 2014 19:46:58 -0400 Subject: display these values in non-debug wizmode too --- crawl-ref/source/player.cc | 18 +++++++++++++----- 1 file 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 -- cgit v1.2.3-54-g00ecf