/* Sniper */
if ((p_ptr->pclass == CLASS_SNIPER) && (p_ptr->concent))
- reset_concent = TRUE;
+ p_ptr->reset_concent = TRUE;
/* Parse the command */
switch (command_cmd)
}
/* Sniper */
- if (p_ptr->energy_use && reset_concent) reset_concentration(TRUE);
+ if (p_ptr->energy_use && p_ptr->reset_concent) reset_concentration(TRUE);
/* Handle "leaving" */
if (p_ptr->leaving) break;
extern bool repair_monsters;
extern bool repair_objects;
-extern bool reset_concent;
-
/*
bool now_damaged;
bool ambush_flag;
+ bool reset_concent; /* Concentration reset flag */
+
bool wizard; /* Player is in wizard mode */
MONSTER_IDX riding; /* Riding on a monster of this index */
if ((int)p_ptr->concent < (2 + (p_ptr->lev + 5) / 10)) p_ptr->concent++;
msg_format(_("集中した。(集中度 %d)", "You concentrate deeply. (lvl %d)"), p_ptr->concent);
- reset_concent = FALSE;
+ p_ptr->reset_concent = FALSE;
p_ptr->update |= (PU_BONUS | PU_MONSTERS);
p_ptr->redraw |= (PR_STATUS);
}
p_ptr->concent = 0;
- reset_concent = FALSE;
+ p_ptr->reset_concent = FALSE;
p_ptr->update |= (PU_BONUS | PU_MONSTERS);
p_ptr->redraw |= (PR_STATUS);
/* for movie */
bool browsing_movie;
-
-
-/* for snipers */
-bool reset_concent = FALSE; /* Concentration reset flag */
-
-