<ClInclude Include="..\..\src\effect\effect-monster-switcher.h" />\r
<ClInclude Include="..\..\src\effect\effect-monster-util.h" />\r
<ClInclude Include="..\..\src\effect\effect-monster.h" />\r
+ <ClInclude Include="..\..\src\effect\effect-player-util.h" />\r
<ClInclude Include="..\..\src\effect\effect-player.h" />\r
<ClInclude Include="..\..\src\effect\spells-effect-util.h" />\r
<ClInclude Include="..\..\src\io\dump-remover.h" />\r
<ClInclude Include="..\..\src\spell\spells-type.h">
<Filter>spell</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\effect\effect-player-util.h">
+ <Filter>effect</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
effect/effect-monster.c effect/effect-monster.h \
effect/effect-monster-util.c effect/effect-monster-util.h \
effect/effect-monster-switcher.c effect/effect-monster-switcher.h \
+ effect/effect-player-util.h \
\
spell/technic-info-table.c spell/technic-info-table.h \
spell/spells-execution.c spell/spells-execution.h \
--- /dev/null
+#pragma once
+
+typedef struct
+{
+ DEPTH rlev; // モンスターのレベル (但し0のモンスターは1になる).
+ monster_type *m_ptr;
+ char killer[80];
+ GAME_TEXT m_name[MAX_NLEN];
+ int get_damage;
+
+ MONSTER_IDX who;
+ HIT_POINT dam;
+ EFFECT_ID effect_type;
+ BIT_FLAGS flag;
+ int monspell;
+} effect_player_type;
*/
#include "angband.h"
+#include "effect/effect-player-util.h"
#include "effect/effect-player.h"
#include "main/sound-definitions-table.h"
#include "player-damage.h"
#include "object-curse.h"
#include "spell/spells-type.h"
-typedef struct
-{
- DEPTH rlev; // モンスターのレベル (但し0のモンスターは1になる).
- monster_type *m_ptr;
- char killer[80];
- GAME_TEXT m_name[MAX_NLEN];
- int get_damage;
-
- MONSTER_IDX who;
- HIT_POINT dam;
- EFFECT_ID effect_type;
- BIT_FLAGS flag;
- int monspell;
-} effect_player_type;
-
typedef enum effect_player_check_result
{
EP_CHECK_FALSE = 0,
if ((ep_ptr->who == 0) || (ep_ptr->who == target_ptr->riding))
return EP_CHECK_FALSE;
- if (process_bolt_reflection(target_ptr, ep_ptr, ep_ptr->flag))
+ if (process_bolt_reflection(target_ptr, ep_ptr))
return EP_CHECK_TRUE;
return EP_CHECK_CONTINUE;