Пример #1
0
        public void Target(IPoint3D p)
        {
            if (!Caster.CanSee(p))
            {
                Caster.SendLocalizedMessage(500237); // Target can not be seen.
            }
            else if (SpellHelper.CheckTown(p, Caster) && CheckSequence())
            {
                SpellHelper.Turn(Caster, p);

                SpellHelper.GetSurfaceTop(ref p);

                Effects.PlaySound(p, Caster.Map, 0x1DD);

                Point3D loc = new Point3D(p.X, p.Y, p.Z);

                IEntity to = new Entity(Serial.Zero, new Point3D(p), Caster.Map);
                Effects.SendMovingParticles(Caster, to, 0xf53, 1, 0, false, false, 33, 3, 1260, 1, 0, EffectLayer.Head, 0x100);

                GreaterNaturalFire fire = new GreaterNaturalFire(Caster.Location, Caster.Map, Caster);
                fire.MoveToWorld(loc, Caster.Map);
            }

            FinishSequence();
        }
Пример #2
0
        public void Target(IPoint3D p)
        {
            if (!Caster.CanSee(p))
            {
                Caster.SendLocalizedMessage(500237); // Target can not be seen.
            }
            else if (SpellHelper.CheckTown(p, Caster) && CheckSequence())
            {

                SpellHelper.Turn(Caster, p);

                SpellHelper.GetSurfaceTop(ref p);

                Effects.PlaySound(p, Caster.Map, 0x1DD);

                Point3D loc = new Point3D(p.X, p.Y, p.Z);

                IEntity to = new Entity(Serial.Zero, new Point3D(p), Caster.Map);
                Effects.SendMovingParticles(Caster, to, 0xf53, 1, 0, false, false, 33, 3, 1260, 1, 0, EffectLayer.Head, 0x100);

                GreaterNaturalFire fire = new GreaterNaturalFire(Caster.Location, Caster.Map, Caster);
                fire.MoveToWorld(loc, Caster.Map);
            }

            FinishSequence();
        }
Пример #3
0
 public InternalTimer(GreaterNaturalFire item, TimeSpan duration)
     : base(duration)
 {
     m_Item = item;
 }
Пример #4
0
 public InternalTimer(GreaterNaturalFire item, TimeSpan duration)
     : base(duration)
 {
     m_Item = item;
 }