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

Function mcalcdistress

src/mon.c:1173–1177  ·  view source on GitHub ↗

actions that happen once per ``turn'', regardless of each individual monster's metabolism; some of these might need to be reclassified to occur more in proportion with movement rate */

Source from the content-addressed store, hash-verified

1171 individual monster's metabolism; some of these might need to
1172 be reclassified to occur more in proportion with movement rate */
1173void
1174mcalcdistress(void)
1175{
1176 iter_mons(m_calcdistress);
1177}
1178
1179staticfn void
1180m_calcdistress(struct monst *mtmp)

Callers 1

allmain.cFile · 0.85

Calls 1

iter_monsFunction · 0.85

Tested by

no test coverage detected