adjust temporary acid/stoning resistance
When eating a meal that is affected by acid resistance or stoning
resistance and protected by temporary resistance, increase the timeout
so that the resistance doesn't expire until after the meal finishes.
That avoids getting the "you no longer feel safe from {acid,stoning}"
during the meal and not being affected by the dangerous food despite
that message. Useful because the protection is checked at the start
of the meal and not rechecked during; extending the duration hides
the latter.
This commit is contained in:
@@ -734,6 +734,7 @@ extern void vomit(void);
|
||||
extern int eaten_stat(int, struct obj *);
|
||||
extern void food_disappears(struct obj *);
|
||||
extern void food_substitution(struct obj *, struct obj *);
|
||||
extern long temp_resist(int);
|
||||
extern void eating_conducts(struct permonst *);
|
||||
extern int eat_brains(struct monst *, struct monst *, boolean, int *);
|
||||
extern void fix_petrification(void);
|
||||
|
||||
Reference in New Issue
Block a user