else if (m_ptr->sub_align & SUB_ALIGN_GOOD) align = _("中立(善良)", "neutral(good)");
else align = _("中立", "neutral");
- /* Describe the monster */
sprintf(buf,_("%s ... 属性:%s HP:%d/%d AC:%d 速度:%s%d 経験:", "%s ... align:%s HP:%d/%d AC:%d speed:%s%d exp:"),
m_name, align, (int)m_ptr->hp, (int)m_ptr->maxhp, r_ptr->ac, (speed > 0) ? "+" : "", speed);
}
}
- /* Delete objects */
delete_object(y, x);
/* Destroy "non-permanent" grids */
cave_type *c_ptr;
bool map[32][32];
-
/* Prevent destruction of quest levels and town */
if ((p_ptr->inside_quest && is_fixed_quest_idx(p_ptr->inside_quest)) || !dun_level)
{
if (distance(cy, cx, yy, xx) > r) continue;
c_ptr = &cave[yy][xx];
- /* Lose room and vault */
+ /* Lose room and vault / Lose light and knowledge */
c_ptr->info &= ~(CAVE_ROOM | CAVE_ICKY | CAVE_UNSAFE);
-
- /* Lose light and knowledge */
c_ptr->info &= ~(CAVE_GLOW | CAVE_MARK | CAVE_KNOWN);
/* Skip the epicenter */
}
}
- /* Describe the monster */
monster_desc(m_name, m_ptr, 0);
/* Scream in pain */
/* Destroy location (if valid) */
if (cave_valid_bold(yy, xx))
{
- /* Delete objects */
delete_object(yy, xx);
/* Wall (or floor) type */
}
}
-
/* Process "re-glowing" */
for (dy = -r; dy <= r; dy++)
{
if (is_mirror_grid(c_ptr)) c_ptr->info |= CAVE_GLOW;
else if (!(d_info[dungeon_type].flags1 & DF1_DARKNESS))
{
- int ii, yyy, xxx;
+ DIRECTION ii;
+ POSITION yyy, xxx;
cave_type *cc_ptr;
for (ii = 0; ii < 9; ii++)
}
}
-
/* Mega-Hack -- Forget the view and lite */
- p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE);
-
- p_ptr->update |= (PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE | PU_MONSTERS);
-
/* Update the health bar */
- p_ptr->redraw |= (PR_HEALTH | PR_UHEALTH);
-
- p_ptr->redraw |= (PR_MAP);
-
+ p_ptr->update |= (PU_UN_VIEW | PU_UN_LITE | PU_VIEW | PU_LITE | PU_FLOW | PU_MON_LITE | PU_MONSTERS);
+ p_ptr->redraw |= (PR_HEALTH | PR_UHEALTH | PR_MAP);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
if (p_ptr->special_defense & NINJA_S_STEALTH)
continue;
}
dam = m_ptr->maxhp / 2;
- if (dam > 100) dam = (dam-100)/2 + 100;
- if (dam > 400) dam = (dam-400)/2 + 400;
+ if (dam > 100) dam = (dam - 100) / 2 + 100;
+ if (dam > 400) dam = (dam - 400) / 2 + 400;
if (dam > 800) dam = 800;
- project(i, 2+(r_ptr->level/20), m_ptr->fy,
- m_ptr->fx, dam, GF_PLASMA,
+ project(i, 2 + (r_ptr->level / 20), m_ptr->fy, m_ptr->fx, dam, GF_PLASMA,
PROJECT_STOP | PROJECT_GRID | PROJECT_ITEM | PROJECT_KILL, -1);
if (record_named_pet && m_ptr->nickname)