mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Adjustment
This commit is contained in:
+4
-4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user