fix(Core/Spells): Glyph of Freezing Trap Applying Slow Incorrectly (#7184)

This commit is contained in:
KiK0
2021-08-08 09:09:51 -04:00
committed by GitHub
parent ab5f27c2a7
commit 2b5144c8fe
2 changed files with 7 additions and 6 deletions

View File

@@ -7242,12 +7242,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
victim->CastSpell(victim, 57894, true, nullptr, nullptr, GetGUID());
return true;
}
// Glyph of Freezing Trap
case 56845:
{
victim->CastSpell(this, 61394, true, nullptr, nullptr, victim->GetGUID());
return true;
}
}
break;
}

View File

@@ -1742,6 +1742,13 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
if (GetId() == 25771 && target->HasAura(61988) && !target->HasAura(61987))
target->RemoveAura(61988);
break;
case SPELLFAMILY_HUNTER:
// Glyph of Freezing Trap
if ((GetSpellInfo()->SpellFamilyFlags[0] & 0x00000008) && caster && caster->HasAura(56845))
{
target->CastSpell(target, 61394, true);
}
break;
}
}