mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/Spells): Glyph of Freezing Trap Applying Slow Incorrectly (#7184)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user