Ejemplo n.º 1
0
        public override void OnThink()
        {
            if (DateTime.UtcNow > m_DecayTime)
            {
                ArrayList list = new ArrayList();

                foreach (Mobile m in this.GetMobilesInRange(10))
                {
                    if (m.Player)
                    {
                        list.Add(m);
                    }
                }
                foreach (Mobile m in list)
                {
                    m.SendMessage("You have failed to defeat the Guardian");
                }
                this.PlaySound(1622);
                this.Delete();

                mShameAltarAddon.Active = true;
                mShameAltarAddon.HueShift();
            }
        }
Ejemplo n.º 2
0
 public override bool OnBeforeDeath()
 {
     mShameAltarAddon.Active = true;
     mShameAltarAddon.HueShift();
     return(base.OnBeforeDeath());
 }