diff options
author | DracoOmega <draco_omega@live.com> | 2014-03-10 18:14:46 -0230 |
---|---|---|
committer | DracoOmega <draco_omega@live.com> | 2014-03-11 20:08:04 -0230 |
commit | 6ace9f69827c41a67f709e591cf24dd771189481 (patch) | |
tree | 4cc006e1ba027bc8cd1e27ab54db02621fc3cc72 /crawl-ref/source/hiscores.cc | |
parent | 5ec54fe066a0cc260d5540b1a5f3278fe0393c2a (diff) | |
download | crawl-ref-6ace9f69827c41a67f709e591cf24dd771189481.tar.gz crawl-ref-6ace9f69827c41a67f709e591cf24dd771189481.zip |
Remove fake Mara/Rakshasa monsters and associated code, refactor to use Phantom Mirror
There was quite a bit of special case code for the 'fake' monsters
which Mara and other rakshasa would create that can be subsumed
beneath the general Phantom Mirror effect (which can properly create
fake dummies of any type of monster in a unified way).
The main practical gameplay difference that will result (aside from
bugs introduced by this, of course) is that the true Mara will
actually be disguised when he splits, instead of the player knowing
for sure which one he is (until two of them blink in the same turn,
anyway). This is a Mara buff, but it seems to me that an illusion
spell of this nature shouldn't have been so easy to see through in
the first place and that this is an overall better state of affairs.
(Also, the clones do have less hp than before, if you end up killing
the wrong one first).
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 12b7af4c2e..66efff07dc 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -1220,9 +1220,6 @@ void scorefile_entry::init_death_cause(int dam, int dsrc, if (mons_is_player_shadow(mons)) death_source_name = "their own shadow"; // heh - if (death && mons->type == MONS_MARA_FAKE) - death_source_name = "an illusion of Mara"; - if (mons->has_ench(ENCH_SHAPESHIFTER)) death_source_name += " (shapeshifter)"; else if (mons->has_ench(ENCH_GLOWING_SHAPESHIFTER)) @@ -1231,6 +1228,9 @@ void scorefile_entry::init_death_cause(int dam, int dsrc, if (mons->type == MONS_PANDEMONIUM_LORD) death_source_name += " the pandemonium lord"; + if (mons->has_ench(ENCH_PHANTOM_MIRROR)) + death_source_name += " (illusionary)"; + if (mons_is_unique(mons->type)) death_source_flags.insert("unique"); |