Core/Instances: Kill instance_encounters table, it is no longer neccessary

Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
This commit is contained in:
hondacrx
2024-01-29 15:22:25 -05:00
parent c36e0d7f73
commit d96f7fb821
9 changed files with 45 additions and 203 deletions
@@ -84,13 +84,6 @@ namespace Game.Entities
Creature victim = _victim.ToCreature();
if (victim != null)
{
if (victim.IsDungeonBoss())
{
InstanceScript instance = _victim.GetInstanceScript();
if (instance != null)
instance.UpdateEncounterStateForKilledCreature(_victim.GetEntry(), _victim);
}
if (!_killers.Empty())
{
uint guildId = victim.GetMap().GetOwnerGuildId();