This commit is contained in:
mark 2009-06-28 03:36:42 +00:00
parent c63a5f13fa
commit 2204d5fb86
86 changed files with 1077 additions and 257 deletions

View file

@ -23,12 +23,17 @@ namespace Server.SkillHandlers
public static TimeSpan OnUse( Mobile m )
{
if ( m.Target != null || m.Spell != null )
if ( m.Spell != null )
{
m.SendLocalizedMessage( 501238 ); // You are busy doing something else and cannot hide.
return TimeSpan.FromSeconds( 1.0 );
}
if ( Core.ML && m.Target != null )
{
Targeting.Target.Cancel( m );
}
double bonus = 0.0;
BaseHouse house = BaseHouse.FindHouseAt( m );