Fixes alot of little errors.

This commit is contained in:
hondacrx
2024-03-15 15:54:45 -04:00
parent b721aee6e5
commit 88f24c7791
11 changed files with 29 additions and 26 deletions
+2 -2
View File
@@ -1031,10 +1031,10 @@ namespace Game.Entities
{
Log.outDebug(LogFilter.Unit, "DealDamageNotPlayer");
if (creature.IsPet())
if (!creature.IsPet())
{
// must be after setDeathState which resets dynamic flags
if (creature.IsFullyLooted())
if (!creature.IsFullyLooted())
creature.SetDynamicFlag(UnitDynFlags.Lootable);
else
creature.AllLootRemovedFromCorpse();