Server.Spells.Spell.Disturb C# (CSharp) Méthode

Disturb() public méthode

public Disturb ( DisturbType type ) : void
type DisturbType
Résultat void
		public void Disturb( DisturbType type )
		{
			Disturb( type, true, false );
		}

Same methods

Spell::Disturb ( DisturbType type, bool firstCircle, bool resistable ) : void

Usage Example

Exemple #1
0
            protected override void OnTarget(Mobile from, object targeted)
            {
                if (targeted is Mobile && m_spell.CheckHSequence((Mobile)targeted))
                {
                    Mobile targ = (Mobile)targeted;

                    SpellHelper.Turn(m_spell.Caster, targ);

                    Spell.Disturb(targ);

                    SpellHelper.CheckReflect((int)m_spell.Circle, m_spell.Caster, ref targ);

                    DateTime endtime = DateTime.Now + TimeSpan.FromSeconds(0);

                    Timer t = new EtouffementsSpell.InternalTimer(targ, endtime);

                    EtouffementsSpell.m_Timers[targ] = t;

                    t.Start();

                    Effects.SendTargetParticles(targ, 14276, 9, 32, 5007, EffectLayer.Waist);
                    targ.PlaySound(534);
                }

                m_spell.FinishSequence();
            }
All Usage Examples Of Server.Spells.Spell::Disturb