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:
parent
91da92f33f
commit
fe206c7138
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user