Exemple #1
0
 public BoatTrackingTimer(Mobile from, Item target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
 {
     m_From   = from;
     m_Target = target;
     m_Range  = range;
     m_Arrow  = arrow;
 }
Exemple #2
0
        public GhostTimer(Mobile from, Mobile target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            m_From   = from;
            m_Target = target;
            m_Range  = range;

            m_Arrow = arrow;
        }
Exemple #3
0
        public UberScriptArrowTimer(Mobile from, IEntity target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            m_From   = from;
            m_Target = target;
            m_Range  = range;

            m_Arrow = arrow;
        }
Exemple #4
0
 public TrackTimer(Mobile from, Mobile target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.0))
 {
     m_From          = from;
     m_Target        = target;
     m_Range         = range;
     m_LastDirection = Direction.Running;
     m_Arrow         = arrow;
 }
Exemple #5
0
        public TrackTimer(Mobile from, Mobile target, int range, QuestArrow arrow)
            : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            this.m_From   = from;
            this.m_Target = target;
            this.m_Range  = range;

            this.m_Arrow = arrow;
        }
Exemple #6
0
        public BoWArrowTimer(Mobile from, IEntity target, int range, QuestArrow arrow)
            : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            _Owner  = from;
            _Target = target;
            _Range  = range;

            _Arrow = arrow;
        }
Exemple #7
0
        public TrackTimer(Mobile from, Mobile target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            m_From   = from;
            m_Target = target;
            m_Range  = range;

            m_Arrow = arrow;

            m_Arrow.m_X = target.Location.X - 2;
            m_Arrow.m_Y = target.Location.Y - 2;
        }
Exemple #8
0
            public TrackTimer(Mobile from, Mobile target, int range, QuestArrow arrow) : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
            {
                m_From   = from;
                m_Target = target;
                m_Range  = range;

                m_Arrow = arrow;

                if (from is PlayerMobile)
                {
                    ((PlayerMobile)from).ResetPlayerAction(this);
                }
            }
Exemple #9
0
        public TrackTimer(Mobile from, IEntity target, int range, QuestArrow arrow)
            : base(TimeSpan.FromSeconds(0.25), TimeSpan.FromSeconds(2.5))
        {
            m_From   = from;
            m_Target = target;
            m_Range  = range;
            m_Arrow  = arrow;
            p_LastX  = m_From.Location.X;
            p_LastY  = m_From.Location.Y;

            if (RegionTracking)
            {
                m_LastDistance = Math.Max(Math.Abs(m_Target.Location.Y - m_From.Location.Y), Math.Abs(m_Target.Location.X - m_From.Location.X));
            }
        }
Exemple #10
0
 public TrackTimer( PlayerMobile from, PlayerMobile target, QuestArrow arrow )
     : base(TimeSpan.FromSeconds( 0.25 ), TimeSpan.FromSeconds( 2.5 ))
 {
     m_From = from;
     m_Target = target;
     m_Arrow = arrow;
 }