Core/Spells: Removed outdated disengage script - it can be cast out of combat

This commit is contained in:
hondacrx
2017-12-19 15:01:09 -05:00
parent 060ec40fd0
commit 9937d1e421
2 changed files with 1 additions and 19 deletions
-19
View File
@@ -134,25 +134,6 @@ namespace Scripts.Spells.Hunter
}
}
// 781 - Disengage
[Script]
class spell_hun_disengage : SpellScript
{
SpellCastResult CheckCast()
{
Unit caster = GetCaster();
if (caster.IsTypeId(TypeId.Player) && !caster.IsInCombat())
return SpellCastResult.CantDoThatRightNow;
return SpellCastResult.SpellCastOk;
}
public override void Register()
{
OnCheckCast.Add(new CheckCastHandler(CheckCast));
}
}
[Script] // 109304 - Exhilaration
class spell_hun_exhilaration : SpellScript
{