MCPcopy Create free account
hub / github.com/NetHack/NetHack / m_arrival

Function m_arrival

src/monmove.c:573–579  ·  view source on GitHub ↗

perform a special one-time action for a monster; returns -1 if nothing special happened, 0 if monster uses up its turn, 1 if monster is killed */

Source from the content-addressed store, hash-verified

571/* perform a special one-time action for a monster; returns -1 if nothing
572 special happened, 0 if monster uses up its turn, 1 if monster is killed */
573staticfn int
574m_arrival(struct monst *mon)
575{
576 mon->mstrategy &= ~STRAT_ARRIVE; /* always reset */
577
578 return -1;
579}
580
581/* a mind flayer unleashes a mind blast */
582staticfn void

Callers 1

dochugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected