From 160795e120184775ee58bdb01a12b42895c3f62a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 30 Jan 2008 16:04:28 +0000 Subject: 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 --- crawl-ref/source/delay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/delay.h') 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); -- cgit v1.2.3-54-g00ecf