Esempio n. 1
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(4.0));
            }

            default:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* Slithering ice serpents rise to the surface to investigate the disturbance! *");

                BaseCreature spawn = new GiantIceWorm();
                if (!SpawnCreature(spawn))
                {
                    spawn.Delete();
                }

                for (int i = 0; i < 3; i++)
                {
                    BaseCreature snake = new IceSnake();
                    if (!SpawnCreature(snake))
                    {
                        snake.Delete();
                    }
                }

                return(TimeSpan.Zero);
            }
            }
        }
Esempio n. 2
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                EffectItem hole = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(10.0));
                hole.ItemID = 0x913;

                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(4.0));
            }

            default:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* A magical bunny leaps out of its hole, disturbed by the thorn's effect! *");

                BaseCreature spawn = new VorpalBunny();
                if (!SpawnCreature(spawn))
                {
                    spawn.Delete();
                }

                return(TimeSpan.Zero);
            }
            }
        }
Esempio n. 3
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(1.0));
            }

            default:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* Strange green tendrils rise from the ground, whipping wildly! *");
                Effects.PlaySound(Location, Map, 0x2B0);

                BaseCreature spawn = new WhippingVine();
                if (!SpawnCreature(spawn))
                {
                    spawn.Delete();
                }

                return(TimeSpan.Zero);
            }
            }
        }
Esempio n. 4
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(5.0));
            }

            default:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* The sand errupts in a violent explosion. *");
                SandVortex mob = new SandVortex();
                mob.MoveToWorld(Location, Map);
                //GreenThornsSHTeleporter.Create( Location, Map );

                return(TimeSpan.Zero);
            }
            }
        }
Esempio n. 5
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(5.0));
            }

            default:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* The sand collapses, revealing a dark hole. *");

                GreenThornsSHTeleporter.Create(Location, Map);

                return(TimeSpan.Zero);
            }
            }
        }
Esempio n. 6
0
        protected override TimeSpan Play(int step)
        {
            switch (step)
            {
            case 0:
            {
                Effects.PlaySound(Location, Map, 0x106);
                Effects.SendLocationParticles(EffectItem.Create(Location, Map, EffectItem.DefaultDuration), 0x3735, 1, 182, 0xBE3);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 1:
            {
                Effects.PlaySound(Location, Map, 0x222);

                return(TimeSpan.FromSeconds(4.0));
            }

            case 2:
            {
                Effects.PlaySound(Location, Map, 0x21F);

                return(TimeSpan.FromSeconds(5.0));
            }

            case 3:
            {
                EffectItem dummy = EffectItem.Create(Location, Map, TimeSpan.FromSeconds(20.0));
                dummy.PublicOverheadMessage(MessageType.Regular, 0x3B2, true, "* The ground erupts with chaotic growth! *");

                Effects.PlaySound(Location, Map, 0x12D);

                SpawnReagents();
                SpawnReagents();

                return(TimeSpan.FromSeconds(2.0));
            }

            case 4:
            {
                Effects.PlaySound(Location, Map, 0x12D);

                SpawnReagents();
                SpawnReagents();

                return(TimeSpan.FromSeconds(2.0));
            }

            case 5:
            {
                Effects.PlaySound(Location, Map, 0x12D);

                SpawnReagents();
                SpawnReagents();

                return(TimeSpan.FromSeconds(3.0));
            }

            default:
            {
                Effects.PlaySound(Location, Map, 0x12D);

                SpawnReagents();
                SpawnReagents();

                return(TimeSpan.Zero);
            }
            }
        }