3 #include "mind/mind-types.h"
4 #include "system/angband.h"
9 class MindPowerGetter {
11 MindPowerGetter(PlayerType *player_ptr);
12 virtual ~MindPowerGetter() = default;
13 bool get_mind_power(SPELL_IDX *sn, bool only_browse);
16 PlayerType *player_ptr;
21 bool should_redraw_cursor = true;
23 concptr mind_description = "";
24 const mind_type *spell = nullptr;
27 MindKindType use_mind;
29 const mind_power *mind_ptr = nullptr;
30 PERCENTAGE chance = 0;
33 void select_mind_description();
34 bool select_spell_index(SPELL_IDX *sn);
35 bool decide_mind_choice(char *out_val, const bool only_browse);
36 bool interpret_mind_key_input(const bool only_browse);
37 bool display_minds_chance(const bool only_browse);
38 void display_each_mind_chance();
39 void calculate_mind_chance(bool *has_weapon); // 配列.
40 void calculate_ki_chance(bool *has_weapon); // 配列.
42 void make_choice_lower();