Merge pull request #75 from H0zen/develop21

Fix wrong error display - Bloodthirst triggers
This commit is contained in:
Antz 2016-02-12 14:55:32 +00:00
commit 57b02e2e59

View File

@ -1070,7 +1070,9 @@ void Spell::DoAllEffectOnTarget(TargetInfo* target)
caster->DealSpellDamage(&damageInfo, true);
// Bloodthirst
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000002000000))
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARRIOR &&
m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000002000000) &&
m_spellInfo->SpellIconID == 38)
{
uint32 BTAura = 0;
switch (m_spellInfo->Id)