mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +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());
|
victim->CastSpell(victim, 57894, true, nullptr, nullptr, GetGUID());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Glyph of Freezing Trap
|
|
||||||
case 56845:
|
|
||||||
{
|
|
||||||
victim->CastSpell(this, 61394, true, nullptr, nullptr, victim->GetGUID());
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1742,6 +1742,13 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
if (GetId() == 25771 && target->HasAura(61988) && !target->HasAura(61987))
|
if (GetId() == 25771 && target->HasAura(61988) && !target->HasAura(61987))
|
||||||
target->RemoveAura(61988);
|
target->RemoveAura(61988);
|
||||||
break;
|
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