return;
}
- this->gain_exp_from_hex();
+ this->gain_exp();
for (auto spell : this->casting_spells) {
exe_spell(this->player_ptr, REALM_HEX, spell, SPELL_CONTNUATION);
}
return need_mana;
}
-void SpellHex::gain_exp_from_hex()
+void SpellHex::gain_exp()
{
for (auto spell : this->casting_spells) {
if (!this->is_spelling_specific(spell)) {
SpellHexRevengeType SpellHex::get_revenge_type() const
{
- return static_cast <SpellHexRevengeType>(this->player_ptr->magic_num2[1]);
+ return static_cast<SpellHexRevengeType>(this->player_ptr->magic_num2[1]);
}
void SpellHex::set_revenge_type(SpellHexRevengeType type)
bool process_mana_cost(const bool need_restart);
bool check_restart();
int calc_need_mana();
- void gain_exp_from_hex();
+ void gain_exp();
bool gain_exp_skilled(const int spell);
bool gain_exp_expert(const int spell);
void gain_exp_master(const int spell);