*Do not let soulshatter aggro not-aggroed creatures.
--HG-- branch : trunk
This commit is contained in:
@@ -929,7 +929,8 @@ void Spell::EffectDummy(uint32 i)
|
||||
return;
|
||||
}
|
||||
case 29858: // Soulshatter
|
||||
if (unitTarget && unitTarget->GetTypeId() == TYPEID_UNIT && unitTarget->IsHostileTo(m_caster))
|
||||
if (unitTarget && unitTarget->CanHaveThreatList()
|
||||
&& unitTarget->getThreatManager().getThreat(m_caster) > 0.0f)
|
||||
m_caster->CastSpell(unitTarget,32835,true);
|
||||
return;
|
||||
case 30458: // Nigh Invulnerability
|
||||
|
||||
Reference in New Issue
Block a user