fix(Scripts/Spells): Corrected shaman 8/8 T2 set bonus damage proc (#21432)

Co-authored-by: pavel_k <pavel_k@mail.com>
This commit is contained in:
demetrzz 2025-02-15 14:02:27 +03:00 committed by GitHub
parent 91da92f33f
commit fe206c7138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -877,11 +877,10 @@ class spell_sha_item_lightning_shield_trigger : public AuraScript
{
return ValidateSpellInfo({ SPELL_SHAMAN_ITEM_MANA_SURGE });
}
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
{
PreventDefaultAction();
GetTarget()->CastSpell(GetTarget(), SPELL_SHAMAN_ITEM_LIGHTNING_SHIELD_DAMAGE, true, nullptr, aurEff);
GetTarget()->CastSpell(eventInfo.GetProcTarget(), SPELL_SHAMAN_ITEM_LIGHTNING_SHIELD_DAMAGE, true, nullptr, aurEff);
}
void Register() override