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

Function rndmonnum

src/mkobj.c:387–391  ·  view source on GitHub ↗

select a random, common monster type */

Source from the content-addressed store, hash-verified

385
386/* select a random, common monster type */
387int
388rndmonnum(void)
389{
390 return rndmonnum_adj(0, 0);
391}
392
393/* select a random, common monster type, with adjusted difficulty */
394int

Callers 5

mksobj_initFunction · 0.85
mksobjFunction · 0.85
set_mimic_symFunction · 0.85
fixup_specialFunction · 0.85
create_objectFunction · 0.85

Calls 1

rndmonnum_adjFunction · 0.85

Tested by

no test coverage detected