Scripts/Spells: Fixed possible crash in From Darkness Comes Light

* 863a005ef2 followup
This commit is contained in:
ModoX
2024-02-01 11:11:44 +01:00
parent 71f31c3279
commit a32af01495

View File

@@ -1140,7 +1140,7 @@ class spell_pri_from_darkness_comes_light : public AuraScript
{
void HandleEffectProc(AuraEffect* aurEff, ProcEventInfo& /*eventInfo*/)
{
GetCaster()->CastSpell(GetCaster(), SPELL_PRIEST_FROM_DARKNESS_COMES_LIGHT_AURA, aurEff);
GetTarget()->CastSpell(GetTarget(), SPELL_PRIEST_FROM_DARKNESS_COMES_LIGHT_AURA, aurEff);
}
void Register() override