From 2b7d6cadecf9c3d272cc1097824ffc7d7e770aab Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 10 Dec 2006 20:28:21 +0000 Subject: Streamlined god-given abilities. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@609 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 3a50f82608..fd03b4a2c7 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -41,6 +41,7 @@ #include "ouch.h" #include "player.h" #include "randart.h" +#include "religion.h" #include "spells4.h" #include "spl-cast.h" #include "stuff.h" @@ -1539,7 +1540,8 @@ void summon_undead(int pow) if (!you.is_undead && !(you.religion == GOD_KIKUBAAQUDGHA && (!player_under_penance() - && you.piety >= 100 && random2(200) <= you.piety))) + && you.piety >= piety_breakpoint(3) + && random2(200) <= you.piety))) { disease_player( 25 + random2(50) ); } -- cgit v1.2.3-54-g00ecf