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
-13
View File
@@ -1249,13 +1249,6 @@ namespace Game.Spells
}
}
break;
case SpellFamilyNames.Rogue:
// Sprint (skip non player casted spells by category)
if (GetSpellInfo().SpellFamilyFlags[0].HasAnyFlag(0x40u) && GetSpellInfo().GetCategory() == 44)
// in official maybe there is only one icon?
if (target.HasAura(58039)) // Glyph of Blurred Speed
target.CastSpell(target, 61922, true); // Sprint (waterwalk)
break;
}
}
// mods at aura remove
@@ -1316,12 +1309,6 @@ namespace Game.Spells
if (GetId() == 1784)
target.RemoveAurasWithFamily(SpellFamilyNames.Rogue, new FlagArray128(0x0000800, 0, 0), target.GetGUID());
break;
case SpellFamilyNames.Hunter:
// Glyph of Freezing Trap
if (GetSpellInfo().SpellFamilyFlags[0].HasAnyFlag(0x00000008u))
if (caster != null && caster.HasAura(56845))
target.CastSpell(target, 61394, true);
break;
}
}