summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index f74b9c364a..dff1759555 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -1016,12 +1016,15 @@ int mons_res_negative_energy( const monsters *mon )
|| mons_holiness(mon) == MH_NONLIVING
|| mons_holiness(mon) == MH_PLANT
|| mon->type == MONS_SHADOW_DRAGON
- || mon->type == MONS_DEATH_DRAKE)
+ || mon->type == MONS_DEATH_DRAKE
+ // TSO protects his warriors' life force
+ || mon->type == MONS_DAEVA)
{
return (3); // to match the value for players
}
int u = 0;
+
if (mons_itemuse(mc) >= MONUSE_STARTING_EQUIPMENT)
{