/* Skip held objects */
if (o_ptr->held_m_idx) continue;
- /* Location */
y = o_ptr->iy;
x = o_ptr->ix;
/* Skip held objects */
if (o_ptr->held_m_idx) continue;
- /* Location */
y = o_ptr->iy;
x = o_ptr->ix;
/* Skip held objects */
if (o_ptr->held_m_idx) continue;
- /* Location */
y = o_ptr->iy;
x = o_ptr->ix;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
*/
bool project_hack(EFFECT_ID typ, HIT_POINT dam)
{
- int i, x, y;
- int flg = PROJECT_JUMP | PROJECT_KILL | PROJECT_HIDE;
- bool obvious = FALSE;
+ MONSTER_IDX i;
+ POSITION x, y;
+ BIT_FLAGS flg = PROJECT_JUMP | PROJECT_KILL | PROJECT_HIDE;
+ bool obvious = FALSE;
/* Mark all (nearby) monsters */
/* Paranoia -- Skip dead monsters */
if (!m_ptr->r_idx) continue;
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
/* Remove mark */
m_ptr->mflag &= ~(MFLAG_TEMP);
- /* Location */
y = m_ptr->fy;
x = m_ptr->fx;
bool sleep = FALSE;
bool speed = FALSE;
-
/* Aggravate everyone nearby */
for (i = 1; i < m_max; i++)
{
}
}
- /* Messages */
-#ifdef JP
- if (speed) msg_print("付近で何かが突如興奮したような感じを受けた!");
- else if (sleep) msg_print("何かが突如興奮したような騒々しい音が遠くに聞こえた!");
-#else
- if (speed) msg_print("You feel a sudden stirring nearby!");
- else if (sleep) msg_print("You hear a sudden stirring in the distance!");
-#endif
+ if (speed) msg_print(_("付近で何かが突如興奮したような感じを受けた!", "You feel a sudden stirring nearby!"));
+ else if (sleep) msg_print(_("何かが突如興奮したような騒々しい音が遠くに聞こえた!", "You hear a sudden stirring in the distance!"));
if (p_ptr->riding) p_ptr->update |= PU_BONUS;
}
/* Hack -- Skip Unique Monsters or Quest Monsters */
if (r_ptr->flags1 & (RF1_UNIQUE | RF1_QUESTOR)) resist = TRUE;
-
else if (r_ptr->flags7 & RF7_UNIQUE2) resist = TRUE;
-
else if (m_idx == p_ptr->riding) resist = TRUE;
-
else if ((p_ptr->inside_quest && !random_quest_number(dun_level)) || p_ptr->inside_arena || p_ptr->inside_battle) resist = TRUE;
-
else if (player_cast && (r_ptr->level > randint0(power))) resist = TRUE;
-
else if (player_cast && (m_ptr->mflag2 & MFLAG2_NOGENO)) resist = TRUE;
/* Delete the monster */