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(); }
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(); }