From d55c844e48e7f56c4ec9b9bb6badd21a68022ea7 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Mon, 26 Oct 2009 00:16:31 -0700 Subject: Add stochastic torment resistance per dpeg The mutation comes in three levels and blocks 20%, 40%, or 60% (shown to the user) of torments. Right now, you can cast Symbol of Torment with it; I doubt this is too good. It is on the tier-1 list for demonspawn mutations, and I expect it to be balanced appropriately. Signed-off-by: Darshan Shaligram --- crawl-ref/source/spl-cast.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 882384fa85..94fa9df9cf 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1014,7 +1014,7 @@ static bool _spell_is_uncastable(spell_type spell) return (true); } - if (spell == SPELL_SYMBOL_OF_TORMENT && player_res_torment()) + if (spell == SPELL_SYMBOL_OF_TORMENT && player_res_torment(true, false)) { mpr("To torment others, one must first know what torment means. "); return (true); -- cgit v1.2.3-54-g00ecf