summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-30 23:37:36 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-30 23:53:28 +0530
commiteb06c7ae729d400600d1b7ef75793e743efbe68f (patch)
tree6702554b0218fead4d83d58bfdd7ff7a40c07f93 /crawl-ref/source/mon-place.h
parentb2dc39ecddf1968b6fbadaa351b7139013f0a52b (diff)
downloadcrawl-ref-eb06c7ae729d400600d1b7ef75793e743efbe68f.tar.gz
crawl-ref-eb06c7ae729d400600d1b7ef75793e743efbe68f.zip
Allow Mara to clone any foe, not just the player.
When cloning the player, Mara will now create MONS_PLAYER_ILLUSION instead of MONS_PLAYER_GHOST. Illusions are identical to ghosts, but will get the correct breath weapon (for draconian players) and the correct holiness (i.e. undead only if the player is undead). Clones also inherit appropriate enchantments from their original, so if the player/other target is berserk, the clone will also be berserk.
Diffstat (limited to 'crawl-ref/source/mon-place.h')
-rw-r--r--crawl-ref/source/mon-place.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-place.h b/crawl-ref/source/mon-place.h
index 28dc5e413f..df8515fa58 100644
--- a/crawl-ref/source/mon-place.h
+++ b/crawl-ref/source/mon-place.h
@@ -101,6 +101,7 @@ monsters* get_free_monster();
bool can_place_on_trap(int mon_type, trap_type trap);
bool mons_airborne(int mcls, int flies, bool paralysed);
+void mons_add_blame(monsters *mon, const std::string &blame_string);
// Active monster band may influence gear generation on band followers.
extern band_type active_monster_band;