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();
p_ptr->redraw |= (PR_MAP);
p_ptr->window |= (PW_OVERHEAD | PW_DUNGEON);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Redraw the state */
p_ptr->redraw |= (PR_STATE);
-
- /* Handle stuff */
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);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
p_ptr->update |= (PU_HP);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
p_ptr->update |= (PU_HP);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
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 */
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 */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Update the monsters */
p_ptr->update |= (PU_MONSTERS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Update the monsters */
p_ptr->update |= (PU_MONSTERS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Update the monsters */
p_ptr->update |= (PU_MONSTERS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Recalculate hitpoints */
p_ptr->update |= (PU_HP);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
p_ptr->redraw |= (PR_STATUS);
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
p_ptr->redraw |= (PR_STATUS);
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
p_ptr->redraw |= (PR_STATUS);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
p_ptr->redraw |= (PR_STATUS);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
p_ptr->redraw |= (PR_STATUS);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
p_ptr->redraw |= (PR_STATUS);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
p_ptr->redraw |= (PR_STATUS);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw the "stun" */
p_ptr->redraw |= (PR_STUN);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw the "cut" */
p_ptr->redraw |= (PR_CUT);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
/* Redraw hunger */
p_ptr->redraw |= (PR_HUNGER);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
{
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 */
p_ptr->chp_frac = 0;
}
- /* Redraw */
p_ptr->redraw |= (PR_HP);
p_ptr->window |= (PW_PLAYER);
/* 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 */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
if (!notice) return (FALSE);
if (disturb_state) disturb(FALSE, FALSE);
-
- /* Recalculate bonuses */
p_ptr->update |= (PU_BONUS);
-
- /* Handle stuff */
handle_stuff();
return (TRUE);
}
msg_format(_("武器を持たないと魔法剣は使えない。", "You cannot use temporary branding with no weapon."));
return FALSE;
}
-
- /* Save screen */
screen_save();
num = (p_ptr->lev - 20) / 5;
screen_load();
return FALSE;
}
- /* Load screen */
screen_load();
return TRUE;
}
bool choose_ele_immune(TIME_EFFECT immune_turn)
{
char choice;
-
- /* Save screen */
screen_save();
c_prt(TERM_RED, _(" a) 火炎", " a) Immune Fire"), 2, 14);
screen_load();
return FALSE;
}
- /* Load screen */
screen_load();
return TRUE;
}