diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 8c1ba895b1..237a2eaa5c 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -3783,6 +3783,13 @@ void monsters::add_enchantment_effect(const mon_enchant &ench, bool) speed /= 2; break; + case ENCH_CHARM: + behaviour = BEH_SEEK; + target_x = you.x_pos; + target_y = you.y_pos; + foe = MHITYOU; + break; + default: break; } |