]> granicus.if.org Git - nethack/commitdiff
Wielding a bec de corbin makes ravens generate peaceful
authorPasi Kallinen <paxed@alt.org>
Sun, 17 Jul 2022 06:04:12 +0000 (09:04 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 17 Jul 2022 06:04:15 +0000 (09:04 +0300)
doc/fixes3-7-0.txt
src/makemon.c

index e4fcb8828a19ce0e8cb6ae03f5f9555345a75489..7ce529fb690e09102859b069e68e1e9dd6d800fa 100644 (file)
@@ -967,6 +967,7 @@ if blind hero was challanged by a vault guard, it wasn't possible to see how
        to start following that guard out of the vault
 make taming via magic harp be consistent with scroll of taming and charm
        spell:  an angry shopkeeper becomes pacified (but never tamed)
+wielding a bec de corbin makes ravens generate peaceful
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index de0e7729701b18ada998c257f775d004f724e5a4..4cde2f46c6db80d88b56d8ddfe8f232d67b9c62c 100644 (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))