Skip to content

Commit

Permalink
Relations Stage 2 Rollout: Migrate from IsHostileTo in Soulshatter dummy
Browse files Browse the repository at this point in the history
May be excessive. To be reviewed later.
  • Loading branch information
Warlockbugs committed Nov 8, 2017
1 parent 4849fbe commit 6e1b85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/SpellEffects.cpp
Expand Up @@ -1443,7 +1443,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
}
case 29858: // Soulshatter
{
if (unitTarget && unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->IsHostileTo(m_caster))
if (unitTarget && unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->CanAttack(m_caster))
m_caster->CastSpell(unitTarget, 32835, TRIGGERED_OLD_TRIGGERED);

return;
Expand Down

0 comments on commit 6e1b85a

Please sign in to comment.