summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-mon.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-03-06 23:55:16 -0330
committerDracoOmega <draco_omega@live.com>2013-03-07 00:30:06 -0330
commitb99a3d7ca142231951176f992ed47e9d20922508 (patch)
tree447f1a25a3c0f47c9fd384bbb180352f5dc7e395 /crawl-ref/source/wiz-mon.cc
parentc0e5f5763a8ad9414166fc19ee7feb6694c5f4f7 (diff)
downloadcrawl-ref-b99a3d7ca142231951176f992ed47e9d20922508.tar.gz
crawl-ref-b99a3d7ca142231951176f992ed47e9d20922508.zip
List a monster's xp value when showing debug info for it in wizmode
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r--crawl-ref/source/wiz-mon.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc
index b324d9f963..8f6f257c7b 100644
--- a/crawl-ref/source/wiz-mon.cc
+++ b/crawl-ref/source/wiz-mon.cc
@@ -584,7 +584,7 @@ void debug_stethoscope(int mon)
// Print stats and other info.
mprf(MSGCH_DIAGNOSTICS,
- "HD=%d (%u) HP=%d/%d AC=%d(%d) EV=%d MR=%d SP=%d "
+ "HD=%d (%u) HP=%d/%d AC=%d(%d) EV=%d MR=%d XP=%d SP=%d "
"energy=%d%s%s mid=%u num=%d stealth=%d flags=%04" PRIx64,
mons.hit_dice,
mons.experience,
@@ -592,6 +592,7 @@ void debug_stethoscope(int mon)
mons.ac, mons.armour_class(),
mons.ev,
mons.res_magic(),
+ exper_value(&mons),
mons.speed, mons.speed_increment,
mons.base_monster != MONS_NO_MONSTER ? " base=" : "",
mons.base_monster != MONS_NO_MONSTER ?