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:
@@ -877,11 +877,10 @@ class spell_sha_item_lightning_shield_trigger : public AuraScript
|
|||||||
{
|
{
|
||||||
return ValidateSpellInfo({ SPELL_SHAMAN_ITEM_MANA_SURGE });
|
return ValidateSpellInfo({ SPELL_SHAMAN_ITEM_MANA_SURGE });
|
||||||
}
|
}
|
||||||
|
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& eventInfo)
|
||||||
void HandleProc(AuraEffect const* aurEff, ProcEventInfo& /*eventInfo*/)
|
|
||||||
{
|
{
|
||||||
PreventDefaultAction();
|
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
|
void Register() override
|
||||||
|
|||||||
Reference in New Issue
Block a user