Core/AI: Remove code that removed UNIT_DYNFLAG_LOOTABLE from possessed units
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d548c34a961f4dd5e1a831e0a414970a4abff8c)
This commit is contained in:
@@ -68,13 +68,6 @@ namespace Game.AI
|
||||
me.RemoveDynamicFlag(UnitDynFlags.Lootable);
|
||||
}
|
||||
|
||||
public override void KilledUnit(Unit victim)
|
||||
{
|
||||
// We killed a creature, disable victim's loot
|
||||
if (victim.IsTypeId(TypeId.Unit))
|
||||
me.RemoveDynamicFlag(UnitDynFlags.Lootable);
|
||||
}
|
||||
|
||||
public override void MoveInLineOfSight(Unit who) { }
|
||||
|
||||
public override void JustEnteredCombat(Unit who)
|
||||
|
||||
Reference in New Issue
Block a user