summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorevktalo <evktalo@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-11 16:16:58 +0000
committerevktalo <evktalo@c06c8d41-db1a-0410-9941-cceddc491573>2009-08-11 16:16:58 +0000
commitf4a0665730ee11070a9b32c963a0368b3c7f982f (patch)
treebb0b6b305659239cb45374a38d4a9b05465d3ce3 /crawl-ref/source/monstuff.cc
parent3294105b952c1629e646719fc22bfd88ef73d645 (diff)
downloadcrawl-ref-f4a0665730ee11070a9b32c963a0368b3c7f982f.tar.gz
crawl-ref-f4a0665730ee11070a9b32c963a0368b3c7f982f.zip
Add a new unique mummy, Menkaure, and three new ossuaries. All courtesy of due.
Also added a tile for Menkaure, and made him generate in the dungeon. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10515 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 01a8d55272..294ef6781c 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -957,6 +957,7 @@ static void _mummy_curse(monsters* monster, killer_type killer, int index)
switch (monster->type)
{
+ case MONS_MENKAURE:
case MONS_MUMMY: pow = 1; break;
case MONS_GUARDIAN_MUMMY: pow = 3; break;
case MONS_MUMMY_PRIEST: pow = 8; break;
@@ -990,7 +991,7 @@ static void _mummy_curse(monsters* monster, killer_type killer, int index)
if (!target->alive())
return;
- if (monster->type == MONS_MUMMY && YOU_KILL(killer))
+ if ((monster->type == MONS_MUMMY || monster->type == MONS_MENKAURE) && YOU_KILL(killer))
curse_an_item(true);
else
{