From 700ebc8adcd32370d5cc06beab433210b04e8060 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 6 Oct 2009 19:38:14 -0500 Subject: Simplify and display resistances for (very) ugly things. --- crawl-ref/source/describe.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/describe.cc') diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 7c52658f6f..fc76e812e2 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2598,10 +2598,12 @@ static std::string _monster_stat_description(const monsters& mon) std::ostringstream result; // Don't leak or duplicate resistance information for ghost demon - // monsters. + // monsters, except for (very) ugly things. const mon_resist_def resist = - mons_is_ghost_demon(mon.type) ? get_mons_class_resists(mon.type) - : get_mons_resists(&mon); + (mons_is_ghost_demon(mon.type) + && mon.type != MONS_UGLY_THING + && mon.type != MONS_VERY_UGLY_THING) + ? get_mons_class_resists(mon.type) : get_mons_resists(&mon); const mon_resist_flags resists[] = { MR_RES_ELEC, MR_RES_POISON, MR_RES_FIRE, -- cgit v1.2.3-54-g00ecf