summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 06:53:51 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-25 06:53:51 +0000
commit2365944fa63c720b97904bf9d9c9263693a86063 (patch)
tree0cf7483817ac59daf978474228247d93a9d165b5 /crawl-ref/source/describe.cc
parent0830a9b5ce8c06ad8e528793c6a6bd72b8c31da6 (diff)
downloadcrawl-ref-2365944fa63c720b97904bf9d9c9263693a86063.tar.gz
crawl-ref-2365944fa63c720b97904bf9d9c9263693a86063.zip
* Describe monsters with hellfire resistance (imps) as "extremely
resistant to fire" when viewing them. * Don't equip Venom Mages with a short sword anymore since Sting is really powerful and getting a weapon to poison is not that hard. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9211 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 2453580e1c..c8fc8ba202 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2603,6 +2603,9 @@ static std::string _monster_stat_description(const monsters& mon)
for (unsigned int i = 0; i < ARRAYSZ(resists); ++i)
{
int level = resist.get_resist_level(resists[i]);
+ if (resists[i] == MR_RES_FIRE && resist.hellfire)
+ level = 3;
+
if (level != 0)
{
const char* attackname = _get_resist_name(resists[i]);