From f75a8b9719179e56e31731220b489f4378d72217 Mon Sep 17 00:00:00 2001 From: H0zen Date: Fri, 12 Feb 2016 16:13:28 +0200 Subject: [PATCH] Fix false error display - Bloodthirst triggers - Bloodthirst and Mortal Strike have same SpellFamilyFlags - supress displaying "Spell::EffectSchoolDMG: Spell #id not handled in BTAura" - this fix applies to ZERO only! --- src/game/WorldHandlers/Spell.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/WorldHandlers/Spell.cpp b/src/game/WorldHandlers/Spell.cpp index b391a455..d95dd064 100644 --- a/src/game/WorldHandlers/Spell.cpp +++ b/src/game/WorldHandlers/Spell.cpp @@ -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)