break;
}
}
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Redraw the state */
p_ptr->redraw |= (PR_STATE);
}
p_ptr->dustrobe = 0;
p_ptr->action = ACTION_NONE;
-
p_ptr->oppose_acid = 0; /* Timed -- oppose acid */
p_ptr->oppose_elec = 0; /* Timed -- oppose lightning */
p_ptr->oppose_fire = 0; /* Timed -- oppose heat */
INTERUPTING_SONG_EFFECT(p_ptr) = SINGING_SONG_EFFECT(p_ptr);
SINGING_SONG_EFFECT(p_ptr) = MUSIC_NONE;
msg_format(_("%sが途切れた。", "Your %s is interrupted."), str);
- p_ptr->action = ACTION_NONE;
-
- /* Recalculate bonuses */
- p_ptr->update |= (PU_BONUS | PU_HP);
+ p_ptr->action = ACTION_NONE;
+ p_ptr->update |= (PU_BONUS | PU_HP | PU_MONSTERS);
p_ptr->redraw |= (PR_MAP | PR_STATUS | PR_STATE);
-
- /* Update monsters */
- p_ptr->update |= (PU_MONSTERS);
-
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
-
p_ptr->energy_need += ENERGY_NEED();
}
}
/* Redraw title */
p_ptr->redraw |= (PR_BASIC | PR_STATUS);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS | PU_HP);
handle_stuff();
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Redraw the state */
p_ptr->redraw |= (PR_STATE);
handle_stuff();
return (TRUE);
/* Update the health bar */
p_ptr->redraw |= (PR_HEALTH | PR_UHEALTH);
-
- /* Update monsters */
p_ptr->update |= (PU_MONSTERS);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
chg_virtue(V_VALOUR, -5);
p_ptr->redraw |= (PR_MAP);
-
- /* Update monsters */
p_ptr->update |= (PU_MONSTERS);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
notice = TRUE;
p_ptr->redraw |= (PR_MAP);
-
- /* Update monsters */
p_ptr->update |= (PU_MONSTERS);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
chg_virtue(V_VALOUR, -5);
p_ptr->redraw |= (PR_MAP);
-
- /* Update monsters */
p_ptr->update |= (PU_MONSTERS);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
notice = TRUE;
p_ptr->redraw |= (PR_MAP);
-
- /* Update monsters */
p_ptr->update |= (PU_MONSTERS);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
p_ptr->update |= (PU_MONSTERS);
handle_stuff();
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Update the monsters */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Update the monsters */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw the "stun" */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw the "cut" */
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw hunger */
{
p_ptr->stat_max[stat] = value;
}
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Success */
/* Redisplay the stats later */
p_ptr->redraw |= (PR_STATS);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
}
{
/* Restore */
p_ptr->stat_cur[stat] = p_ptr->stat_max[stat];
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redisplay the stats later */
/* Hack -- Clear the "felt" flag */
o_ptr->ident &= ~(IDENT_SENSE);
}
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Combine / Reorder the pack (later) */
- p_ptr->notice |= (PN_COMBINE | PN_REORDER);
+ p_ptr->update |= (PU_COMBINE | PU_REORDER);
p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
handle_stuff();
return (TRUE);