diff options
author | QAston <qaston@gmail.com> | 2011-07-11 22:54:18 +0200 |
---|---|---|
committer | QAston <qaston@gmail.com> | 2011-07-11 22:54:18 +0200 |
commit | 58c63f4cc5715c28ba992cd7bde344b7de647c0a (patch) | |
tree | eda99d60eef5864115c3395a69213539278165c7 /src | |
parent | a233e7b9d81329b17548188e1fe0d9708605fd53 (diff) |
Core/Spells: Breaking news: Spell Reflection cannot reflect abilities (patch 1.2 change)
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index c8e50740bdc..56eadc923f2 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -10166,6 +10166,9 @@ Unit* Unit::SelectMagnetTarget(Unit* victim, SpellEntry const *spellInfo) // Magic case 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. if (spellInfo->DmgClass == SPELL_DAMAGE_CLASS_NONE) return victim; |