extern bool rodeo(player_type *creature_ptr);
extern bool clear_mind(player_type *creature_ptr);
extern bool concentration(player_type *creature_ptr);
+extern bool vanish_dungeon(player_type *caster_ptr);
/*
* Bit flags for teleportation
* @params caster_ptr 術者の参照ポインタ
* @return 実際に処理が反映された場合TRUE
*/
-static bool vanish_dungeon(player_type *caster_ptr)
+bool vanish_dungeon(player_type *caster_ptr)
{
POSITION y, x;
grid_type *g_ptr;
} debug_spell_command;
-#define SPELL_MAX 1
+#define SPELL_MAX 2
debug_spell_command debug_spell_commands_list[SPELL_MAX] =
{
+ { 2, "vanish dungeon", {.spell2 = vanish_dungeon} },
{ 3, "true healing", {.spell3 = true_healing} }
};
{
switch (debug_spell_commands_list[i].type)
{
+ case 2:
+ (*(debug_spell_commands_list[i].command_function.spell2.spell_function))(creature_ptr);
+ break;
+
case 3:
tmp_val[0] = '\0';
if (!get_string("POWER:", tmp_val, 32)) return FALSE;