Exemple #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);
                    }
                }
            }
Exemple #2
0
 public InternalTimer(AnkhPendant from)
     : base(TimeSpan.FromMinutes(5))
 {
     m_From = from;
 }
Exemple #3
0
 public InternalTimer(AnkhPendant from) : base(TimeSpan.FromMinutes(5))
 {
     m_From = from;
 }