mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 15:42:21 +00:00
[Cleanup] Cleaning up Raid.cpp (#3125)
* [Cleanup] Cleanup Raid.cpp * cleanup * fix is_bot instances * bracket cleanup * bracket cleanup * rename variables in struct * fix for merge
This commit is contained in:
1 parent
2415645b86
commit
d6b954a4b9
33 files changed
+846
-779
No files matched your search
+1
-1
@@ -1200,7 +1200,7 @@ void Raid::SplitExp(const uint64 exp, Mob* other) {
|
||||
}
|
||||
|
||||
for (const auto& m : members) {
|
||||
if (m.member && !m.IsBot) {
|
||||
if (m.member && !m.is_bot) {
|
||||
const int32 diff = m.member->GetLevel() - highest_level;
|
||||
int32 max_diff = -(m.member->GetLevel() * 15 / 10 - m.member->GetLevel());
|
||||
|
||||
|
||||
Reference in new issue
Block a user