getwn
int getwn(struct monst *);
if (ptr->mlet == 'w' && getwn(mtmp))
if (mdat->mlet == 'w' && getwn(mtmp))
if (rn2(3) || !getwn(mtmp2)) {