From e2dbc2e53a375b7801d50cfeaebbe74a8b42a5ee Mon Sep 17 00:00:00 2001 From: click Date: Thu, 21 Oct 2010 21:05:29 +0200 Subject: Core/Spells: Fix a small proc-issue with hunter T10 set bonuses (Exploit Weakness) (original fix by Dr.Tenma) Comment issue #4362 From DBCs TargetA[0] is already set as TARGET_UNIT_PARTY_CASTER, which maps to TARGET_UNIT_CASTER, so it should be enough to explicitly target the casters pet in this case, ie. just doing spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; - feedback on this required. --HG-- branch : trunk --- src/server/game/Spells/SpellMgr.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index f18d53bc893..9d044b5fbc8 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3889,6 +3889,10 @@ void SpellMgr::LoadSpellCustomAttr() spellInfo->targetAuraSpell = 0; count++; break; + case 70728: // Exploit Weakness + spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; + count++; + break; case 71413: // Green Ooze Summon case 71414: // Orange Ooze Summon spellInfo->EffectImplicitTargetA[0] = TARGET_DEST_DEST; -- cgit v1.2.3