MCPcopy Index your code
hub / github.com/NetHack/NetHack / miss

Function miss

src/zap.c:3570–3576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3568}
3569
3570void
3571miss(const char *str, struct monst *mtmp)
3572{
3573 pline("%s %s %s.", The(str), vtense(str, "miss"),
3574 ((cansee(gb.bhitpos.x, gb.bhitpos.y) || canspotmon(mtmp))
3575 && flags.verbose) ? mon_nam(mtmp) : "it");
3576}
3577
3578staticfn void
3579skiprange(int range, int *skipstart, int *skipend)

Callers 7

drag_ballFunction · 0.85
tmissFunction · 0.85
bhitmFunction · 0.85
dobuzzFunction · 0.85
ghitmFunction · 0.85
mbhitmFunction · 0.85
ohitmonFunction · 0.85

Calls 4

TheFunction · 0.85
vtenseFunction · 0.85
mon_namFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected