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.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 20c92c8fa7..e9c0348f4f 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -6352,11 +6352,16 @@ void monsters::uglything_init()
void monsters::uglything_mutate()
{
- simple_monster_message(this, " mutates!");
ghost->init_ugly_thing(type == MONS_VERY_UGLY_THING, true);
uglything_init();
}
+void monsters::uglything_upgrade()
+{
+ ghost->ugly_thing_to_very_ugly_thing();
+ uglything_init();
+}
+
bool monsters::check_set_valid_home(const coord_def &place,
coord_def &chosen,
int &nvalid) const
@@ -7950,6 +7955,7 @@ bool monsters::mutate()
// into a different (very) ugly thing.
if (type == MONS_UGLY_THING || type == MONS_VERY_UGLY_THING)
{
+ simple_monster_message(this, " mutates!");
uglything_mutate();
return (true);
}