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

Function dosummon

src/polyself.c:1623–1639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623int
1624dosummon(void)
1625{
1626 int placeholder;
1627 if (u.uen < 10) {
1628 You("lack the energy to send forth a call for help!");
1629 return ECMD_OK;
1630 }
1631 u.uen -= 10;
1632 disp.botl = TRUE;
1633
1634 You("call upon your brethren for help!");
1635 exercise(A_WIS, TRUE);
1636 if (!were_summon(gy.youmonst.data, TRUE, &placeholder, (char *) 0))
1637 pline("But none arrive.");
1638 return ECMD_TIME;
1639}
1640
1641int
1642dogaze(void)

Callers 1

domonabilityFunction · 0.85

Calls 4

YouFunction · 0.85
exerciseFunction · 0.85
were_summonFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected