enlightenment about temp resist and item resist

For timed acid resistance and timed stoning resistance, report
"You {are,were} temporarily {acid,petrification} resistant."

For items being protected by worn equipment, add "by your {armor,&c}"
similar to the existing feeback about you being protected "because
<some-reason>".  Wizard mode only.
This commit is contained in:
PatR
2022-03-28 10:38:04 -07:00
parent e96d4ea9ef
commit 0b42404ad6
3 changed files with 83 additions and 17 deletions

View File

@@ -3306,6 +3306,7 @@ extern int zap_over_floor(xchar, xchar, int, boolean *, short);
extern void fracture_rock(struct obj *);
extern boolean break_statue(struct obj *);
extern boolean u_adtyp_resistance_obj(int);
extern char *item_what(int);
extern void destroy_item(int, int);
extern int destroy_mitem(struct monst *, int, int);
extern int resist(struct monst *, char, int, int);