#include "avatar.h"
#include "player-status.h"
#include "spells-status.h"
+#include "realm-hex.h"
/*!
* @brief プレイヤーの継続行動を設定する。
case ACTION_HAYAGAKE:
{
msg_print(_("足が重くなった。", "You are no longer walking extremely fast."));
- p_ptr->energy_use = 100;
+ take_turn(p_ptr, 100);;
break;
}
case ACTION_SPELL:
p_ptr->special_defense = 0L;
while(p_ptr->energy_need < 0) p_ptr->energy_need += ENERGY_NEED();
- world_player = FALSE;
+ p_ptr->timewalk = FALSE;
if (prace_is_(RACE_DEMON) && (p_ptr->lev > 44)) p_ptr->oppose_fire = 1;
if ((p_ptr->pclass == CLASS_NINJA) && (p_ptr->lev > 44)) p_ptr->oppose_pois = 1;
else
p_ptr->hitdie = rp_ptr->r_mhp + cp_ptr->c_mhp + ap_ptr->a_mhp;
- do_cmd_rerate(FALSE);
+ roll_hitdice(0L);
/* The experience level may be modified */
check_experience();
power -= 10;
get_max_stats();
- do_cmd_rerate(FALSE);
+ roll_hitdice(0L);
}
while ((power > randint0(15)) && one_in_(3))