From 97608aeff754ef94b73b868437d8f41ccace24be Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Tue, 23 Jul 2013 14:54:21 +0200 Subject: [PATCH] Core/Spells: Fix hunter talent "Kindred Spirits" for 4.3.4 --- sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql | 4 ++++ src/server/scripts/Spells/spell_hunter.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql diff --git a/sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql b/sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql new file mode 100644 index 00000000000..d8786e9bc0e --- /dev/null +++ b/sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql @@ -0,0 +1,4 @@ +DELETE FROM `spell_pet_auras WHERE `spell` IN (56314,56315); +INSERT INTO `spell_pet_auras` (`spell`, `effectId`, `pet`, `aura`) VALUES +(56314, 0, 0, 88680), +(56315 , 0, 0, 88680); diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp index 7c4d3ca2208..61612c7d9e7 100644 --- a/src/server/scripts/Spells/spell_hunter.cpp +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -173,7 +173,7 @@ class spell_hun_chimera_shot : public SpellScriptLoader { GetCaster()->CastSpell(GetCaster(), SPELL_HUNTER_CHIMERA_SHOT_HEAL, true); - if (Aura* aur = GetHitUnit()->GetAura(SPELL_HUNTER_SERPENT_STING)) + if (Aura* aur = GetHitUnit()->GetAura(SPELL_HUNTER_SERPENT_STING, GetCaster()->GetGUID())) aur->SetDuration(aur->GetSpellInfo()->GetMaxDuration(), true); }