*Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash.

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 22:51:00 -07:00
parent e2555fe74a
commit 970405aca5

View File

@@ -6773,7 +6773,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Improved Blood Presence
if (dummySpell->SpellIconID == 2636)
{
if (GetTypeId() != TYPEID_PLAYER)
if (GetTypeId() != TYPEID_PLAYER || !((Player*)this)->isHonorOrXPTarget(pVictim))
return false;
basepoints0 = triggerAmount * damage / 100;
// Blood Aura