diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-22 22:52:58 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-22 22:52:58 +0000 |
commit | 73f8eb9c4129f4258a18be767bad0506cb1ba000 (patch) | |
tree | 1431461eedcf03ecb5e359390800fc0a307dfe38 /crawl-ref/source/hiscores.cc | |
parent | 30ea1167a88727d2f2dccfdf2ee830700ac116da (diff) | |
download | crawl-ref-73f8eb9c4129f4258a18be767bad0506cb1ba000.tar.gz crawl-ref-73f8eb9c4129f4258a18be767bad0506cb1ba000.zip |
A few small fixes:
- undead get "Forgot to exist" instead of "breathe"
- sleeping monsters now wake up if whacked by other monsters
- added "(shapeshifter)" to death cause
- place_monster calls apply_location_effects in case
monsters get summoned onto traps and the like
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2028 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 1c44997a62..cd5996098b 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -823,6 +823,14 @@ void scorefile_entry::init_death_cause(int dam, int dsrc, } death_source_name = monster->name(DESC_NOCAP_A, true); + if (monster->has_ench(ENCH_SHAPESHIFTER)) + { + death_source_name += " (shapeshifter)"; + } + else if (monster->has_ench(ENCH_GLOWING_SHAPESHIFTER)) + { + death_source_name += " (glowing shapeshifter)"; + } } } else @@ -1451,7 +1459,8 @@ scorefile_entry::death_description(death_desc_verbosity verbosity) const break; case KILLED_BY_STUPIDITY: - desc += terse? "stupidity" : "Forgot to breathe"; + desc += terse? "stupidity" : + (you.is_undead? "Forgot to exist" : "Forgot to breathe"); break; case KILLED_BY_WEAKNESS: |