via fe0f9defb0c538cf9e8af9c8b2a60b8ea37dd591 (commit) from beeee4ed2f369ccb2f0e3d71c0ff460e2e8fff78 (commit)
----------------------------------------------------------------------- commit fe0f9defb0c538cf9e8af9c8b2a60b8ea37dd591 Author: Chris Campbell <chriscampbel...@gmail.com> Date: Fri Feb 18 05:47:46 2011 +0000 Do allow Mummies to cast Sublimation, just not on themselves Still to do: When Mummies, Liches and thirsty Vampires try to cast Sublimation on themselves, it fails but still costs a turn and MP. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/spl-book.cc | 1 - crawl-ref/source/spl-other.cc | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 75deb61..1be6591 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -575,7 +575,6 @@ bool you_cannot_memorise(spell_type spell, bool &undead) case SPELL_SPIDER_FORM: case SPELL_STATUE_FORM: case SPELL_STONESKIN: - case SPELL_SUBLIMATION_OF_BLOOD: case SPELL_SYMBOL_OF_TORMENT: rc = true; break; diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc index 2b5e073..0ee5260 100644 --- a/crawl-ref/source/spl-other.cc +++ b/crawl-ref/source/spl-other.cc @@ -86,7 +86,8 @@ bool cast_sublimation_of_blood(int pow) mpr("A conflicting enchantment prevents the spell from " "coming into effect."); } - else if (you.species == SP_VAMPIRE && you.hunger_state <= HS_SATIATED) + else if (you.species == SP_VAMPIRE && you.hunger_state <= HS_SATIATED + || you.is_undead == US_UNDEAD) { mpr("You don't have enough blood to draw power from your " "own body."); -- Dungeon Crawl Stone Soup ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Crawl-ref-discuss mailing list Crawl-ref-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss