public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            switch (version)
            {
            case 1:
            {
                this.mAppearEffect = (StoneEffect)reader.ReadInt();
                this.mHideEffect   = (StoneEffect)reader.ReadInt();
                break;
            }

            case 2:
            {
                this.mAppearEffect    = (StoneEffect)reader.ReadInt();
                this.mHideEffect      = (StoneEffect)reader.ReadInt();
                this.mAppearEffectHue = reader.ReadInt();
                this.mHideEffectHue   = reader.ReadInt();
                break;
            }
            }
        }
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            mAppearEffect = (StoneEffect)reader.ReadInt();
            mHideEffect   = (StoneEffect)reader.ReadInt();
        }
Exemple #3
0
      public GMHidingStone() :  base( 0x1870 ) 
      { 
         	Weight = 1.0; 
         	Hue = 0x0; 
      		Name = "GM hiding stone"; 
      		LootType = LootType.Blessed;
		mAppearEffect = StoneEffect.DefaultRunUO; 
		mHideEffect = StoneEffect.DefaultRunUO;
      }   
 public GMHidingStone() :  base(0x1870)
 {
     Weight        = 1.0;
     Hue           = 0x0;
     Name          = "GM hiding stone";
     LootType      = LootType.Blessed;
     mAppearEffect = StoneEffect.DefaultRunUO;
     mHideEffect   = StoneEffect.DefaultRunUO;
 }
 public GMHidingStone()
     : base(0x1870)
 {
     this.Weight           = 1.0;
     this.Hue              = 0x0;
     this.Name             = "GM hiding stone";
     this.LootType         = LootType.Blessed;
     this.mAppearEffect    = StoneEffect.DefaultRunUO;
     this.mAppearEffectHue = 0;
     this.mHideEffect      = StoneEffect.DefaultRunUO;
     this.mHideEffectHue   = 0;
 }
Exemple #6
0
 public GMHidingStone()
     : base(0x1870)
 {
     this.Weight = 1.0;
     this.Hue = 0x0;
     this.Name = "GM hiding stone";
     this.LootType = LootType.Blessed;
     this.mAppearEffect = StoneEffect.DefaultRunUO;
     this.mAppearEffectHue = 0;
     this.mHideEffect = StoneEffect.DefaultRunUO;
     this.mHideEffectHue = 0;
 }
Exemple #7
0
    void Start()
    {
        winText    = GameObject.Find("WinText");
        looseText  = GameObject.Find("LooseText");
        helpText   = GameObject.Find("HelpText");
        mainCamera = GameObject.Find("3D Camera");
        pile       = GameObject.Find("Pile").GetComponent <Pile>();
        menu       = GameObject.Find("MenuPanel").GetComponent <MenuButtons>();
        mainCamera.SetActive(true);
        winText.SetActive(false);
        looseText.SetActive(false);
        helpText.SetActive(false);
        isGameOnPause = false;
        StoneEffect stonePrefab = Resources.Load <StoneEffect>("Domino/Prefab/StoneEffect");

        stoneEffect = StoneEffect.Instantiate(stonePrefab);
        stoneEffect.transform.localScale = new Vector3(1, 1, 0);
        stoneEffect.SetRotationState(3);

        GameObject slotPrefab   = Resources.Load <GameObject>("Domino/Prefab/Slot");
        GameObject panel        = GameObject.Find("FirstStoneEffectPanel");
        var        stoneSprites = Resources.LoadAll <Sprite>("Domino/Sprites/txt_bones");

        fieldBlocks = new SpriteRenderer[fieldHeight, fieldWidth];
        field       = new int[fieldHeight, fieldWidth, 2];
        for (int i = 0; i < fieldHeight; i++)
        {
            for (int j = 0; j < fieldWidth; j++)
            {
                GameObject slot = GameObject.Instantiate(slotPrefab, panel.transform);
                fieldBlocks[i, j] = slot.GetComponent <SpriteRenderer>();
                fieldBlocks[i, j].sortingOrder         = 1;
                fieldBlocks[i, j].sprite               = stoneSprites[0];
                fieldBlocks[i, j].transform.localScale = new Vector3(1, 1, 0);
                fieldBlocks[i, j].gameObject.SetActive(true);
                fieldBlocks[i, j].color = new Color(1, 0, 0, 0);
                field[i, j, 0]          = -1;
                field[i, j, 1]          = 0;
            }
        }

        stonesPile = GameObject.Find("Pile").GetComponent <Pile>();
        player     = GameObject.Find("Player").GetComponent <Player>();
        bot        = GameObject.Find("Bot").GetComponent <Bot>();


        isGameOnPause = false;
    }
        private void ToggleHidden(Mobile m, StoneEffect heffect)
        {
            switch (heffect)
            {
            case StoneEffect.Gate:
                break;

            case StoneEffect.FireStorm1:
                break;

            case StoneEffect.FireStorm2:
                break;

            default:
                m.Hidden = !m.Hidden;
                break;
            }
        }
		private void ToggleHidden(Mobile m, StoneEffect heffect)
		{
			switch (heffect)
			{
				case StoneEffect.Gate:
					break;
				case StoneEffect.FireStorm1:
					break;
				case StoneEffect.FireStorm2:
					break;
				default:
					m.Hidden = !m.Hidden;
					break;
			}
		}
		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize(reader);



			int version = reader.ReadInt();

			switch (version)
			{
				case 1:
					{
						mAppearEffect = (StoneEffect)reader.ReadInt();
						mHideEffect = (StoneEffect)reader.ReadInt();
						break;
					}
				case 2:
					{
						mAppearEffect = (StoneEffect)reader.ReadInt();
						mHideEffect = (StoneEffect)reader.ReadInt();
						mAppearEffectHue = reader.ReadInt();
						mHideEffectHue = reader.ReadInt();
						break;
					}
			}

		}
		public void SendStoneEffects(StoneEffect mStoneEffect, int effHue, Mobile m)
		{
			if (effHue > 0) effHue--; //Adjust the friggin hue to match true effect color
			switch (mStoneEffect)
			{
				//[s7]
				case StoneEffect.Gate:
					Effects.SendLocationParticles(EffectItem.Create(m.Location, m.Map, EffectItem.DefaultDuration), 0x1FCB, 10, 14, effHue, 0, 0x1FCB, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x20E);
					m.Frozen = true;
					Timer.DelayCall(TimeSpan.FromSeconds(0.65), new TimerStateCallback(InternalShowGate), new object[] { m, effHue });
					Timer.DelayCall(TimeSpan.FromSeconds(1.5), new TimerStateCallback(InternalHideGate), new object[] { m, effHue });
					break;
				//[/s7]
				case StoneEffect.FlameStrike1:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
					break;
				case StoneEffect.FlameStrike3:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
					break;
				case StoneEffect.Snow:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x376A, 15, effHue, 0); //0x47D );
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 492);
					break;
				case StoneEffect.FlameStrikeLightningBolt:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
					Effects.SendBoltEffect(m, true, 0);
					break;
				case StoneEffect.Sparkle1:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x375A, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
					break;
				case StoneEffect.Sparkle3:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x373A, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x373A, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z - 1), m.Map, 0x373A, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
					break;
				case StoneEffect.Explosion:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
					break;
				case StoneEffect.ExplosionLightningBolt:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
					Effects.SendBoltEffect(m, true, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
					break;
				case StoneEffect.DefaultRunUO:
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 7), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 3), m.Map, 0x3728, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3728, 13, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x228);
					break;
				case StoneEffect.Glow:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x37C4, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1E2);
					break;
				case StoneEffect.PoisonField:
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x3915, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x231);
					break;
				case StoneEffect.Fireball:
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 10), m.Map, 0x36D4, 13, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
					Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x15E);
					break;
				case StoneEffect.FireStorm1: //Added By Nitewender (further modifed by me to carry color effect to timer
					m.PlaySound(520);
					m.PlaySound(525);
					m.Hidden = !m.Hidden;
					Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X - 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y - 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
					m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 0, 1);
					m_Timer.Start();
					break;
				case StoneEffect.FireStorm2: //CEO Using above idea, this one does the firestorm outside->in
					m.PlaySound(520);
					m.PlaySound(525);
					Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
					Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
					m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 5, -1);
					m_Timer.Start();
					break;
			}
		}
        public void SendStoneEffects(StoneEffect mStoneEffect, int effHue, Mobile m)
        {
            if (effHue > 0)
            {
                effHue--; //Adjust the friggin hue to match true effect color
            }
            switch (mStoneEffect)
            {
            //[s7]
            case StoneEffect.Gate:
                Effects.SendLocationParticles(EffectItem.Create(m.Location, m.Map, EffectItem.DefaultDuration), 0x1FCB, 10, 14, effHue, 0, 0x1FCB, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x20E);
                m.Frozen = true;
                Timer.DelayCall(TimeSpan.FromSeconds(0.65), new TimerStateCallback(InternalShowGate), new object[] { m, effHue });
                Timer.DelayCall(TimeSpan.FromSeconds(1.5), new TimerStateCallback(InternalHideGate), new object[] { m, effHue });
                break;

            //[/s7]
            case StoneEffect.FlameStrike1:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                break;

            case StoneEffect.FlameStrike3:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                break;

            case StoneEffect.Snow:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x376A, 15, effHue, 0);     //0x47D );
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 492);
                break;

            case StoneEffect.FlameStrikeLightningBolt:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendBoltEffect(m, true, 0);
                break;

            case StoneEffect.Sparkle1:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x375A, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                break;

            case StoneEffect.Sparkle3:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x373A, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x373A, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z - 1), m.Map, 0x373A, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                break;

            case StoneEffect.Explosion:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                break;

            case StoneEffect.ExplosionLightningBolt:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendBoltEffect(m, true, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                break;

            case StoneEffect.DefaultRunUO:
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 7), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 3), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3728, 13, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x228);
                break;

            case StoneEffect.Glow:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x37C4, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1E2);
                break;

            case StoneEffect.PoisonField:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x3915, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x231);
                break;

            case StoneEffect.Fireball:
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 10), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x15E);
                break;

            case StoneEffect.FireStorm1:     //Added By Nitewender (further modifed by me to carry color effect to timer
                m.PlaySound(520);
                m.PlaySound(525);
                m.Hidden = !m.Hidden;
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y - 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                this.m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 0, 1);
                this.m_Timer.Start();
                break;

            case StoneEffect.FireStorm2:     //CEO Using above idea, this one does the firestorm outside->in
                m.PlaySound(520);
                m.PlaySound(525);
                Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                this.m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 5, -1);
                this.m_Timer.Start();
                break;

            case StoneEffect.RedSparkle:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1f7);
                break;

            case StoneEffect.RedSparkle2:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1E0);
                break;

            case StoneEffect.Marchenzio1:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x376A, 15, effHue, 0);     //0x47D );
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 492);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendBoltEffect(m, true, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x375A, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x373A, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x373A, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z - 1), m.Map, 0x373A, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendBoltEffect(m, true, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z - 4), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 7), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 3), m.Map, 0x3728, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3728, 13, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x228);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x37C4, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1E2);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 8), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 10), m.Map, 0x36D4, 13, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x15E);
                m.PlaySound(520);
                m.PlaySound(525);
                Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 5, m.Y - 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 5, m.Y + 5, m.Z), m.Map, 0x3709, 17, effHue, 0);
                this.m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 5, -1);
                this.m_Timer.Start();
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1f7);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x374A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x1E0);
                m.Hidden = !m.Hidden;
                break;

            case StoneEffect.Hell:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendBoltEffect(m, true, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15, effHue, 0);
                Effects.SendBoltEffect(m, true, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                m.PlaySound(520);
                m.PlaySound(525);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X - 1, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y - 1, m.Z), m.Map, 0x3709, 17, effHue, 0);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z), m.Map, 0x3709, 17, effHue, 0);
                this.m_Timer = new FireStormTimer(DateTime.Now, m, effHue, 0, 1);
                this.m_Timer.Start();
                break;
            }
        }
Exemple #13
0
	public void SendStoneEffects ( StoneEffect mStoneEffect , Mobile m )
	{
		switch (mStoneEffect)
		{
			case StoneEffect.FlameStrike1:
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y, m.Z + 1 ), m.Map, 0x3709, 15 ); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x208 );
				break;
			case StoneEffect.FlameStrike3:
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y, m.Z + 1 ), m.Map, 0x3709, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z + 6 ), m.Map, 0x3709, 15 );
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z + 6 ), m.Map, 0x3709, 15 );
				Effects.PlaySound( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x208 );
				break;
			case StoneEffect.FlameStrikeLightningBolt:
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y, m.Z + 1 ), m.Map, 0x3709, 15 ); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x208);
				Effects.SendBoltEffect( m,true,0); 
				break;
			case StoneEffect.Sparkle1:
				Effects.SendLocationEffect( new Point3D( m.X , m.Y, m.Z + 1 ), m.Map, 0x375A, 15 ); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x213 );
				break;
			case StoneEffect.Sparkle3:
				Effects.SendLocationEffect( new Point3D( m.X , m.Y + 1, m.Z ), m.Map, 0x373A, 15 ); 
				Effects.SendLocationEffect( new Point3D( m.X + 1 , m.Y, m.Z ), m.Map, 0x373A, 15 ); 
				Effects.SendLocationEffect( new Point3D( m.X , m.Y, m.Z - 1), m.Map, 0x373A, 15 ); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x213 );
				break;
			case StoneEffect.Explosion:
			        Effects.SendLocationEffect( new Point3D( m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z ), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z ), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z ), m.Map, 0x36BD, 15 ); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x307 );
				break;
			case StoneEffect.ExplosionLightningBolt:
				Effects.SendLocationEffect( new Point3D( m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z ), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z ), m.Map, 0x36BD, 15 ); 
            			Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z ), m.Map, 0x36BD, 15 ); 
				Effects.SendBoltEffect(m,true,0); 
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x307 );
				break;
			case StoneEffect.DefaultRunUO:
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z + 4 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y, m.Z - 4 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z + 4 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X, m.Y + 1, m.Z - 4 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 11 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 7 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z + 3 ), m.Map, 0x3728, 13 );
				Effects.SendLocationEffect( new Point3D( m.X + 1, m.Y + 1, m.Z - 1 ), m.Map, 0x3728, 13 );
				Effects.PlaySound ( new Point3D( m.X, m.Y, m.Z ), m.Map, 0x228 );				
				break;
		}	
	}
Exemple #14
0
      public override void Deserialize( GenericReader reader ) 
      { 
         base.Deserialize( reader ); 
         int version = reader.ReadInt(); 
		mAppearEffect = (StoneEffect) reader.ReadInt();
		mHideEffect = (StoneEffect) reader.ReadInt();
      } 
        public void SendStoneEffects(StoneEffect mStoneEffect, Mobile m)
        {
            switch (mStoneEffect)
            {
            case StoneEffect.FlameStrike1:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                break;

            case StoneEffect.FlameStrike3:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 6), m.Map, 0x3709, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 6), m.Map, 0x3709, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                break;

            case StoneEffect.FlameStrikeLightningBolt:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x3709, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x208);
                Effects.SendBoltEffect(m, true, 0);
                break;

            case StoneEffect.Sparkle1:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x375A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                break;

            case StoneEffect.Sparkle3:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x373A, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x373A, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z - 1), m.Map, 0x373A, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x213);
                break;

            case StoneEffect.Explosion:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                break;

            case StoneEffect.ExplosionLightningBolt:
                Effects.SendLocationEffect(new Point3D(m.X, m.Y, m.Z + 1), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z), m.Map, 0x36BD, 15);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x36BD, 15);
                Effects.SendBoltEffect(m, true, 0);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x307);
                break;

            case StoneEffect.DefaultRunUO:
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z + 4), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y, m.Z - 4), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z + 4), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X, m.Y + 1, m.Z - 4), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 11), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 7), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z + 3), m.Map, 0x3728, 13);
                Effects.SendLocationEffect(new Point3D(m.X + 1, m.Y + 1, m.Z - 1), m.Map, 0x3728, 13);
                Effects.PlaySound(new Point3D(m.X, m.Y, m.Z), m.Map, 0x228);
                break;
            }
        }