From 0a930fa79787f0e7f4b4ab2f4e223b58b58690c7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 21 Mar 2008 17:49:24 +0000 Subject: Make Zin dislike when the player takes an action that makes an already existing mutagenic glow stronger (piety loss, no penalty). At the same time go easier on the "eat souled being" misbehaviour: increased piety loss, but give penance only for eating very intelligent monsters, so that eating goblins and the like is an option again. (Cannibalism is checked first, and has worse effects.) Also fix restriction for items offered for ?recharging. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3789 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-cast.cc | 1 + 1 file changed, 1 insertion(+) (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 062bc0fced..f9e3deb738 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1001,6 +1001,7 @@ spret_type your_spells( spell_type spell, int powc, bool allow_fail ) const int cont_points = div_rand_round(nastiness, 500); + // miscasts are uncontrolled contaminate_player( cont_points ); miscast_effect( sptype, spell_mana(spell), -- cgit v1.2.3-54-g00ecf