mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-12 09:52:34 +00:00
Adjustment
This commit is contained in:
parent
c9b3facf03
commit
8cce781340
@ -805,14 +805,14 @@ void Client::SetEXP(uint64 set_exp, uint64 set_aaxp, bool isrezzexp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_pp.exp != set_exp) {
|
if (m_pp.exp != set_exp) {
|
||||||
const auto xp_value = set_exp - m_pp.exp;
|
const auto exp_value = set_exp - m_pp.exp;
|
||||||
const auto export_string = fmt::format("{}", xp_value);
|
const auto export_string = fmt::format("{}", exp_value);
|
||||||
parse->EventPlayer(EVENT_EXP_GAIN, this, export_string, 0);
|
parse->EventPlayer(EVENT_EXP_GAIN, this, export_string, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_pp.expAA != set_aaxp) {
|
if (m_pp.expAA != set_aaxp) {
|
||||||
const auto aaxp_value = set_aaxp - m_pp.expAA;
|
const auto aa_exp_value = set_aaxp - m_pp.expAA;
|
||||||
const auto export_string = fmt::format("{}",aaxp_value);
|
const auto export_string = fmt::format("{}", aa_exp_value);
|
||||||
parse->EventPlayer(EVENT_AA_EXP_GAIN, this, export_string, 0);
|
parse->EventPlayer(EVENT_AA_EXP_GAIN, this, export_string, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user