aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-23 14:54:21 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-23 14:54:21 +0200
commit97608aeff754ef94b73b868437d8f41ccace24be (patch)
treeb57041df391657e4964f2d9eb759e7b47fbd7741
parent193d71f158d87a875d16020323483c7484198d7f (diff)
Core/Spells: Fix hunter talent "Kindred Spirits" for 4.3.4
-rw-r--r--sql/updates/world/2013_07_23_02_world_spell_pet_auras_434.sql4
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp2
2 files changed, 5 insertions, 1 deletions
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);
}