Misc fixes
This commit is contained in:
@@ -3026,6 +3026,7 @@ namespace Game.Entities
|
||||
{
|
||||
m_shouldReacquireTarget = false;
|
||||
m_suppressedTarget = ObjectGuid.Empty;
|
||||
SetTarget(ObjectGuid.Empty);
|
||||
m_suppressedOrientation = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,9 @@ namespace Game.Entities
|
||||
// Register the pet for guid lookup
|
||||
base.AddToWorld();
|
||||
InitializeAI();
|
||||
ZoneScript zoneScript = GetZoneScript() != null ? GetZoneScript() : GetInstanceScript();
|
||||
if (zoneScript != null)
|
||||
zoneScript.OnCreatureCreate(this);
|
||||
}
|
||||
|
||||
// Prevent stuck pets when zoning. Pets default to "follow" when added to world
|
||||
|
||||
@@ -4251,6 +4251,12 @@ namespace Game.Entities
|
||||
spellInfo.ProcChance = 10;
|
||||
});
|
||||
|
||||
// Baron Rivendare (Stratholme) - Unholy Aura
|
||||
ApplySpellFix(new [] { 17466, 17467 }, spellInfo =>
|
||||
{
|
||||
spellInfo.AttributesEx3 |= SpellAttr3.NoInitialAggro;
|
||||
});
|
||||
|
||||
//
|
||||
// FIRELANDS SPELLS
|
||||
//
|
||||
|
||||
@@ -404,6 +404,7 @@ namespace Game
|
||||
{
|
||||
Fine = 0,
|
||||
Fog = 1, // Used in some instance encounters.
|
||||
Drizzle = 2,
|
||||
LightRain = 3,
|
||||
MediumRain = 4,
|
||||
HeavyRain = 5,
|
||||
|
||||
Reference in New Issue
Block a user