int dosummon(void) { int placeholder; if (u.uen < 10) { pline("You lack the energy to send forth a call for help!"); return 0; } u.uen -= 10; iflags.botl = 1; pline("You call upon your brethren for help!"); exercise(A_WIS, TRUE); if (!were_summon(youmonst.data, TRUE, &placeholder, NULL)) pline("But none arrive."); return 1; }
int dosummon (void) { int placeholder; if (u.uen < 10) { You("lack the energy to send forth a call for help!"); return(0); } u.uen -= 10; You("call upon your brethren for help!"); exercise(A_WIS, true); if (!were_summon(youmonst.data, true, &placeholder, (char *)0)) pline("But none arrive."); return(1); }