aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <none@none>2010-10-21 21:05:29 +0200
committerclick <none@none>2010-10-21 21:05:29 +0200
commite2dbc2e53a375b7801d50cfeaebbe74a8b42a5ee (patch)
treeec92909a661e9460161c89750d90cd48805a9cdd
parent34eed2de3f56c5498bc43d450de6e0e2c4692177 (diff)
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
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp4
1 files changed, 4 insertions, 0 deletions
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;