From 970405aca5593f2fa451818999c704126238e4e2 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 17 Oct 2009 22:51:00 -0700 Subject: [PATCH] *Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c7ec4527fd6..e321f8ddcab 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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