Adjustment

This commit is contained in:
Valorith 2023-02-10 23:43:05 -05:00 committed by Akkadius
parent c9b3facf03
commit 8cce781340

View File

@ -805,14 +805,14 @@ void Client::SetEXP(uint64 set_exp, uint64 set_aaxp, bool isrezzexp) {
}
if (m_pp.exp != set_exp) {
const auto xp_value = set_exp - m_pp.exp;
const auto export_string = fmt::format("{}", xp_value);
const auto exp_value = set_exp - m_pp.exp;
const auto export_string = fmt::format("{}", exp_value);
parse->EventPlayer(EVENT_EXP_GAIN, this, export_string, 0);
}
if (m_pp.expAA != set_aaxp) {
const auto aaxp_value = set_aaxp - m_pp.expAA;
const auto export_string = fmt::format("{}",aaxp_value);
const auto aa_exp_value = set_aaxp - m_pp.expAA;
const auto export_string = fmt::format("{}", aa_exp_value);
parse->EventPlayer(EVENT_AA_EXP_GAIN, this, export_string, 0);
}