summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 22:52:46 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-15 22:57:27 -0600
commit3aad50a2caeabb66c0ab9586c3905d3c2636c618 (patch)
tree00897ec12d2ae3cf8fdf279bdc8213523d5765e0 /crawl-ref/source/spl-cast.cc
parent6049a2a746787a72d37f11de579e81534c0c3f4e (diff)
downloadcrawl-ref-3aad50a2caeabb66c0ab9586c3905d3c2636c618.tar.gz
crawl-ref-3aad50a2caeabb66c0ab9586c3905d3c2636c618.zip
Simplify the message when Kiku forces necromancy miscasts.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 5d441a8956..06f4f1771b 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1258,19 +1258,20 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
// is a player controllable act. - bwr
if (one_chance_in(12))
dec_penance(GOD_SIF_MUNA, 1);
-
- } else if (spell_typematch(spell, SPTYP_NECROMANCY) &&
- you.religion != GOD_KIKUBAAQUDGHA &&
- you.penance[GOD_KIKUBAAQUDGHA] && one_chance_in(20))
+ }
+ else if (spell_typematch(spell, SPTYP_NECROMANCY)
+ && you.religion != GOD_KIKUBAAQUDGHA
+ && you.penance[GOD_KIKUBAAQUDGHA]
+ && one_chance_in(20))
{
// And you thought you'd Necromutate your way out of penance...
- god_speaks(GOD_KIKUBAAQUDGHA,
- "Kikubaaqudgha does not allow the disloyal to dabble in death!");
+ simple_god_message(" does not allow the disloyal to dabble in "
+ "death!", GOD_KIKUBAAQUDGHA);
// The spell still goes through, but you get a miscast anyway.
MiscastEffect(&you, -god, SPTYP_NECROMANCY,
- (you.experience_level / 2) + (spell_mana(spell) * 2),
- random2avg(88, 3), "the malice of Kikubaaqudgha");
+ (you.experience_level / 2) + (spell_mana(spell) * 2),
+ random2avg(88, 3), "the malice of Kikubaaqudgha");
}
const int spfail_chance = spell_fail(spell);