Core/Spells: fixed Cobra Shot generating less focus than intended

This commit is contained in:
Ovahlord committed 2019-09-25 17:09:03 +02:00
1 parent b3d81e08c1
commit e696acae1c
1 file changed
+1 -1
+1 -1
View File
@@ -214,7 +214,7 @@ class spell_hun_cobra_shot : public SpellScriptLoader
else if (caster->HasAura(SPELL_HUNTER_TERMINATION_R_1))
spellId = SPELL_HUNTER_TERMINATION_R_1;
uint32 amount = GetSpellInfo()->Effects[EFFECT_1].BasePoints;
uint32 amount = sSpellMgr->AssertSpellInfo(SPELL_HUNTER_GENERIC_ENERGIZE_FOCUS)->Effects[EFFECT_0].BasePoints;
if (Aura* terminationAura = caster->GetAura(spellId))
{
if (Unit* spellTarget = GetExplTargetUnit())