diff options
| author | QAston <qaston@gmail.com> | 2011-07-12 06:34:57 +0200 |
|---|---|---|
| committer | QAston <qaston@gmail.com> | 2011-07-12 06:34:57 +0200 |
| commit | b253c844fcfcffb481345ad7d17ee92652e2019a (patch) | |
| tree | 3f49254e084fdc2fd247714045ed7c0584606780 /src | |
| parent | 145ff6638287a14984480c0c4c1c2e229552b379 (diff) | |
Core/Spells: Add ability check in one more place, to prevent other kind of spell reflection.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Spells/Spell.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 1830ba07a87..cd88e048537 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -529,7 +529,8 @@ m_caster(Caster), m_spellValue(new SpellValue(m_spellInfo)) // determine reflection m_canReflect = false; - if (m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && !IsAreaOfEffectSpell(m_spellInfo) && !(m_spellInfo->AttributesEx2 & SPELL_ATTR2_CANT_REFLECTED)) + // Patch 1.2 notes: Spell Reflection no longer reflects abilities + if (m_spellInfo->DmgClass == SPELL_DAMAGE_CLASS_MAGIC && !IsAreaOfEffectSpell(m_spellInfo) && !(m_spellInfo->AttributesEx2 & SPELL_ATTR2_CANT_REFLECTED) && !(m_spellInfo->Attributes & SPELL_ATTR0_ABILITY)) { for (int j = 0; j < MAX_SPELL_EFFECTS; ++j) { |
