diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-18 11:16:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-18 11:16:48 +0000 |
commit | 22cfebd4a9cb3029a629aeb6315de63be8524afc (patch) | |
tree | 1691230643061542f9a51188fa9ed9d96c0f1347 /crawl-ref/source/abl-show.cc | |
parent | c0e2f5481a13209f47b302900d11c82f4996054f (diff) | |
download | crawl-ref-22cfebd4a9cb3029a629aeb6315de63be8524afc.tar.gz crawl-ref-22cfebd4a9cb3029a629aeb6315de63be8524afc.zip |
Apply caotto's other patch in [2839372], with a few tweaks, to improve
Feawn-related descriptions.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10563 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 36435d4207..f9fffeeb6d 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1980,15 +1980,19 @@ static bool _do_ability(const ability_def& abil) { int count = fungal_bloom(); + if (count) + { + simple_god_message(" appreciates your contribution to the ecosystem.", + GOD_FEAWN); + } + // We are following the blood god sacrifice piety gain model, given as: // if (random2(level + 10) > 5) // piety_change = 1; // where level = 10 // so the chance of gaining 1 piety from a corpse sacrifice to a blood // god is (14/20 == 70/100) - - int piety_gain = binomial_generator(count,70); - + int piety_gain = binomial_generator(count, 70); gain_piety(piety_gain); break; } |