From 4ff76f90afe61ac83a6f6dbccfef1c992b922362 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 11 Mar 2008 15:26:08 +0000 Subject: Still more TSO progress, Add silence as a retribution effect, and make all retribution checks occur with a 25% chance for now. Also, slightly tweak the display of the cleansing flame blast. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3599 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/religion.cc') diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 95ac9b3b12..8d2b554da6 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -67,6 +67,7 @@ #include "spells1.h" #include "spells2.h" #include "spells3.h" +#include "spells4.h" #include "spl-book.h" #include "spl-cast.h" #include "spl-util.h" @@ -2162,7 +2163,7 @@ static bool tso_retribution() if ( !is_evil_god(you.religion) ) return false; - int punishment = random2(3); + int punishment = random2(4); switch (punishment) { @@ -2191,7 +2192,7 @@ static bool tso_retribution() bolt beam; beam.beam_source = NON_MONSTER; - beam.type = dchar_glyph(DCHAR_FIRED_ZAP); + beam.type = dchar_glyph(DCHAR_FIRED_BURST); beam.damage = calc_dice( 3, 20 + (you.experience_level * 7) / 3 ); beam.flavour = BEAM_HOLY; beam.target_x = you.x_pos; @@ -2210,6 +2211,10 @@ static bool tso_retribution() simple_god_message(" booms out: \"Turn back to righteousness! REPENT!\"", god); noisy( 25, you.x_pos, you.y_pos ); // same as scroll of noise break; + case 3: + simple_god_message(" calls a great silence down upon you!", god); + cast_silence( 25 ); + break; } return false; } -- cgit v1.2.3-54-g00ecf