OSDN Git Service

[Fix] 朱雀の構えによる格闘命中/ダメージ修正が機能していなかった
[hengband/hengband.git] / src / spell-realm / spells-crusade.c
index 0c30f0b..c9d7c48 100644 (file)
 #include "core/player-update-types.h"
 #include "core/stuff-handler.h"
 #include "effect/effect-characteristics.h"
+#include "effect/effect-processor.h"
 #include "floor/cave.h"
 #include "game-option/disturbance-options.h"
 #include "grid/feature-flag-types.h"
 #include "grid/grid.h"
 #include "spell-realm/spells-crusade.h"
-#include "spell/process-effect.h"
 #include "spell/range-calc.h"
 #include "spell/spell-types.h"
 #include "system/floor-type-definition.h"
-#include "target/target-preparation.h"
-#include "target/targeting.h"
+#include "target/projection-path-calculator.h"
+#include "target/target-checker.h"
+#include "target/target-getter.h"
 #include "util/bit-flags-calculator.h"
 #include "view/display-messages.h"
 
@@ -56,7 +57,7 @@ bool cast_wrath_of_the_god(player_type *caster_ptr, HIT_POINT dam, POSITION rad)
         mmove2(&ny, &nx, caster_ptr->y, caster_ptr->x, ty, tx);
         if (get_max_range(caster_ptr) <= distance(caster_ptr->y, caster_ptr->x, ny, nx))
             break;
-        if (!cave_have_flag_bold(caster_ptr->current_floor_ptr, ny, nx, FF_PROJECT))
+        if (!cave_has_flag_bold(caster_ptr->current_floor_ptr, ny, nx, FF_PROJECT))
             break;
         if ((dir != 5) && caster_ptr->current_floor_ptr->grid_array[ny][nx].m_idx != 0)
             break;