summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transform.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-01 04:29:29 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-10 19:04:23 +0100
commit73a0f20e8f66775133cc3e1a1bd0d997cf943864 (patch)
tree1a596e20477c92e02c536d5679a8fdb88ed9c75f /crawl-ref/source/transform.cc
parent863e7eee2eac781ff42b57aa858849e85cf0ab52 (diff)
downloadcrawl-ref-73a0f20e8f66775133cc3e1a1bd0d997cf943864.tar.gz
crawl-ref-73a0f20e8f66775133cc3e1a1bd0d997cf943864.zip
Adjust fungus form's melee attack
Don't handle it like the confusing touch spell (no special accuracy bonus or damage penalty), don't affect unbreathing monsters. Sadly it doesn't decrease the player's XL by one on every hit like the monster attack. Also use XL instead of unarmed skill for melee accuracy.
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r--crawl-ref/source/transform.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc
index c10b2be7b8..2b41103412 100644
--- a/crawl-ref/source/transform.cc
+++ b/crawl-ref/source/transform.cc
@@ -960,13 +960,6 @@ bool transform(int pow, transformation_type which_trans, bool involuntary,
case TRAN_FUNGUS:
tran_name = "fungus";
msg += "a fleshy mushroom.";
- if (!just_check)
- {
- you.set_duration(DUR_CONFUSING_TOUCH,
- you.duration[DUR_TRANSFORMATION]
- ? you.duration[DUR_TRANSFORMATION]
- : INFINITE_DURATION);
- }
break;
case TRAN_JELLY:
@@ -1350,8 +1343,8 @@ void untransform(bool skip_wielding, bool skip_move)
case TRAN_FUNGUS:
mprf(MSGCH_DURATION, "You stop sporulating.");
- you.set_duration(DUR_CONFUSING_TOUCH, 0);
break;
+
case TRAN_TREE:
mprf(MSGCH_DURATION, "You feel less woody.");
if (grd(you.pos()) == DNGN_DEEP_WATER)