DB/Spells: removed focus spell casts for steady shot and cobra shot from spell_linked_spell

This commit is contained in:
Ovalord committed 2017-12-22 23:47:55 +01:00
1 parent 7248c00f59
commit 6e580ad477
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -1026,7 +1026,10 @@ class spell_hun_steady_shot : public SpellScriptLoader
else if (caster->HasAura(SPELL_HUNTER_TERMINATION_R_1))
spellId = SPELL_HUNTER_TERMINATION_R_1;
uint32 amount = GetSpellInfo()->Effects[EFFECT_0].BasePoints;
uint32 amount = 0;
if (SpellInfo const* focusSpell = sSpellMgr->GetSpellInfo(SPELL_HUNTER_STEADY_SHOT_FOCUS))
amount = focusSpell->Effects[EFFECT_0].BasePoints;
if (Aura* terminationAura = caster->GetAura(spellId))
{
if (Unit* spellTarget = GetExplTargetUnit())