Merge pull request #14986 from robinsch/chimeraShot

Scripts/Spells: Hunter's Chimera Shot - Serpent damage
This commit is contained in:
mik1893 committed 2015-07-14 16:47:24 +02:00
commit 2295dc75e5
1 file changed
+2
@@ -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));
}