mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Core/Spells: fixed Cobra Shot generating less focus than intended
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user