summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-30 16:04:28 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-30 16:04:28 +0000
commit160795e120184775ee58bdb01a12b42895c3f62a (patch)
tree5fb482ee43f938d1592d87feb119c7ba934c81dd /crawl-ref/source/delay.h
parent9434334816f9a2404a18876899d74df04daab77f (diff)
downloadcrawl-ref-160795e120184775ee58bdb01a12b42895c3f62a.tar.gz
crawl-ref-160795e120184775ee58bdb01a12b42895c3f62a.zip
Improved recite. It now directly compares power (calculated using Invocations
and piety) with monsters' magic resistance. If the latter exceeds the former or you get a bad roll, the bad effects (haste or berserk) will happen. Otherwise you get one of a number of good effects the choice of which depends on your power again. This is probably still too strict, but much better than the older system. Unfortunately I had to cut the influene of the number of attempts as apply_area_visible currently only transfers power. So it's a clear 50% chance of "nothing happens" each turn, leaving us at 12.5% of nothing happening during 3 turns, plus a saving throw from bad effects. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3379 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r--crawl-ref/source/delay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h
index 5168d12574..0e3f57f06c 100644
--- a/crawl-ref/source/delay.h
+++ b/crawl-ref/source/delay.h
@@ -74,7 +74,7 @@ void start_delay( delay_type type, int turns, int parm1 = 0, int parm2 = 0 );
void stop_delay( void );
bool you_are_delayed( void );
delay_type current_delay_action( void );
-bool check_recital_audience( void );
+int check_recital_audience( void );
void handle_delay( void );
bool is_run_delay(int delay);