Core/Guilds: Separate guild rank id from guild rank order

Port From (https://github.com/TrinityCore/TrinityCore/commit/0d3235f56969a6e414071edbb669ac63b4398958)
This commit is contained in:
hondacrx
2022-02-25 10:40:47 -05:00
parent f66e622f1d
commit 91c2fedb6e
8 changed files with 191 additions and 122 deletions
+1 -1
View File
@@ -917,7 +917,7 @@ namespace Game.Scripting
// not enough injured units
// fill remainder with full health units
targets.AddRange(lookupPlayers[true]);
targets.AddRange(lookupPlayers[false].Shuffle()));
targets.AddRange(lookupPlayers[false].Shuffle());
}
else if (lookupPlayers[true].Count() > maxTargets)
{