fix #K3902 - hug attacks against unsolid targets
Prevent hug attacks (owlbear, python, pit fiend, several others), attacks for wrap damage (eel and kraken, trapper and lurker above), attacks for stick-to damage (mimic, lichen), and attacks for digestion damage (purple worm) from succeeding against unsolid monsters (ghosts, lights, vortices, most elementals). Polymorph of an engulf or hold target into unsolid form has been addressed by a couple of previous updates.
This commit is contained in:
@@ -1342,6 +1342,7 @@ extern void dump_glyphids(void);
|
||||
extern int fightm(struct monst *);
|
||||
extern int mdisplacem(struct monst *, struct monst *, boolean);
|
||||
extern int mattackm(struct monst *, struct monst *);
|
||||
extern boolean failed_grab(struct monst *, struct monst *, struct attack *);
|
||||
extern boolean engulf_target(struct monst *, struct monst *);
|
||||
extern int mon_poly(struct monst *, struct monst *, int);
|
||||
extern void paralyze_monst(struct monst *, int);
|
||||
|
||||
Reference in New Issue
Block a user