少年修仙传客户端代码仓库
client_Hale
2019-04-19 feeceecc1252fd472a7027fc2049cd95816ea162
System/Pet/PetStoneTipsWin.cs
@@ -137,7 +137,7 @@
                _MountStoneItem.ItemNum.text = hs_number.ToString() + "/1";
                bagIndex = playerPack.GetSinglePack(PackType.Item).GetItemIndexsAppointedCount(_id, 1);
            }
            int _maxuse = AttrFruitConfig.Get(_id).MaxUseCnt;
            int _maxuse = AttrFruitConfig.Get(_id).basicUseLimit;
            _MountStoneItem.PetExpNum.text = tag_Item[_id].ToString() + "/" + _maxuse.ToString();
            _MountStoneItem.Slider.value = (float)Math.Round((float)tag_Item[_id] / _maxuse, 2, MidpointRounding.AwayFromZero);
            SpiritBeastsText(_id.ToString(), _MountStoneItem.Some_text, tag_Item[_id]);
@@ -360,7 +360,7 @@
        private bool IsUse(int Id)
        {
            int hs_number = playerPack.GetItemCountByID(PackType.Item, Id);//魂石数量
            int _maxuse = AttrFruitConfig.Get(Id.ToString()).MaxUseCnt;
            int _maxuse = AttrFruitConfig.Get(Id.ToString()).basicUseLimit;
            if (tag_Item.ContainsKey(Id))
            {
                if (hs_number > 0 && _maxuse > tag_Item[Id])
@@ -374,7 +374,7 @@
        private bool IsFull(int Id)
        {
            bool IsBool = true;
            int _maxuse = AttrFruitConfig.Get(Id.ToString()).MaxUseCnt;
            int _maxuse = AttrFruitConfig.Get(Id.ToString()).basicUseLimit;
            if (tag_Item.ContainsKey(Id))
            {
                if (tag_Item[Id] >= _maxuse)