OSDN Git Service

Merge pull request #3569 from sikabane-works/release/3.0.0.88-alpha
[hengbandforosx/hengbandosx.git] / src / lore / lore-calculator.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include <string>
5
6 enum class MonsterAbilityType;
7 enum class MonsterRaceId : int16_t;
8
9 struct lore_type;
10 class PlayerType;
11 std::string dice_to_string(int base_damage, int dice_num, int dice_side, int dice_mult, int dice_div);
12 bool know_armour(MonsterRaceId r_idx, const bool know_everything);
13 bool know_damage(MonsterRaceId r_idx, int i);
14 void set_damage(PlayerType *player_ptr, lore_type *lore_ptr, MonsterAbilityType ms_type, concptr msg);
15 void set_flags_for_full_knowledge(lore_type *lore_ptr);