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

Function rndmonst

src/makemon.c:1651–1655  ·  view source on GitHub ↗

select a random monster type */

Source from the content-addressed store, hash-verified

1649
1650/* select a random monster type */
1651struct permonst *
1652rndmonst(void)
1653{
1654 return rndmonst_adj(0, 0);
1655}
1656
1657/* select a random monster type, with adjusted difficulty */
1658struct permonst *

Callers 5

wiz_migrate_monsFunction · 0.85
makemonFunction · 0.85
muse_newcham_monFunction · 0.85
do_genocideFunction · 0.85

Calls 1

rndmonst_adjFunction · 0.85

Tested by

no test coverage detected