diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-13 20:44:40 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-13 20:44:40 +0000 |
commit | a71e775e717dafe7504d13839dae7d94c40fe1da (patch) | |
tree | 1d340174cba852b5fdb3ddb6b4c57880421a9738 /crawl-ref/source/mstuff2.cc | |
parent | 56b0777e2a19983e10673d109023241964260957 (diff) | |
download | crawl-ref-a71e775e717dafe7504d13839dae7d94c40fe1da.tar.gz crawl-ref-a71e775e717dafe7504d13839dae7d94c40fe1da.zip |
Make TSO's abjuration protection properly increase with monster hit dice
instead of decrease (oops).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5788 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mstuff2.cc')
-rw-r--r-- | crawl-ref/source/mstuff2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc index c5d3bb55f2..297db53724 100644 --- a/crawl-ref/source/mstuff2.cc +++ b/crawl-ref/source/mstuff2.cc @@ -2267,7 +2267,7 @@ static int _monster_abjure_square(const coord_def &pos, // TSO and Trog's abjuration protection. if (you.religion == GOD_SHINING_ONE) { - pow = pow * target->hit_dice / 30; + pow = pow * (30 - target->hit_dice) / 30; if (pow < abj.duration) simple_god_message(" protects your fellow warrior from evil magic!"); } |