Esempio n. 1
0
            public override void OnSpeech(SpeechEventArgs args)
            {
                base.OnSpeech(args);

                if (Insensitive.Equals(args.Speech, m_BonusEntry.Mantra))
                {
                    AnkhPendant pendant = args.Mobile.FindItemOnLayer(Layer.Neck) as AnkhPendant;

                    if (pendant != null)
                    {
                        pendant.OnMantraSpoken(args.Mobile, m_BonusEntry);
                    }
                }
            }
Esempio n. 2
0
 public InternalTimer(AnkhPendant from)
     : base(TimeSpan.FromMinutes(5))
 {
     m_From = from;
 }
Esempio n. 3
0
 public InternalTimer(AnkhPendant from) : base(TimeSpan.FromMinutes(5))
 {
     m_From = from;
 }