mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11571] Fixed P2 Hunter T10 effects (limit to owner and pet only)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4d5e6126fe
commit
f45b03f256
2 changed files with 4 additions and 3 deletions
|
|
@ -2038,9 +2038,10 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
||||||
{
|
{
|
||||||
switch(m_spellInfo->Id)
|
switch(m_spellInfo->Id)
|
||||||
{
|
{
|
||||||
case 24604: // Furious Howl
|
case 24604: // Furious Howl, from 3.1.0
|
||||||
|
case 70728: // Exploit Weakness
|
||||||
{
|
{
|
||||||
// from 3.1.0 only affect pet and owner
|
// only affect pet and owner
|
||||||
targetUnitMap.push_back(m_caster);
|
targetUnitMap.push_back(m_caster);
|
||||||
if (Unit *owner = m_caster->GetOwner())
|
if (Unit *owner = m_caster->GetOwner())
|
||||||
targetUnitMap.push_back(owner);
|
targetUnitMap.push_back(owner);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11570"
|
#define REVISION_NR "11571"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue