diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-05-29 21:50:45 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-05-29 22:46:05 -0700 |
commit | 7a813ab0ddbdd5081f0dd3561dcf7643e3ee8b82 (patch) | |
tree | efb519fed35bdcc5e5a0e2b5b908b0348c1c54c3 /crawl-ref/source/spl-wpnench.cc | |
parent | fd0dc405fee0f2d307e8b134f5d0acbc8ccff674 (diff) | |
download | crawl-ref-7a813ab0ddbdd5081f0dd3561dcf7643e3ee8b82.tar.gz crawl-ref-7a813ab0ddbdd5081f0dd3561dcf7643e3ee8b82.zip |
Rework Confusing Touch
In its previous state, it was fiddly, misleading, and
kind of overpowered. So:
Raise it to level 2 (& remove it from Cantrips, replacing
it with Corona). Remove the stacking-duration effect &
increase the initial duration. Set damage of all hits to
0, and make the first successful (confusing) hit end the
effect.
This should still be useful, but in a level 2 kind of way.
We'll see how that pans out.
Diffstat (limited to 'crawl-ref/source/spl-wpnench.cc')
-rw-r--r-- | crawl-ref/source/spl-wpnench.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-wpnench.cc b/crawl-ref/source/spl-wpnench.cc index b85466f24a..59b1417ecd 100644 --- a/crawl-ref/source/spl-wpnench.cc +++ b/crawl-ref/source/spl-wpnench.cc @@ -241,8 +241,10 @@ spret_type cast_confusing_touch(int power, bool fail) << (you.duration[DUR_CONFUSING_TOUCH] ? "brighter" : "red") << "." << endl; - you.increase_duration(DUR_CONFUSING_TOUCH, 5 + (random2(power) / 5), - 50, NULL); + you.set_duration(DUR_CONFUSING_TOUCH, + max(10 + random2(power) / 5, + you.duration[DUR_CONFUSING_TOUCH]), + 20, NULL); return SPRET_SUCCESS; } |