From 95e59f96be707defda5bc535d5e72b2f96fc0b21 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 8 Jun 2008 19:35:30 +0000 Subject: Clean up "Death Channel" some more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5603 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index da68826e52..b4291f5f3b 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -542,12 +542,14 @@ bool summon_horrible_things(int pow, bool god_gift) return (false); } -bool cast_death_channel(int pow) +bool cast_death_channel(int pow, bool god_gift) { bool success = false; if (you.duration[DUR_DEATH_CHANNEL] < 30) { + success = true; + mpr("Malign forces permeate your being, awaiting release."); you.duration[DUR_DEATH_CHANNEL] += 15 + random2(1 + (pow / 3)); @@ -555,7 +557,8 @@ bool cast_death_channel(int pow) if (you.duration[DUR_DEATH_CHANNEL] > 100) you.duration[DUR_DEATH_CHANNEL] = 100; - success = true; + if (god_gift) + you.attribute[ATTR_DIVINE_DEATH_CHANNEL] = 1; } else canned_msg(MSG_NOTHING_HAPPENS); -- cgit v1.2.3-54-g00ecf