OSDN Git Service

Merge pull request #3569 from sikabane-works/release/3.0.0.88-alpha
[hengbandforosx/hengbandosx.git] / src / status / buff-setter.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 enum class MimicKindType;
6 class PlayerType;
7 void reset_tim_flags(PlayerType *player_ptr);
8 bool set_acceleration(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
9 bool mod_acceleration(PlayerType *player_ptr, const TIME_EFFECT v, const bool do_dec);
10 bool set_shield(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
11 bool set_magicdef(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
12 bool set_blessed(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
13 bool set_hero(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
14 bool set_mimic(PlayerType *player_ptr, TIME_EFFECT v, MimicKindType mimic_race_idx, bool do_dec);
15 bool set_shero(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
16 bool set_wraith_form(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);
17 bool set_tsuyoshi(PlayerType *player_ptr, TIME_EFFECT v, bool do_dec);