Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Core/Spells: Used correct implementation for checking if a spell effe…

…ct targets an area.
  • Loading branch information...
commit b23ff228a43e375712e3a2ed3fc6bcd5ff5fcb74 1 parent 5406a0f
@kandera kandera authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/server/game/Spells/Spell.cpp
View
2  src/server/game/Spells/Spell.cpp
@@ -4942,7 +4942,7 @@ SpellCastResult Spell::CheckCast(bool strict)
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_DISPEL)
{
- if (m_spellInfo->Effects[i].TargetA.IsArea() || m_spellInfo->Effects[i].TargetB.IsArea())
+ if (m_spellInfo->Effects[i].IsTargetingArea())
{
hasDispellableAura = true;
break;

3 comments on commit b23ff22

@johndays

I think this commit bugged shield slam!

EDIT: Not this, but the previous commits. But nice work ;)

@Vasago

Confirmed Shield Slam ability is now bugged!

@Amit86

opened a new issue about this #5729

Please sign in to comment.
Something went wrong with that request. Please try again.