OSDN Git Service

[Refactor] #40574 Moved become_living_trump() from mutation.c/h to spells-trump.c/h
[hengband/hengband.git] / src / realm / realm-craft.c
index a299df4..7a3ae36 100644 (file)
@@ -1,17 +1,23 @@
-#include "system/angband.h"
-#include "util/util.h"
-
+#include "realm/realm-craft.h"
 #include "cmd-action/cmd-spell.h"
+#include "monster-floor/monster-summon.h"
+#include "monster-floor/place-monster-types.h"
+#include "player/digestion-processor.h"
 #include "player/selfinfo.h"
+#include "spell-kind/spells-curse-removal.h"
+#include "spell-kind/spells-enchant.h"
+#include "spell-kind/spells-perception.h"
+#include "spell-realm/spells-craft.h"
+#include "spell-realm/spells-trump.h"
 #include "spell/range-calc.h"
 #include "spell/spells-object.h"
-#include "spell/spells-summon.h"
 #include "spell/spells-status.h"
-#include "mutation/mutation.h"
-#include "player/player-status.h"
-#include "player/player-effects.h"
-#include "realm/realm-craft.h"
-#include "spell/spells3.h"
+#include "spell/spells-summon.h"
+#include "status/body-improvement.h"
+#include "status/buff-setter.h"
+#include "status/element-resistance.h"
+#include "status/sight-setter.h"
+#include "view/display-messages.h"
 
 /*!
 * @brief 匠領域魔法の各処理を行う
@@ -358,7 +364,7 @@ concptr do_craft_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode
 
                        if (cast)
                        {
-                               set_kabenuke(caster_ptr, randint1(base) + base, FALSE);
+                               set_pass_wall(caster_ptr, randint1(base) + base, FALSE);
                        }
                }
                break;