From f4a0665730ee11070a9b32c963a0368b3c7f982f Mon Sep 17 00:00:00 2001 From: evktalo Date: Tue, 11 Aug 2009 16:16:58 +0000 Subject: 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 --- crawl-ref/source/monstuff.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/monstuff.cc') 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 { -- cgit v1.2.3-54-g00ecf