Resistances gained from worn or wielded items also protect inventory

This commit is contained in:
Pasi Kallinen
2021-09-06 20:06:19 +03:00
parent 9f230c3cd4
commit 9942b65df7
5 changed files with 58 additions and 0 deletions

View File

@@ -3222,6 +3222,7 @@ extern void melt_ice_away(union any *, long);
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 void destroy_item(int, int);
extern int destroy_mitem(struct monst *, int, int);
extern int resist(struct monst *, char, int, int);