aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 9b176683e7c..31d548c5254 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -474,7 +474,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
damage += int32(damage*0.25f);
}
// Conflagrate - consumes immolate
- if (m_spellInfo->TargetAuraState == AURA_STATE_IMMOLATE)
+ else if (m_spellInfo->TargetAuraState == AURA_STATE_IMMOLATE)
{
// Glyph of Conflagrate
if (m_caster->HasAura(56235))
@@ -491,6 +491,15 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
}
}
}
+ // Shadow Bite
+ else if (m_spellInfo->SpellFamilyFlags[1] & 0x400000)
+ {
+ if (m_caster->GetTypeId() == TYPEID_UNIT && ((Creature *)m_caster)->isPet())
+ {
+ // Get DoTs on target by owner (5% increase by dot)
+ damage += 5 * unitTarget->GetDoTsByCaster(m_caster->GetOwnerGUID()) / 100;
+ }
+ }
break;
}
case SPELLFAMILY_PRIEST: