From 6aafe49570c2dda213826294fdffcb2d0b3089e1 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sat, 9 Jan 2010 19:44:36 -0500 Subject: Make Fedhas' sunlight always use MP and train invocations The ability is intended to be used for training invocations and it has no piety cost so canceling mp cost/training when it doesn't hit anything is unnecessary. --- crawl-ref/source/abl-show.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/abl-show.cc') diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 34467a71d0..e6a0ee2d4c 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1953,12 +1953,7 @@ static bool _do_ability(const ability_def& abil) } case ABIL_FEDHAS_SUNLIGHT: - if (!sunlight()) - { - canned_msg(MSG_NOTHING_HAPPENS); - return (false); - } - + sunlight(); exercise(SK_INVOCATIONS, 2 + random2(3)); break; -- cgit v1.2.3-54-g00ecf