summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-24 20:54:37 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-24 20:54:37 -0700
commit12b3f55b39605ca45e6907769421712446f91852 (patch)
treebae664fffa903f9027bb518c309bbfdfdd337658 /crawl-ref/source/spl-other.cc
parent069fef24265adf10b09dbb667e4a44455704a559 (diff)
downloadcrawl-ref-12b3f55b39605ca45e6907769421712446f91852.tar.gz
crawl-ref-12b3f55b39605ca45e6907769421712446f91852.zip
Make Stoneskin use spellpower instead of Earth
Diffstat (limited to 'crawl-ref/source/spl-other.cc')
-rw-r--r--crawl-ref/source/spl-other.cc13
1 files changed, 5 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc
index d7d659bcad..c7f674af95 100644
--- a/crawl-ref/source/spl-other.cc
+++ b/crawl-ref/source/spl-other.cc
@@ -463,17 +463,14 @@ spret_type cast_stoneskin(int pow, bool fail)
if (you.duration[DUR_STONESKIN])
mpr("Your skin feels harder.");
+ else if (you.form == TRAN_STATUE)
+ mpr("Your stone body feels more resilient.");
else
- {
- if (you.form == TRAN_STATUE)
- mpr("Your stone body feels more resilient.");
- else
- mpr("Your skin hardens.");
-
- you.redraw_armour_class = true;
- }
+ mpr("Your skin hardens.");
you.increase_duration(DUR_STONESKIN, 10 + random2(pow) + random2(pow), 50);
+ you.props[STONESKIN_KEY] = pow;
+ you.redraw_armour_class = true;
return SPRET_SUCCESS;
}