Wielding a bec de corbin makes ravens generate peaceful

This commit is contained in:
Pasi Kallinen
2022-07-17 09:04:12 +03:00
parent b56e70fa93
commit 1ae2bc7063
2 changed files with 3 additions and 0 deletions

View File

@@ -1363,6 +1363,8 @@ makemon(
|| uwep->oartifact == ART_DEMONBANE))
mtmp->mpeaceful = mtmp->mtame = FALSE;
}
if (mndx == PM_RAVEN && uwep && uwep->otyp == BEC_DE_CORBIN)
mtmp->mpeaceful = TRUE;
if (mndx == PM_LONG_WORM && (mtmp->wormno = get_wormno()) != 0) {
initworm(mtmp, allowtail ? rn2(5) : 0);
if (count_wsegs(mtmp))