mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Bug Fix] Minor adjustment to formula calc position to fix modifier bug. (#3565)
* Fix logic error in recent PR * Adjust formula position
This commit is contained in:
parent
5d133a2b47
commit
c5fa7e28c8
@ -1184,6 +1184,8 @@ void Raid::SplitExp(const uint64 exp, Mob* other) {
|
||||
raid_experience = static_cast<uint64>(static_cast<float>(raid_experience) * (1.0f - RuleR(Character, RaidExpMultiplier)));
|
||||
}
|
||||
|
||||
raid_experience = static_cast<uint64>(static_cast<float>(raid_experience) * RuleR(Character, FinalRaidExpMultiplier));
|
||||
|
||||
const auto consider_level = Mob::GetLevelCon(highest_level, other->GetLevel());
|
||||
if (consider_level == CON_GRAY) {
|
||||
return;
|
||||
@ -1210,8 +1212,6 @@ void Raid::SplitExp(const uint64 exp, Mob* other) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
raid_experience = static_cast<uint64>(static_cast<float>(raid_experience) * RuleR(Character, FinalRaidExpMultiplier));
|
||||
}
|
||||
|
||||
void Client::SetLeadershipEXP(uint64 group_exp, uint64 raid_exp) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user