OSDN Git Service

[Refactor] #2204 HIT_POINTエイリアスをintに揃えた
[hengbandforosx/hengbandosx.git] / src / effect / effect-processor.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "effect/attribute-types.h"
5
6 //! project() の結果。
7 struct ProjectResult {
8     bool notice{ false }; //!< プレイヤー/モンスター/アイテム/地形などに何らかの効果を及ぼしたか
9     bool affected_player{ false }; //!< プレイヤーに何らかの効果を及ぼしたか(ラーニング判定用)
10
11     ProjectResult() = default;
12 };
13
14 class EffectPlayerType;
15 class PlayerType;
16 ProjectResult project(
17     PlayerType *player_ptr, const MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, const int dam, const AttributeType typ,
18     BIT_FLAGS flag);