3 #include "system/angband.h"
8 class ItemMagicApplier {
10 ItemMagicApplier(PlayerType *player_ptr, ItemEntity *o_ptr, DEPTH lev, BIT_FLAGS mode);
14 PlayerType *player_ptr;
19 std::tuple<int, int> calculate_chances();
20 int calculate_power(const int chance_good, const int chance_great);
21 int calculate_rolls(const int power);
22 void try_make_artifact(const int rolls);
23 bool set_fixed_artifact_generation_info();