fix(Core/Unit): Petrified Lichen Guard effect (#14436)

Co-authored-by: NinjaSoftworks <121171014+NinjaSoftworks@users.noreply.github.com>
This commit is contained in:
NinjaPleezAC
2023-01-26 11:58:12 -08:00
committed by GitHub
parent aeed96f3b7
commit 716a822b48
2 changed files with 2 additions and 2 deletions

View File

@@ -9290,7 +9290,7 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
case SPELLFAMILY_SHAMAN:
{
// Lightning Shield (overwrite non existing triggered spell call in spell.dbc
if (auraSpellInfo->SpellFamilyFlags[0] & 0x400)
if (auraSpellInfo->SpellFamilyFlags[0] & 0x400 && auraSpellInfo->HasAttribute(SPELL_ATTR1_NO_THREAT))
{
// Do not proc off from self-casted items
if (Spell const* spell = eventInfo.GetProcSpell())