From dc3ff8fc2873bf13e369cebab4d52cd73cc00cb9 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Thu, 17 Sep 2009 13:18:42 +0200 Subject: make porkalator castable by wizards Signed-off-by: Darshan Shaligram --- crawl-ref/source/spl-cast.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index d32187743f..407c4d6232 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1492,6 +1492,12 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) if (!zapping(ZAP_DEGENERATION, powc, beam, true)) return (SPRET_ABORT); break; + + case SPELL_PORKALATOR: + // Wizard mode only. + if (!zapping(ZAP_PORKALATOR, powc, beam, true)) + return (SPRET_ABORT); + break; case SPELL_HELLFIRE: // Should only be available from -- cgit v1.2.3-54-g00ecf