mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Merge some Improved Blood Presence code from MaNGOS, may fix m_spellModTakingSpell 53168 crash.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user