public void Throw( Mobile m ) { DoHarmful( m ); this.MovingParticles(m, thrownitems[ Utility.Random( thrownitems.Length ) ], 1, 0, false, false, 0, 0, 9502, 0, 0, EffectLayer.Head, 0); new InternalTimer( m, this ).Start(); }
private class InternalTimer : Timer { private Mobile m_Mobile, m_From; public InternalTimer( Mobile m, Mobile from ) : base( TimeSpan.FromSeconds( 1.0 ) ) { m_Mobile = m; m_From = from; Priority = TimerPriority.TwoFiftyMS; } protected override void OnTick() { AOS.Damage( m_Mobile, m_From, Utility.RandomMinMax( 10, 20 ), 0, 100, 0, 0, 0 ); } }
public keeperofknowledge( Serial serial ) : base( serial ) { }