Core/Spells: Breaking news: Spell Reflection cannot reflect abilities (patch 1.2 change)
This commit is contained in:
@@ -10166,6 +10166,9 @@ Unit* Unit::SelectMagnetTarget(Unit* victim, SpellEntry const *spellInfo)
|
|||||||
// Magic case
|
// Magic case
|
||||||
if (spellInfo && (spellInfo->DmgClass == SPELL_DAMAGE_CLASS_NONE || spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC))
|
if (spellInfo && (spellInfo->DmgClass == SPELL_DAMAGE_CLASS_NONE || spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC))
|
||||||
{
|
{
|
||||||
|
// Patch 1.2 notes: Spell Reflection no longer reflects abilities
|
||||||
|
if (spellInfo->Attributes & SPELL_ATTR0_ABILITY)
|
||||||
|
return victim;
|
||||||
// I am not sure if this should be redirected.
|
// I am not sure if this should be redirected.
|
||||||
if (spellInfo->DmgClass == SPELL_DAMAGE_CLASS_NONE)
|
if (spellInfo->DmgClass == SPELL_DAMAGE_CLASS_NONE)
|
||||||
return victim;
|
return victim;
|
||||||
|
|||||||
Reference in New Issue
Block a user