cursed list vs worn light again

Fix a couple of mistakes in commit
 e8341dc9d7
pointed out by vultur-cadens.  While in read.c, reformat some of the
new livelog stuff.
This commit is contained in:
PatR
2022-02-09 16:38:26 -08:00
parent d761263e89
commit a1feac496e
2 changed files with 21 additions and 15 deletions

View File

@@ -1541,7 +1541,7 @@ impact_arti_light(
struct obj *otmp;
/* if already worst/best BUC it can be, or if it resists, do nothing */
if ((worsen ? obj->cursed : obj->blessed) || obj_resists(obj, 75, 25))
if ((worsen ? obj->cursed : obj->blessed) || obj_resists(obj, 25, 75))
return;
/* curse() and bless() take care of maybe_adjust_light() */