Core/Spells: Fix Shadow Bite damage

Closes #591 & #1220 & #1401
This commit is contained in:
tobmaps
2011-05-12 18:34:29 +07:00
parent 15632fc81a
commit 88633a0be9
2 changed files with 4 additions and 3 deletions
+4
View File
@@ -10445,6 +10445,10 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
if (spellProto->SpellFamilyFlags[0] & 0x00004000)
if (HasAura(200000))
DoneTotalMod *= 4;
// Shadow Bite (15% increase from each dot)
if (spellProto->SpellFamilyFlags[1] & 0x00400000 && isPet())
if (uint8 count = pVictim->GetDoTsByCaster(GetOwnerGUID()))
AddPctN(DoneTotalMod, 15 * count);
break;
case SPELLFAMILY_HUNTER:
// Steady Shot