Core/Loot: Implemented personal loot and tag sharing for non-boss loot

Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2)
This commit is contained in:
hondacrx
2022-10-18 16:07:00 -04:00
parent e78c71784c
commit 9b62b83984
23 changed files with 298 additions and 340 deletions
+1 -1
View File
@@ -1855,7 +1855,7 @@ namespace Game.BattleGrounds
void RewardXPAtKill(Player killer, Player victim)
{
if (WorldConfig.GetBoolValue(WorldCfg.BgXpForKill) && killer && victim)
killer.RewardPlayerAndGroupAtKill(victim, true);
new KillRewarder(new[] { killer }, victim, true).Reward();
}
public uint GetTeamScore(int teamIndex)