summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2010-01-09 19:44:36 -0500
committerCharles Otto <ottochar@gmail.com>2010-01-09 19:56:44 -0500
commit6aafe49570c2dda213826294fdffcb2d0b3089e1 (patch)
tree4f3d30bd23d17ff31d25284f0ab842df7d2a5667 /crawl-ref/source/abl-show.cc
parentf01cabdb4194455edde71d58122114a7f22c426f (diff)
downloadcrawl-ref-6aafe49570c2dda213826294fdffcb2d0b3089e1.tar.gz
crawl-ref-6aafe49570c2dda213826294fdffcb2d0b3089e1.zip
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.
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc7
1 files changed, 1 insertions, 6 deletions
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;