Example #1
0
        public static bool BeginSpiritSpeak(Mobile m)
        {
            if (_Table == null || !_Table.ContainsKey(m))
            {
                m.SendSpeedControl(SpeedControlType.NoMove);

                m.Animate(AnimationType.Spell, 1);
                m.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1062074, "", false); // Anh Mi Sah Ko
                m.PlaySound(0x24A);

                if (_Table == null)
                {
                    _Table = new Dictionary <Mobile, Timer>();
                }

                _Table[m] = new SpiritSpeakTimerNew(m);
                return(true);
            }

            return(false);
        }
Example #2
0
        public static bool BeginSpiritSpeak(Mobile m)
        {
            if (Table == null || !Table.ContainsKey(m))
            {
                m.Freeze(TimeSpan.FromSeconds(1));

                m.Animate(AnimationType.Spell, 1);
                m.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1062074, "", false); // Anh Mi Sah Ko
                m.PlaySound(0x24A);

                if (Table == null)
                {
                    Table = new Dictionary <Mobile, Timer>();
                }

                Table[m] = new SpiritSpeakTimerNew(m);
                return(true);
            }

            return(false);
        }