Misc fixes
This commit is contained in:
@@ -1302,10 +1302,6 @@ namespace Game.Spells
|
||||
case SpellFamilyNames.Generic:
|
||||
switch (GetId())
|
||||
{
|
||||
case 32474: // Buffeting Winds of Susurrus
|
||||
if (target.IsTypeId(TypeId.Player))
|
||||
target.ToPlayer().ActivateTaxiPathTo(506, GetId());
|
||||
break;
|
||||
case 33572: // Gronn Lord's Grasp, becomes stoned
|
||||
if (GetStackAmount() >= 5 && !target.HasAura(33652))
|
||||
target.CastSpell(target, 33652, new CastSpellExtraArgs(TriggerCastFlags.FullMask).SetOriginalCastId(GetCastId()));
|
||||
|
||||
@@ -515,7 +515,7 @@ namespace Game.Spells
|
||||
|
||||
// Update serverside orientation of tracking channeled auras on periodic update ticks
|
||||
// exclude players because can turn during channeling and shouldn't desync orientation client/server
|
||||
if (caster != null && !caster.IsPlayer() && m_spellInfo.IsChanneled() && m_spellInfo.HasAttribute(SpellAttr1.ChannelTrackTarget) && caster.m_unitData.ChannelObjects.Size())
|
||||
if (caster != null && !caster.IsPlayer() && m_spellInfo.IsChanneled() && m_spellInfo.HasAttribute(SpellAttr1.ChannelTrackTarget) && caster.m_unitData.ChannelObjects.Size() != 0)
|
||||
{
|
||||
ObjectGuid channelGuid = caster.m_unitData.ChannelObjects[0];
|
||||
if (channelGuid != caster.GetGUID())
|
||||
|
||||
Reference in New Issue
Block a user