Core/Spell: Hand Of Reckoning no damage when taunting players pet (#17518)

* Core/Spell: Hand Of Reckoning no damage when taunting players pet

By Effec7, closes #9068
This commit is contained in:
Aokromes
2016-12-01 15:48:13 +01:00
committed by ariel-
parent d1765d9284
commit 190fdfdf63

View File

@@ -3122,7 +3122,7 @@ void Spell::EffectTaunt(SpellEffIndex /*effIndex*/)
return;
}
if (m_spellInfo->Id == 62124)
if (m_spellInfo->Id == 62124 && (!unitTarget->IsPet() || !unitTarget->GetOwnerGUID().IsPlayer()))
m_caster->CastSpell(unitTarget, 67485, true);
if (!unitTarget->getThreatManager().getOnlineContainer().empty())