Skip to content

Commit

Permalink
Fix MR not working vs Paralyze spell
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ardub23 authored and copperwater committed Dec 10, 2023
1 parent f41a2cf commit d73e9e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mcastu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d73e9e0

Please sign in to comment.