/* Process the monsters (backwards) */
for (i = current_floor_ptr->m_max - 1; i >= 1; i--)
{
- /* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[i];
/* Ignore "dead" monsters */
/* Process the monsters (backwards) */
for (i = current_floor_ptr->m_max - 1; i >= 1; i--)
{
- /* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[i];
/* Ignore "dead" monsters */
GAME_TEXT friend_name[MAX_NLEN];
bool kakunin;
- /* Access the monster */
pet_ctr = who[i];
m_ptr = ¤t_floor_ptr->m_list[pet_ctr];
p_ptr->pet_extra_flags &= ~(PF_PICKUP_ITEMS);
for (pet_ctr = current_floor_ptr->m_max - 1; pet_ctr >= 1; pet_ctr--)
{
- /* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[pet_ctr];
if (is_pet(m_ptr))
*/
bool rakuba(HIT_POINT dam, bool force)
{
- int i, y, x, oy, ox;
- int sn = 0, sy = 0, sx = 0;
+ DIRECTION i;
+ POSITION y, x, oy, ox, sy = 0, sx = 0;
+ int sn = 0;
GAME_TEXT m_name[MAX_NLEN];
monster_type *m_ptr = ¤t_floor_ptr->m_list[p_ptr->riding];
monster_race *r_ptr = &r_info[m_ptr->r_idx];
/* Spells of realm2 will have an increment of +32 */
SPELL_IDX spell = -1;
-
concptr p = spell_category_name(mp_ptr->spell_book);
-
object_type *o_ptr;
-
concptr q, s;
if (!p_ptr->realm1)
return;
}
- if (p_ptr->blind || no_lite())
- {
- msg_print(_("目が見えない!", "You cannot see!"));
- return;
- }
-
+ if (cmd_limit_blind(p_ptr)) return;
if (cmd_limit_confused(p_ptr)) return;
if (!(p_ptr->new_spells))
return;
}
- /* Require lite */
if (p_ptr->blind || no_lite())
{
if (p_ptr->pclass == CLASS_FORCETRAINER) confirm_use_force(FALSE);
p_ptr->spell_worked2 |= (1L << spell);
}
- /* Gain experience */
gain_exp(p_ptr, e * s_ptr->slevel);
-
- /* Redraw object recall */
p_ptr->window |= (PW_OBJECT);
switch (realm)
/* Process the monsters (backwards) */
for (i = current_floor_ptr->m_max - 1; i >= 1; i--)
{
- /* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[i];
r_ptr = &r_info[m_ptr->r_idx];
/* Finally multiply base experience point of the monster */
s64b_mul(&new_exp, &new_exp_frac, 0, r_ptr->mexp);
- /* Gain experience */
gain_exp_64(p_ptr, new_exp, new_exp_frac);
}
/* Process the monsters (backwards) */
for (i = current_floor_ptr->m_max - 1; i >= 1; i--)
{
- /* Access the monster */
m_ptr = ¤t_floor_ptr->m_list[i];
/* Ignore "dead" monsters */
/* Process the monsters (backwards) */
for (i = current_floor_ptr->mproc_max[mtimed_idx] - 1; i >= 0; i--)
{
- /* Access the monster */
process_monsters_mtimed_aux(cur_mproc_list[i], mtimed_idx);
}
}