Exemplo n.º 1
0
        public override void OnSingleClick(Mobile from)
        {
            LabelTo(from, DisplayName + " Stockpile");
            LabelTo(from, "[Durability: " + HitPoints.ToString() + "/" + MaxHitPoints.ToString() + "]");

            PlayerMobile player = from as PlayerMobile;

            if (player == null)
            {
                return;
            }

            if (!UOACZSystem.IsUOACZValidMobile(player))
            {
                return;
            }
            if (!player.IsUOACZHuman)
            {
                return;
            }
            if (player.m_UOACZAccountEntry.HumanProfile.Stockpile == null)
            {
                return;
            }

            LabelTo(from, "Your Items: " + player.m_UOACZAccountEntry.HumanProfile.Stockpile.TotalItems.ToString() + " / " + player.m_UOACZAccountEntry.HumanProfile.Stockpile.MaxItems.ToString() + "");
        }
Exemplo n.º 2
0
 public override void OnSingleClick(Mobile from)
 {
     LabelTo(from, "Corruption Sourcestone");
     LabelTo(from, "[Durability: " + HitPoints.ToString() + "/" + MaxHitPoints.ToString() + "]");
 }