summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-24 21:11:01 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-24 21:11:14 -0700
commit7aee86ca5a559ee8a56e65d14f2413970e82796e (patch)
tree7030253d4854f34bf42ea0c34f9564991765ebf4 /crawl-ref/source/player.cc
parent12b3f55b39605ca45e6907769421712446f91852 (diff)
downloadcrawl-ref-7aee86ca5a559ee8a56e65d14f2413970e82796e.tar.gz
crawl-ref-7aee86ca5a559ee8a56e65d14f2413970e82796e.zip
Make Ozocubu's Armour use spellpower instead of Ice
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index fbf23cb1a1..d622e7a326 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6489,7 +6489,7 @@ int player::armour_class() const
AC += scan_artefacts(ARTP_AC) * 100;
if (duration[DUR_ICY_ARMOUR])
- AC += 400 + skill(SK_ICE_MAGIC, 100) / 3; // max 13
+ AC += 400 + you.props[ICY_ARMOUR_KEY].get_int() * 8;
AC += _stoneskin_bonus();