diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 20:54:37 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 20:54:37 -0700 |
commit | 12b3f55b39605ca45e6907769421712446f91852 (patch) | |
tree | bae664fffa903f9027bb518c309bbfdfdd337658 /crawl-ref/source/player.cc | |
parent | 069fef24265adf10b09dbb667e4a44455704a559 (diff) | |
download | crawl-ref-12b3f55b39605ca45e6907769421712446f91852.tar.gz crawl-ref-12b3f55b39605ca45e6907769421712446f91852.zip |
Make Stoneskin use spellpower instead of Earth
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index b693f1f944..fbf23cb1a1 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6426,16 +6426,14 @@ static int _stoneskin_bonus() if (!player_stoneskin()) return 0; - // Max +7.4 base int boost = 200; #if TAG_MAJOR_VERSION == 34 if (you.species == SP_LAVA_ORC) boost += 20 * you.experience_level; else #endif - boost += you.skill(SK_EARTH_MAGIC, 20); + boost += you.props[STONESKIN_KEY].get_int() * 5; - // Max additional +7.75 from statue form if (you.form == TRAN_STATUE) { boost += 100; @@ -6444,7 +6442,7 @@ static int _stoneskin_bonus() boost += 25 * you.experience_level; else #endif - boost += you.skill(SK_EARTH_MAGIC, 25); + boost += you.props[STONESKIN_KEY].get_int() * 6; } return boost; |