Core/Spells: Removed obsolete spell fixes

This commit is contained in:
hondacrx
2018-01-03 14:04:47 -05:00
parent 9d3e87fd87
commit d04e04548b
5 changed files with 7 additions and 115 deletions
-16
View File
@@ -1834,22 +1834,6 @@ namespace Game.Entities
}
}
// Glyphs which increase duration of selfcasted buffs
if (target == this)
{
switch (spellProto.SpellFamilyName)
{
case SpellFamilyNames.Druid:
if (spellProto.SpellFamilyFlags[0].HasAnyFlag(0x100u))
{
// Glyph of Thorns
AuraEffect aurEff = GetAuraEffect(57862, 0);
if (aurEff != null)
duration += aurEff.GetAmount() * Time.Minute * Time.InMilliseconds;
}
break;
}
}
return Math.Max(duration, 0);
}