diff options
| author | maximius <none@none> | 2009-10-17 22:51:00 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-10-17 22:51:00 -0700 |
| commit | 970405aca5593f2fa451818999c704126238e4e2 (patch) | |
| tree | 8352ce818d3c00c2415c5fb05fddf523f275abe0 /src | |
| parent | e2555fe74a786a8785b6052fb7e6d7a003223046 (diff) | |
*Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
