Core/Loot: Initial support for personal loot in gameobjects (non-instanced content)

Port From (https://github.com/TrinityCore/TrinityCore/commit/641390dca2329041a6ef513c2c9f7b28d42d2762)
This commit is contained in:
hondacrx
2022-10-18 14:22:16 -04:00
parent 80009bfa8d
commit e78c71784c
6 changed files with 103 additions and 32 deletions
+1 -3
View File
@@ -296,10 +296,8 @@ namespace Game
else
go.SetLootState(LootState.Ready);
}
else
else if (go.IsFullyLooted())
go.SetLootState(LootState.JustDeactivated);
loot.Clear();
}
else
{