diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 22:01:37 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 22:01:37 +0000 |
commit | efda51aa0f651ed8983106c3bcbdc9c28d73c917 (patch) | |
tree | 17c902907d4b74f1e4dad7f8909c4933a9d37fdf /crawl-ref/source/religion.cc | |
parent | c8949f18155a332588270ee40a635e26698de745 (diff) | |
download | crawl-ref-efda51aa0f651ed8983106c3bcbdc9c28d73c917.tar.gz crawl-ref-efda51aa0f651ed8983106c3bcbdc9c28d73c917.zip |
Allow the "divine balms" blessing to remove slowing and fatigue.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4491 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 0ba9d78f56..b0f3540465 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -853,7 +853,8 @@ static bool _blessing_AC(monsters* mon) static bool _blessing_balms(monsters *mon) { // Remove poisoning, sickness, confusion, and rotting, like a potion - // of healing, but without the healing. + // of healing, but without the healing. Also, remove slowing and + // fatigue. bool success = false; if (mon->del_ench(ENCH_POISON, true)) @@ -868,6 +869,12 @@ static bool _blessing_balms(monsters *mon) if (mon->del_ench(ENCH_ROT, true)) success = true; + if (mon->del_ench(ENCH_SLOW, true)) + success = true; + + if (mon->del_ench(ENCH_FATIGUE, true)) + success = true; + return success; } |