diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-12 20:50:46 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-12 21:00:15 -0600 |
commit | eb59a79d8f2e4957fc45a4550b5ab9245150c14c (patch) | |
tree | 648037a88296dadc1d9811f6cdcc88e40b905326 /crawl-ref/source/abl-show.cc | |
parent | a880ee8e1cce98a582a438bb19fd5e85ea8d0a52 (diff) | |
download | crawl-ref-eb59a79d8f2e4957fc45a4550b5ab9245150c14c.tar.gz crawl-ref-eb59a79d8f2e4957fc45a4550b5ab9245150c14c.zip |
Give feedback when Fedhas' decomposition has no effect.
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 365cb01024..ceb47a2064 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1929,12 +1929,15 @@ static bool _do_ability(const ability_def& abil) { int count = fungal_bloom(); - if (count) + if (!count) { - simple_god_message(" appreciates your contribution to the " - "ecosystem.", GOD_FEDHAS); + canned_msg(MSG_NOTHING_HAPPENS); + return (false); } + simple_god_message(" appreciates your contribution to the " + "ecosystem.", GOD_FEDHAS); + // We are following the blood god sacrifice piety gain model, given as: // if (random2(level + 10) > 5) // piety_change = 1; |