diff options
author | mik1893 <michele.roscelli@gmail.com> | 2015-07-14 16:47:24 +0200 |
---|---|---|
committer | mik1893 <michele.roscelli@gmail.com> | 2015-07-14 16:47:24 +0200 |
commit | 2295dc75e5c840ecd6ca6888e8bffb4c1cd026b3 (patch) | |
tree | 75bf35fc3cf6b5d6875d36d3f50d146fb3bec0af /src | |
parent | ef4918d939184a3b8d672c400a1e4bcafee6524e (diff) | |
parent | b57539d2f20bec76a9cdd66483d511866c5601bd (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.cpp | 2 |
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)); } |