From 799abcac126562e19b23510b1f95fd8f7abcbeb4 Mon Sep 17 00:00:00 2001 From: Ardub23 <48235540+Ardub23@users.noreply.github.com> Date: Sat, 21 Oct 2023 22:32:40 -0600 Subject: [PATCH] Fix MR not working vs Paralyze spell Magic resistance was doing nothing to reduce or negate the paralysis caused by the Paralyze monster spell, despite being noticed by the caster and showing the sparkle animation. Now MR cuts the duration to 1 turn, like vanilla. (Free action still negates it fully, as handled by make_paralyzed.) Also fixed the spell's paralysis messages being suppressed. --- src/mcastu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mcastu.c b/src/mcastu.c index 8453c7de0..006a97448 100644 --- a/src/mcastu.c +++ b/src/mcastu.c @@ -1021,9 +1021,10 @@ cast_cleric_spell(struct monst *mtmp, int dmg, int spellnum) if (Antimagic) { shieldeff(u.ux, u.uy); monstseesu(M_SEEN_MAGR); + dmg = 1; } dynamic_multi_reason(mtmp, "paralyzed", FALSE); - make_paralyzed(dmg, FALSE, (const char *) 0); + make_paralyzed(dmg, TRUE, (const char *) 0); dmg = 0; break; case CLC_CONFUSE_YOU: