diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 15:26:08 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-11 15:26:08 +0000 |
commit | 4ff76f90afe61ac83a6f6dbccfef1c992b922362 (patch) | |
tree | 5010ceb86d3c3984a503be6d0619a690d49e61e0 /crawl-ref/source/religion.cc | |
parent | ec8640fbdf8fdda5a5f18b926f20482070f5bc10 (diff) | |
download | crawl-ref-4ff76f90afe61ac83a6f6dbccfef1c992b922362.tar.gz crawl-ref-4ff76f90afe61ac83a6f6dbccfef1c992b922362.zip |
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
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 9 |
1 files changed, 7 insertions, 2 deletions
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; } |