Don't give fake Demonbanes to angels

Demonbane is a mace now, so trying to generate a long sword made
fake Demonbanes. Just don't give Demonbane at all to random angels.
This commit is contained in:
Pasi Kallinen
2022-08-05 13:43:39 +03:00
parent fa1b326e31
commit 07184c9640
+1 -1
View File
@@ -328,7 +328,7 @@ m_initweap(register struct monst *mtmp)
&& sgn(mtmp->isminion ? EMIN(mtmp)->min_align && sgn(mtmp->isminion ? EMIN(mtmp)->min_align
: ptr->maligntyp) == A_LAWFUL) : ptr->maligntyp) == A_LAWFUL)
otmp = oname(otmp, otmp = oname(otmp,
artiname(rn2(2) ? ART_DEMONBANE : ART_SUNSWORD), artiname(ART_SUNSWORD),
ONAME_RANDOM); /* randomly created */ ONAME_RANDOM); /* randomly created */
bless(otmp); bless(otmp);
otmp->oerodeproof = TRUE; otmp->oerodeproof = TRUE;