1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-02 21:35:11 +01:00

Monsters don't attack stoning pets in melee

This commit is contained in:
Chris-plus-alphanumericgibberish 2015-03-08 22:10:11 -04:00
parent 1d02158529
commit 272c007d03

View file

@ -1718,6 +1718,7 @@ struct monst *magr, /* monster that is currently deciding where to move */
if(magr->mberserk) return ALLOW_M|ALLOW_TM;
if(touch_petrifies(md) && !resists_ston(magr)) return 0L;
if(is_drow(ma) && is_drow(md) && (magr->mfaction == mdef->mfaction)) return 0L;
if (u.sowdisc && !mdef->mtame)