Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
This commit is contained in:
@@ -7077,8 +7077,8 @@ namespace Game.Spells
|
||||
|
||||
if (target.GetGUID() != corpse.GetOwnerGUID())
|
||||
return false;
|
||||
|
||||
if (!corpse.HasDynamicFlag(UnitDynFlags.Lootable))
|
||||
|
||||
if (!corpse.HasCorpseDynamicFlag(CorpseDynFlags.Lootable))
|
||||
return false;
|
||||
|
||||
if (!corpse.IsWithinLOSInMap(m_caster, LineOfSightChecks.All, ModelIgnoreFlags.M2))
|
||||
|
||||
Reference in New Issue
Block a user