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:36 +03:00
parent fa1b326e31
commit 07184c9640

View File

@@ -328,7 +328,7 @@ m_initweap(register struct monst *mtmp)
&& sgn(mtmp->isminion ? EMIN(mtmp)->min_align
: ptr->maligntyp) == A_LAWFUL)
otmp = oname(otmp,
artiname(rn2(2) ? ART_DEMONBANE : ART_SUNSWORD),
artiname(ART_SUNSWORD),
ONAME_RANDOM); /* randomly created */
bless(otmp);
otmp->oerodeproof = TRUE;