summaryrefslogtreecommitdiff
path: root/src/spells2.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/spells2.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/spells2.c')
-rw-r--r--src/spells2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spells2.c b/src/spells2.c
index cdd3af66..19fb9f8f 100644
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -7083,9 +7083,9 @@ case 13: case 14: case 15: case 19: case 20:
{
msg_print("You feel like a statue!");
if (p_ptr->free_act)
- set_paralyzed (p_ptr->paralyzed + randint(3));
+ set_paralyzed(randint(3));
else
- set_paralyzed (p_ptr->paralyzed + randint(13));
+ set_paralyzed(randint(13));
stop_ty = TRUE;
}
if (randint(6) != 1) break;
@@ -7175,9 +7175,9 @@ void activate_dg_curse(void)
{
msg_print("You feel like a statue!");
if (p_ptr->free_act)
- set_paralyzed (p_ptr->paralyzed + randint(3));
+ set_paralyzed(randint(3));
else
- set_paralyzed (p_ptr->paralyzed + randint(13));
+ set_paralyzed(randint(13));
stop_dg = TRUE;
}
if (randint(7) != 1) break;