Commit 30dd5b6 1 parent 624e7d2 commit 30dd5b6 Copy full SHA for 30dd5b6
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3526,4 +3526,5 @@ The following changes to date are:
3526
3526
- Fix: peaceful/tame monsters poly'd into a cross-aligned dragon
3527
3527
(player is a knight) would stay tame
3528
3528
- Fix: noncorporeal monsters were affected by knockback
3529
+ - Fix: monster could go berserk if temporarily sleeping or paralyzed
3529
3530
Original file line number Diff line number Diff line change @@ -1164,7 +1164,7 @@ mcalcdistress()
1164
1164
1165
1165
if (is_berserker (mtmp -> data ) && !noattacks (mtmp -> data )) {
1166
1166
if ((mtmp -> mhp < (mtmp -> mhpmax / 3 )) && !mtmp -> mberserk
1167
- && !rn2 (15 )) {
1167
+ && !mtmp -> mfrozen && ! rn2 (15 )) {
1168
1168
if (canseemon (mtmp ) && humanoid (mtmp -> data )
1169
1169
&& !mindless (mtmp -> data )) {
1170
1170
pline ("%s flies into a berserker rage!" ,
You can’t perform that action at this time.
0 commit comments