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

Function summon_furies

src/makemon.c:2604–2612  ·  view source on GitHub ↗

create some or all remaining erinyes around the player */

Source from the content-addressed store, hash-verified

2602
2603/* create some or all remaining erinyes around the player */
2604void
2605summon_furies(int limit) /* number to create, or 0 to create until extinct */
2606{
2607 int i = 0;
2608 while (mk_gen_ok(PM_ERINYS, G_GONE, 0U) && (i < limit || !limit)) {
2609 makemon(&mons[PM_ERINYS], u.ux, u.uy, MM_ADJACENTOK | MM_NOWAIT);
2610 i++;
2611 }
2612}
2613
2614/*makemon.c*/

Callers 1

uchangealignFunction · 0.85

Calls 2

mk_gen_okFunction · 0.85
makemonFunction · 0.85

Tested by

no test coverage detected