OSDN Git Service

[Refactor] Moved calc_android_exp() from player-effects.c/h to racial-android.c/h
[hengband/hengband.git] / src / player / player-effects.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 void set_action(player_type *creature_ptr, ACTION_IDX typ);
6 void dispel_player(player_type *creature_ptr);
7 bool set_protevil(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
8 bool set_invuln(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
9 bool set_tim_regen(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
10 bool set_tim_sh_fire(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
11 bool set_tim_sh_holy(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
12 bool set_tim_eyeeye(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
13 bool set_resist_magic(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
14 bool set_tim_reflect(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
15 bool set_kabenuke(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
16 bool inc_stat(player_type *creature_ptr, int stat);
17 bool dec_stat(player_type *creature_ptr, int stat, int amount, int permanent);
18 bool res_stat(player_type *creature_ptr, int stat);
19 bool hp_player(player_type *creature_ptr, int num);
20 bool do_dec_stat(player_type *creature_ptr, int stat);
21 bool do_res_stat(player_type *creature_ptr, int stat);
22 bool do_inc_stat(player_type *creature_ptr, int stat);
23 bool lose_all_info(player_type *creature_ptr);
24 void do_poly_self(player_type *creature_ptr);
25 void do_poly_wounds(player_type *creature_ptr);
26 void change_race(player_type *creature_ptr, player_race_type new_race, concptr effect_msg);