*Fix Glyph of Typhoon

*Fix Glyph of Thunderstorm

--HG--
branch : trunk
This commit is contained in:
Nevan
2009-08-18 00:35:32 +02:00
parent b91be086f0
commit 14022b619f
+16
View File
@@ -6268,6 +6268,22 @@ void Spell::EffectKnockBack(uint32 i)
if(!unitTarget) if(!unitTarget)
return; return;
// Typhoon
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_DRUID && m_spellInfo->SpellFamilyFlags[1] & 0x01000000)
{
// Glyph of Typhoon
if (m_caster->HasAura(62135))
return;
}
// Thunderstorm
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellFamilyFlags[1] & 0x00002000)
{
// Glyph of Thunderstorm
if (m_caster->HasAura(62132))
return;
}
float x, y; float x, y;
if(m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION) if(m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION)
{ {