Пример #1
0
        public void Quicksand(Mobile target)
        {
            BaseExplodeEffect e = ExplodeFX.Earth.CreateInstance(
                target, Map, 1, 1, TimeSpan.FromMilliseconds(1000 - ((10) * 100)), null, () =>
            {
                Mobile spawn;

                switch (Utility.Random(2))
                {
                default:
                case 0:
                    spawn = new Sandworm();
                    break;

                case 1:
                    spawn = new WindTitan();
                    break;
                }

                spawn.MoveToWorld(target.Location, target.Map);
            });

            e.Send();
        }
Пример #2
0
        public void Quicksand(Mobile target)
        {
            BaseExplodeEffect e = ExplodeFX.Earth.CreateInstance(
                target, Map, 1, 1, TimeSpan.FromMilliseconds(1000 - ((10) * 100)), null, () =>
                {
                    Mobile spawn;

                    switch (Utility.Random(2))
                    {
                        default:
                        case 0:
                            spawn = new Sandworm();
                            break;
                        case 1:
                            spawn = new WindTitan();
                            break;
                    }

                    spawn.MoveToWorld(target.Location, target.Map);
                });
            e.Send();
        }