3 #include "system/angband.h"
4 #include "effect/attribute-types.h"
7 class EffectPlayerType {
9 DEPTH rlev; // モンスターのレベル (但し0のモンスターは1になる).
11 char killer[MAX_MONSTER_NAME];
12 GAME_TEXT m_name[MAX_NLEN];
17 AttributeType attribute;
19 EffectPlayerType(MONSTER_IDX who, int dam, AttributeType attribute, BIT_FLAGS flag);
27 using project_func = ProjectResult (*)(
28 PlayerType *player_ptr, MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, int dam, AttributeType typ, BIT_FLAGS flag);
30 bool affect_player(MONSTER_IDX who, PlayerType *player_ptr, concptr who_name, int r, POSITION y, POSITION x, int dam, AttributeType typ, BIT_FLAGS flag,
31 project_func project);