Spell of knock can knock back small monsters

Differentiates the spell from the wand of opening,
and the spell name sounds like it should do that ...
This commit is contained in:
Pasi Kallinen
2023-03-04 19:06:13 +02:00
parent c6a2803f49
commit ce0d25129e
4 changed files with 27 additions and 4 deletions

View File

@@ -52,7 +52,6 @@ static boolean m_slips_free(struct monst *, struct attack *);
static void start_engulf(struct monst *);
static void end_engulf(void);
static int gulpum(struct monst *, struct attack *);
static boolean m_is_steadfast(struct monst *);
static boolean hmonas(struct monst *);
static void nohandglow(struct monst *);
static boolean mhurtle_to_doom(struct monst *, int, struct permonst **);
@@ -4803,7 +4802,7 @@ missum(
}
/* check whether equipment protects against knockback */
static boolean
boolean
m_is_steadfast(struct monst *mtmp)
{
boolean is_u = (mtmp == &gy.youmonst);