Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe63cd3dbb66f4fda743858db4284a24bc2bd400)
This commit is contained in:
@@ -4262,17 +4262,6 @@ namespace Game.Entities
|
||||
return val;
|
||||
}
|
||||
|
||||
void UpdateLastDamagedTime(SpellInfo spellProto)
|
||||
{
|
||||
if (!IsTypeId(TypeId.Unit) || IsPet())
|
||||
return;
|
||||
|
||||
if (spellProto != null && spellProto.HasAura(Difficulty.None, AuraType.DamageShield))
|
||||
return;
|
||||
|
||||
SetLastDamagedTime(Time.UnixTime);
|
||||
}
|
||||
|
||||
public bool IsHighestExclusiveAura(Aura aura, bool removeOtherAuraApplications = false)
|
||||
{
|
||||
foreach (AuraEffect aurEff in aura.GetAuraEffects())
|
||||
|
||||
Reference in New Issue
Block a user