Beispiel #1
0
            //TODO: Convert BandageCheck and SpellCheck to IAction implementation. 
            public SwingDelayTimer(PlayerMobile attacker, Mobile defender, BaseWeapon weapon, TimeSpan duration) : base(duration)
            {
                Priority = DelayTimerPriority;
                m_Attacker = attacker;
                m_Defender = defender;
                m_Weapon = weapon;

                m_Attacker.AbortCurrentPlayerAction();
                m_Attacker.CurrentSwingTimer = this;

                m_Attacker.BandageCheck();
                m_Attacker.SpellCheck();
            }