aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}