Merge pull request #10874 from zorix/PR1

Core/Script:
This commit is contained in:
blub
2013-09-18 14:37:00 -07:00

View File

@@ -112,7 +112,7 @@ class spell_warl_aftermath : public SpellScriptLoader
{
PreventDefaultAction();
if (roll_chance_i(aurEff->GetAmount()))
if (eventInfo.GetProcTarget() && roll_chance_i(aurEff->GetAmount()))
GetTarget()->CastSpell(eventInfo.GetProcTarget(), SPELL_WARLOCK_AFTERMATH_STUN, true, NULL, aurEff);
}
}