private void ShootWeb(Mobile target, int range) { Mobile m = VerifyValidMobile(target, range); if (m != null && !(m is BaseCreature)) { //this.MovingParticles( m, 0x379F, 7, 0, false, true, 3043, 4043, 0x211 ); this.MovingParticles(m, 0x10d4, 7, 0, false, false, 3043, 4043, 0x211); m.Freeze(TimeSpan.FromSeconds(4.0)); BallOfYarn w = new BallOfYarn(TimeSpan.FromSeconds(15.0), TimeSpan.FromSeconds(4.0)); w.MoveToWorld(new Point3D(m.X, m.Y, m.Z), m.Map); } }
private void ShootWeb( Mobile target, int range ) { Mobile m = VerifyValidMobile( target, range ); if ( m != null && !(m is BaseCreature) ) { //this.MovingParticles( m, 0x379F, 7, 0, false, true, 3043, 4043, 0x211 ); this.MovingParticles( m, 0x10d4, 7, 0, false, false, 3043, 4043, 0x211 ); m.Freeze( TimeSpan.FromSeconds( 4.0 ) ); BallOfYarn w = new BallOfYarn( TimeSpan.FromSeconds( 15.0 ), TimeSpan.FromSeconds( 4.0 ) ); w.MoveToWorld( new Point3D(m.X, m.Y, m.Z), m.Map ); } }