#include "spells.h"
#include "player-status.h"
#include "player-effects.h"
+#include "player-skill.h"
#include "realm-hex.h"
#include "grid.h"
+#include "monsterrace.h"
+#include "targeting.h"
+#include "realm-song.h"
+#include "view-mainwindow.h"
#define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
o_ptr = choose_object(&item, q, s, (USE_EQUIP));
if (!o_ptr) return FALSE;
- o_ptr = &inventory[item];
+ o_ptr = &p_ptr->inventory_list[item];
object_desc(o_name, o_ptr, OD_NAME_ONLY);
object_flags(o_ptr, f);
if (desc) return _("影のオーラを身にまとい、敵に影のダメージを与える。", "Gives aura of shadow.");
if (cast)
{
- object_type *o_ptr = &inventory[INVEN_OUTER];
+ object_type *o_ptr = &p_ptr->inventory_list[INVEN_OUTER];
if (!o_ptr->k_idx)
{
}
if (cont)
{
- object_type *o_ptr = &inventory[INVEN_OUTER];
+ object_type *o_ptr = &p_ptr->inventory_list[INVEN_OUTER];
if ((!o_ptr->k_idx) || (!object_is_cursed(o_ptr)))
{