extern void fetch(DIRECTION dir, WEIGHT wgt, bool require_los);
extern void alter_reality(void);
extern bool place_mirror(void);
-extern bool explosive_rune(void);
extern void identify_pack(void);
extern int remove_curse(void);
extern int remove_all_curse(void);
#include "player-status.h"
#include "spells-status.h"
#include "spells-object.h"
+#include "spells-floor.h"
#include "cmd-spell.h"
#include "realm-hex.h"
return TRUE;
}
+
+
+/*!
+ * @brief 爆発のルーン設置処理 /
+ * Leave an "explosive rune" which prevents monster movement
+ * @return 実際に設置が行われた場合TRUEを返す
+ */
+bool explosive_rune(void)
+{
+ if (!cave_clean_bold(p_ptr->y, p_ptr->x))
+ {
+ msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
+ return FALSE;
+ }
+
+ /* Create a glyph */
+ current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].info |= CAVE_OBJECT;
+ current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].mimic = feat_explosive_rune;
+
+ note_spot(p_ptr->y, p_ptr->x);
+ lite_spot(p_ptr->y, p_ptr->x);
+
+ return TRUE;
+}
+
extern void wiz_lite(bool ninja);
extern void wiz_dark(void);
extern bool warding_glyph(void);
+extern bool explosive_rune(void);
/*!
- * @brief 爆発のルーン設置処理 /
- * Leave an "explosive rune" which prevents monster movement
- * @return 実際に設置が行われた場合TRUEを返す
- */
-bool explosive_rune(void)
-{
- if (!cave_clean_bold(p_ptr->y, p_ptr->x))
- {
- msg_print(_("床上のアイテムが呪文を跳ね返した。", "The object resists the spell."));
- return FALSE;
- }
-
- /* Create a glyph */
- current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].info |= CAVE_OBJECT;
- current_floor_ptr->grid_array[p_ptr->y][p_ptr->x].mimic = feat_explosive_rune;
-
- note_spot(p_ptr->y, p_ptr->x);
- lite_spot(p_ptr->y, p_ptr->x);
-
- return TRUE;
-}
-
-
-/*!
* @brief 全所持アイテム鑑定処理 /
* Identify everything being carried.
* Done by a potion of "self knowledge".