diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 21:11:01 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 21:11:14 -0700 |
commit | 7aee86ca5a559ee8a56e65d14f2413970e82796e (patch) | |
tree | 7030253d4854f34bf42ea0c34f9564991765ebf4 /crawl-ref/source/spl-selfench.cc | |
parent | 12b3f55b39605ca45e6907769421712446f91852 (diff) | |
download | crawl-ref-7aee86ca5a559ee8a56e65d14f2413970e82796e.tar.gz crawl-ref-7aee86ca5a559ee8a56e65d14f2413970e82796e.zip |
Make Ozocubu's Armour use spellpower instead of Ice
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r-- | crawl-ref/source/spl-selfench.cc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc index 48bddd651b..a4e91cff2b 100644 --- a/crawl-ref/source/spl-selfench.cc +++ b/crawl-ref/source/spl-selfench.cc @@ -94,18 +94,16 @@ spret_type ice_armour(int pow, bool fail) if (you.duration[DUR_ICY_ARMOUR]) mpr("Your icy armour thickens."); + else if (you.form == TRAN_ICE_BEAST) + mpr("Your icy body feels more resilient."); else - { - if (you.form == TRAN_ICE_BEAST) - mpr("Your icy body feels more resilient."); - else - mpr("A film of ice covers your body!"); + mpr("A film of ice covers your body!"); - you.redraw_armour_class = true; - } you.increase_duration(DUR_ICY_ARMOUR, 20 + random2(pow) + random2(pow), 50, NULL); + you.props[ICY_ARMOUR_KEY] = pow; + you.redraw_armour_class = true; return SPRET_SUCCESS; } |