mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
DB/Spells: removed focus spell casts for steady shot and cobra shot from spell_linked_spell
This commit is contained in:
1
sql/updates/world/4.3.4/custom_2017_12_22_05_world.sql
Normal file
1
sql/updates/world/4.3.4/custom_2017_12_22_05_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (56641, 77767);
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user