3 #include "effect/attribute-types.h"
4 #include "system/angband.h"
8 class FallOffHorseEffect;
9 class EffectPlayerType {
11 DEPTH rlev; // モンスターのレベル (但し0のモンスターは1になる).
19 AttributeType attribute;
21 EffectPlayerType(MONSTER_IDX src_idx, int dam, AttributeType attribute, BIT_FLAGS flag);
25 class CapturedMonsterType;
27 using project_func = ProjectResult (*)(
28 PlayerType *player_ptr, MONSTER_IDX src_idx, POSITION rad, POSITION y, POSITION x, int dam, AttributeType typ, BIT_FLAGS flag, std::optional<CapturedMonsterType *> cap_mon_ptr);
30 bool affect_player(MONSTER_IDX src_idx, PlayerType *player_ptr, concptr src_name, int r, POSITION y, POSITION x, int dam, AttributeType typ, BIT_FLAGS flag,
31 FallOffHorseEffect &fall_off_horse_effect, project_func project);