diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-15 22:52:46 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-15 22:57:27 -0600 |
commit | 3aad50a2caeabb66c0ab9586c3905d3c2636c618 (patch) | |
tree | 00897ec12d2ae3cf8fdf279bdc8213523d5765e0 /crawl-ref/source/spl-cast.cc | |
parent | 6049a2a746787a72d37f11de579e81534c0c3f4e (diff) | |
download | crawl-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.cc | 17 |
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); |