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/spells1.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/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index ad83d24889..3b1ccd019e 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -1259,7 +1259,7 @@ void abjuration(int pow) // TSO and Trog's abjuration protection. if (monster->god == GOD_SHINING_ONE) { - sockage = sockage * monster->hit_dice / 45; + sockage = sockage * (30 - monster->hit_dice) / 45; if (sockage < abj.duration) { simple_god_message(" protects a fellow warrior from your evil magic!", |