/* No redraw yet */
redraw = FALSE;
-#ifdef ALLOW_REPEAT /* TNB */
-
/* Get the spell, if available */
if (repeat_pull(&code))
}
*sn = (SPELL_IDX)code;
-#endif /* ALLOW_REPEAT -- TNB */
-
if (use_menu)
{
screen_save();
/* Show choices */
p_ptr->window |= (PW_SPELL);
- /* Window stuff */
window_stuff();
/* Abort if needed */
/* Save the choice */
(*sn) = spellnum[i];
-#ifdef ALLOW_REPEAT /* TNB */
-
repeat_push((COMMAND_CODE)spellnum[i]);
-#endif /* ALLOW_REPEAT -- TNB */
-
/* Success */
return (TRUE);
}
/* Hack */
p_ptr->energy_need -= 1000 + (100 + randint1(200)+200)*TURNS_PER_TICK/10;
- /* Redraw map */
p_ptr->redraw |= (PR_MAP);
/* Update monsters */
p_ptr->update |= (PU_MONSTERS);
- /* Window stuff */
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
handle_stuff();
p_ptr->csp = 0;
p_ptr->csp_frac = 0;
- /* Message */
msg_print(_("精神を集中しすぎて気を失ってしまった!", "You faint from the effort!"));
/* Hack -- Bypass free action */
{
bool perm = (randint0(100) < 25);
- /* Message */
msg_print(_("体を悪くしてしまった!", "You have damaged your health!"));
/* Reduce constitution */
}
}
- /* Take a turn */
p_ptr->energy_use = 100;
- /* Window stuff */
p_ptr->redraw |= (PR_MANA);
p_ptr->window |= (PW_PLAYER);
p_ptr->window |= (PW_SPELL);