Scripts/Spells: Fix wrong proc target for spell 23552

Closes #30697
This commit is contained in:
Shauren
2025-02-18 16:51:32 +01:00
parent 81ab02d6f8
commit b32ff0c8b6

View File

@@ -1007,10 +1007,10 @@ class spell_sha_item_lightning_shield_trigger : public AuraScript
return ValidateSpellInfo({ SPELL_SHAMAN_ITEM_LIGHTNING_SHIELD_DAMAGE });
}
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
{
PreventDefaultAction();
GetTarget()->CastSpell(GetTarget(), SPELL_SHAMAN_ITEM_LIGHTNING_SHIELD_DAMAGE, aurEff);
eventInfo.GetActionTarget()->CastSpell(eventInfo.GetActor(), SPELL_SHAMAN_ITEM_LIGHTNING_SHIELD_DAMAGE, aurEff);
}
void Register() override