diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 7b0f5de4e..33995e453 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -974,7 +974,8 @@ bigroom variant 2 may have ice floor in unlit areas some large monsters can knock back smaller monsters with a hit change Demonbane to a mace, make it the first sac gift for priests, and give it an invoke ability to banish demons -wielding Giantslayer prevents knockback from larger monsters +wielding Giantslayer prevents knockback from larger monsters; likewise for + carried loadstone(s) scared hostile monster which cannot move away will attack prevent a fog cloud that has engulfed the hero from moving under closed doors allow cutting a known spider web with wielded weapon by force-fighting the web diff --git a/src/uhitm.c b/src/uhitm.c index c2fbd396d..25041fd39 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -4616,6 +4616,12 @@ m_is_steadfast(struct monst *mtmp) if (is_art(otmp, ART_GIANTSLAYER)) return TRUE; + + /* steadfast if carrying any loadstone (and not floating or flying) */ + for (otmp = is_u ? g.invent : mtmp->minvent; otmp; otmp = otmp->nobj) + if (otmp->otyp == LOADSTONE) + return TRUE; + return FALSE; }