From bc91b96ff7b72ed86e02274adf9404b54ae2922c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 11 Oct 2009 13:58:41 -0500 Subject: Properly indicate the source of Kiku's torment. --- crawl-ref/source/effects.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/effects.cc') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index c636a38d5a..6c4dc207bc 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -210,16 +210,18 @@ int torment_player(int pow, int caster) if (kiku_shielding_player) { - if(!player_res_torment()) + if (!player_res_torment()) { if (random2(600) < you.piety) // 13.33% to 33.33% chance { hploss = 0; - simple_god_message(" shields you entirely from torment!"); - } else if (random2(250) < you.piety) { // 24% to 80% chance - hploss -= random2(hploss - 1); simple_god_message(" shields you from torment!"); } + else if (random2(250) < you.piety) // 24% to 80% chance + { + hploss -= random2(hploss - 1); + simple_god_message(" partially shields you from torment!"); + } } } @@ -260,7 +262,11 @@ int torment_player(int pow, int caster) case TORMENT_XOM: type = KILLED_BY_XOM; - aux = "Xom's torment"; + aux = "Xom's torment"; + break; + + case TORMENT_KIKUBAAQUDGHA: + aux = "Kikubaaqudgha's torment"; break; } } -- cgit v1.2.3-54-g00ecf