Gray dragon scale mail can resist curses

This commit is contained in:
RojjaCebolla 2021-12-20 05:51:42 -05:00 committed by GitHub
parent 3032da0841
commit db38b23d97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,7 +397,8 @@ rndcurse(void)
if (!otmp || otmp->cursed)
continue; /* next target */
if (otmp->oartifact && spec_ability(otmp, SPFX_INTEL)
if ((otmp->oartifact && spec_ability(otmp, SPFX_INTEL)
|| (uarm && uarm->otyp == GRAY_DRAGON_SCALE_MAIL))
&& rn2(10) < 8) {
pline("%s!", Tobjnam(otmp, "resist"));
continue;