summaryrefslogtreecommitdiff
path: root/src/monster2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-07-15 17:30:16 +0200
committerBardur Arantsson <bardur@scientician.net>2013-08-08 16:33:29 +0200
commit3dfea8f553013c251a60e2f99d5fa3f0ef65fec8 (patch)
tree0f326556c2d384ba279f75cbf67402dcfe2f66ad /src/monster2.c
parent13503952c8aef44cebd3289a15b9ad2767a3937c (diff)
Rework paralysis to avoid insta-death
Paralysis would mean instant death (even when hit by a lowly floating eye), but this is not really an interesting mechanic. It has been reworked to not be cumulative, such that it isn't a death sentence, but is still very dangerous if the paralyzer is faster than the player.
Diffstat (limited to 'src/monster2.c')
-rw-r--r--src/monster2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monster2.c b/src/monster2.c
index 65d1c368..5ed4758a 100644
--- a/src/monster2.c
+++ b/src/monster2.c
@@ -1633,7 +1633,7 @@ void sanity_blast(monster_type * m_ptr, bool_ necro)
}
if (!p_ptr->free_act)
{
- (void)set_paralyzed(p_ptr->paralyzed + rand_int(4) + 4);
+ (void)set_paralyzed(rand_int(4) + 4);
}
while (rand_int(100) > p_ptr->skill_sav)
(void)do_dec_stat(A_INT, STAT_DEC_NORMAL);