aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormik1893 <michele.roscelli@gmail.com>2015-07-14 16:47:24 +0200
committermik1893 <michele.roscelli@gmail.com>2015-07-14 16:47:24 +0200
commit2295dc75e5c840ecd6ca6888e8bffb4c1cd026b3 (patch)
tree75bf35fc3cf6b5d6875d36d3f50d146fb3bec0af /src
parentef4918d939184a3b8d672c400a1e4bcafee6524e (diff)
parentb57539d2f20bec76a9cdd66483d511866c5601bd (diff)
Merge pull request #14986 from robinsch/chimeraShot
Scripts/Spells: Hunter's Chimera Shot - Serpent damage
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
index 75df264360f..450dade68f8 100644
--- a/src/server/scripts/Spells/spell_hunter.cpp
+++ b/src/server/scripts/Spells/spell_hunter.cpp
@@ -213,6 +213,8 @@ class spell_hun_chimera_shot : public SpellScriptLoader
basePoint = (aurEff->GetAmount() + aurEff->GetBonusAmount()) * aurEff->GetDonePct();
ApplyPct(basePoint, TickCount * 40);
basePoint = unitTarget->SpellDamageBonusTaken(caster, aura->GetSpellInfo(), basePoint, DOT, aura->GetStackAmount());
+ if (Player* modOwner = caster->GetSpellModOwner())
+ modOwner->ApplySpellMod(aura->GetSpellInfo()->Id, SPELLMOD_DOT, basePoint);
aurEff->SetBonusAmount(caster->SpellDamageBonusDone(unitTarget, aurEff->GetSpellInfo(), 0, DOT));
}