diff options
| author | megamage <none@none> | 2008-12-02 20:53:06 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-02 20:53:06 -0600 |
| commit | 69f973bad94bd4b5c2b7c649057b071ad0906093 (patch) | |
| tree | 00e7d001e815f2aede3936e059d86f7ab8df19b4 /src | |
| parent | 1222cc062244503a0dd93a72b9746858926eda31 (diff) | |
*Do not let soulshatter aggro not-aggroed creatures.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellEffects.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 3dd40577996..809c4cab557 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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 |
