Add support for spell 28352

Spell 28352 (Breath of Sargeras) is cast on all enemy targets in range
and now properly triggers the Breath of Sargeras (spell 28342)
individual debuff
This commit is contained in:
cala 2016-07-07 21:36:29 +01:00 committed by Antz
parent 7e3458df3f
commit d57d44fe27

View File

@ -3698,6 +3698,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget, 27699, true); unitTarget->CastSpell(unitTarget, 27699, true);
return; return;
} }
case 28352: // Breath of Sargeras
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
{ return; }
unitTarget->CastSpell(unitTarget, 28342, true);
return;
}
case 28374: // Decimate (Naxxramas: Gluth) case 28374: // Decimate (Naxxramas: Gluth)
{ {
if (!unitTarget) if (!unitTarget)