diff options
-rw-r--r-- | crawl-ref/source/spells3.cc | 5 | ||||
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 71bb89a09b..60770f1749 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1207,9 +1207,8 @@ bool cast_summon_wraiths(int pow, bool god_gift) //jmf: Kiku sometimes deflects this if (!(you.religion == GOD_KIKUBAAQUDGHA - && (!player_under_penance() - && you.piety >= piety_breakpoint(3) - && you.piety > random2(MAX_PIETY)))) + && (!player_under_penance() && you.piety >= piety_breakpoint(3) + && you.piety > random2(MAX_PIETY)))) { disease_player(25 + random2(50)); } diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 623b134ae4..bc08602e28 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -2728,7 +2728,7 @@ static void _miscast_necromancy(int severity, const char* cause) { if (you.religion == GOD_KIKUBAAQUDGHA && (!player_under_penance() && you.piety >= piety_breakpoint(1) - && random2(150) <= you.piety)) + && you.piety > random2(150))) { canned_msg(MSG_NOTHING_HAPPENS); return; @@ -2772,10 +2772,10 @@ static void _miscast_necromancy(int severity, const char* cause) mpr("You sense a malignant aura."); break; case 8: - mpr("You feel very uncomfortable."); + canned_msg(MSG_NOTHING_HAPPENS); break; case 9: - canned_msg(MSG_NOTHING_HAPPENS); + mpr("You feel very uncomfortable."); break; } break; |