diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2016-10-17 04:21:32 -0300 |
|---|---|---|
| committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-10-03 21:14:28 +0200 |
| commit | caf47b846f9a7ef667f86757c06b162081b44ae6 (patch) | |
| tree | b9d220688b9bfd730578556cf5d6146c02526a18 /src | |
| parent | 702d82317982bad157d8333722449ef3c2b9e2d8 (diff) | |
Core/Spells: mark Arcane Missiles aura as negative. Was downranking the spell when targetting low level mobs due to effect 1 flagged as possitive.
Closes #12152
(cherry picked from commit 2b9f807fd94db40568baa3d780ba7c218cccdd69)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 27049feb3b5..1ad9ee5fd19 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3522,6 +3522,11 @@ bool SpellInfo::_IsPositiveEffect(uint32 effIndex, bool deep) const break; } break; + case SPELLFAMILY_MAGE: + // Arcane Missiles + if (SpellFamilyFlags[0] == 0x00000800) + return false; + break; case SPELLFAMILY_PRIEST: switch (Id) { |
