Core/Misc: Fix a memory leak in spell_dbc

This commit is contained in:
Shocker
2011-05-13 12:17:21 +03:00
parent f6e357902f
commit 45f7aa1fd6
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -10458,7 +10458,7 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
}
// Drain Soul - increased damage for targets under 25 % HP
if (spellProto->SpellFamilyFlags[0] & 0x00004000)
if (HasAura(200000))
if (HasAura(100001))
DoneTotalMod *= 4;
// Shadow Bite (15% increase from each dot)
if (spellProto->SpellFamilyFlags[1] & 0x00400000 && isPet())