public override void OnThink()
        {
            if (DateTime.Now >= m_NextAbilityTime)
            {
                PoisonSpitSE spit = new PoisonSpitSE(this);

                spit.ThrowIt();

                m_NextAbilityTime = DateTime.Now + TimeSpan.FromSeconds(Utility.RandomMinMax(m_MinTime, m_MaxTime));
            }

            base.OnThink();
        }
Ejemplo n.º 2
0
        public override void OnThink()
        {
            if ( !BardPacified )
            {
                if ( DateTime.Now >= m_NextAbilityTime )
                {
                    PoisonSpitSE spit = new PoisonSpitSE( this );

                    spit.ThrowIt();

                    m_NextAbilityTime = DateTime.Now + TimeSpan.FromSeconds( Utility.RandomMinMax( m_MinTime, m_MaxTime ) );
                }
            }

            base.OnThink();
        }