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

Function mcast_clone_wiz

src/mcastu.c:410–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410staticfn void
411mcast_clone_wiz(struct monst *mtmp)
412{
413 if (mtmp->iswiz && svc.context.no_of_wizards == 1) {
414 pline("Double Trouble...");
415 clonewiz();
416 } else
417 impossible("bad wizard cloning?");
418}
419
420staticfn void
421mcast_summon_mons(struct monst *mtmp)

Callers 1

mcast_spellFunction · 0.85

Calls 3

clonewizFunction · 0.85
plineFunction · 0.70
impossibleFunction · 0.70

Tested by

no test coverage detected