diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 23:25:21 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-24 23:31:57 -0700 |
commit | cc8d6ef1a9a08f1e3ddb6d5f29ab5323a9f79d0d (patch) | |
tree | 10d9e7b867c6432191ce7fef90cd756efef6d5f3 /crawl-ref/source/transform.cc | |
parent | f11e77305c2c7c242be67821183def72ec7b1b90 (diff) | |
download | crawl-ref-cc8d6ef1a9a08f1e3ddb6d5f29ab5323a9f79d0d.tar.gz crawl-ref-cc8d6ef1a9a08f1e3ddb6d5f29ab5323a9f79d0d.zip |
Make Ice/Statue Form use spellpower instead of Ice/Earth
Also adjusts max power (Ice Form 200->100, Statue Form 200->150)
to get roughly the same scaling as before; statue form now scales
slightly more slowly, but caps out at 1.5 ac higher, if you can
eke out enough spellpower.
AC from non-spell-caused polymorphs will be based on the power
of the polymorph.
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r-- | crawl-ref/source/transform.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc index bb2ba6956f..23b1175632 100644 --- a/crawl-ref/source/transform.cc +++ b/crawl-ref/source/transform.cc @@ -1054,6 +1054,8 @@ bool transform(int pow, transformation_type which_trans, bool involuntary, _remove_equipment(rem_stuff); + you.props[TRANSFORM_POW_KEY] = pow; + if (str) { notify_stat_change(STAT_STR, str, true, |