summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-ench.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-03-10 15:12:44 -0230
committerDracoOmega <draco_omega@live.com>2014-03-11 20:08:01 -0230
commit5ec54fe066a0cc260d5540b1a5f3278fe0393c2a (patch)
tree8b7d5684b56d459da0f50640f7960cbdaabca553 /crawl-ref/source/mon-ench.cc
parent48e29a3464fdf37d4a4aca32ddf356830696576a (diff)
downloadcrawl-ref-5ec54fe066a0cc260d5540b1a5f3278fe0393c2a.tar.gz
crawl-ref-5ec54fe066a0cc260d5540b1a5f3278fe0393c2a.zip
New monster spell: Phantom Mirror
This spell clones a selected allied creature, randomly swapping the clone and original to disguise which is real and which is fake (and also not displaying the summon as 'summoned', for the same reason). The mirrored creature does have the full offensive capabilities of the original, but only half the hp (all of them are dispelled upon killing the creator, as you would expect). This is intended as part of a rakshasa revamp, and will eventually replace the existing uses of MONS_RAKSHASA_FAKE and associated code. (And can probably do similar for Mara as well, with a few tweaks, tidying the various uses of duplication under a simpler codebase).
Diffstat (limited to 'crawl-ref/source/mon-ench.cc')
-rw-r--r--crawl-ref/source/mon-ench.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-ench.cc b/crawl-ref/source/mon-ench.cc
index 6ca3836909..bd4c165c40 100644
--- a/crawl-ref/source/mon-ench.cc
+++ b/crawl-ref/source/mon-ench.cc
@@ -2180,7 +2180,7 @@ static const char *enchant_names[] =
#endif
"poison_vuln", "icemail", "agile",
"frozen", "ephemeral_infusion", "black_mark", "grand_avatar",
- "sap magic", "shroud", "buggy",
+ "sap magic", "shroud", "phantom_mirror", "buggy",
};
static const char *_mons_enchantment_name(enchant_type ench)