From fac85079e634c937a85dae090eb613f572bb41a0 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Fri, 13 Nov 2009 16:19:46 -0500 Subject: Improve Fedhas' interaction with auto-exclusions Make neutralization work on monsters that are out of sight, also make it clear auto-exclusions for e.g. oklobs that previously got auto-ann. but are now out of sight. Make the monster_hostile stuff put auto-exclusions on oklobs you have already seen (if it turns them hostile). --- crawl-ref/source/mon-act.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/mon-act.cc') diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 54bf8c2afe..4349a2f3c3 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -12,6 +12,7 @@ #endif #include "arena.h" +#include "attitude-change.h" #include "beam.h" #include "cloud.h" #include "dbg-scan.h" @@ -1582,6 +1583,8 @@ static void _handle_monster_move(monsters *monster) monster->hit_points = std::min(monster->max_hit_points, monster->hit_points); + fedhas_neutralise(monster); + // Monster just summoned (or just took stairs), skip this action. if (testbits( monster->flags, MF_JUST_SUMMONED )) { -- cgit v1.2.3-54-g00ecf