Beispiel #1
0
        public virtual void SetContext(Mobile from)
        {
            if (GetContext(from) == null)
            {
                if (DelayedContext || from.Skills[MoveSkill].Value < 50.0)
                {
                    Timer timer = new SpecialMoveTimer(from);
                    timer.Start();

                    AddContext(from, new SpecialMoveContext(timer, this.GetType()));
                }
            }
        }
Beispiel #2
0
        public virtual void SetContext( Mobile from )
        {
            if ( GetContext( from ) == null )
            {
                if ( DelayedContext || from.Skills[MoveSkill].Value < 50.0 )
                {
                    Timer timer = new SpecialMoveTimer( from );
                    timer.Start();

                    AddContext( from, new SpecialMoveContext( timer, this.GetType() ) );
                }
            }
        }