Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | if(star == curStar
|
| | | && curStar < maxStar)
|
| | | {
|
| | | titleText.text = StringUtility.Contact("当前效果(该件时装最多可升至",maxStar,"星)");
|
| | | titleText.text = Language.Get("FashionDress101",maxStar);
|
| | | }
|
| | | else if(star == curStar
|
| | | && curStar >= maxStar)
|
| | | {
|
| | | titleText.text = StringUtility.Contact("已升至最高级");
|
| | | titleText.text = Language.Get("FashionDress105");
|
| | | }
|
| | | else
|
| | | {
|
| | | titleText.text = StringUtility.Contact(star,"星效果");
|
| | | titleText.text = Language.Get("FashionDress102",star);
|
| | | }
|
| | |
|
| | | if (star == curStar)
|
| | | {
|
| | | starDesText.text = StringUtility.Contact("升至",star, "星时获得属性(已获得)");
|
| | | starDesText.text = Language.Get("FashionDress103",star);
|
| | | }
|
| | | else
|
| | | {
|
| | | starDesText.text = StringUtility.Contact("升至", star, "星时获得属性");
|
| | | starDesText.text = Language.Get("FashionDress104",star);
|
| | | }
|
| | |
|
| | | Dictionary<int, int> attrDict = null;
|
| | |
| | | {
|
| | | wardrobeLevelSB = UIHelper.AppendStringColor(TextColType.Red, wardrobeLevel.ToString());
|
| | | }
|
| | | wardrobeLvText.text = StringUtility.Contact(wardrobeLevelSB, "级");
|
| | | wardrobeLvText.text = Language.Get("FashionDress106",wardrobeLevelSB);
|
| | | Dictionary<int, int> attrDict = null;
|
| | | fashionModel.TryGetCabinetProperty(fashionModel.cabinetLevel, out attrDict);
|
| | | if (attrDict != null && attrDict.Count > 0)
|
| | |
| | | private void UpdateCabinetLv()
|
| | | {
|
| | | int wardrobeLv = model.cabinetLevel;
|
| | | wardrobeLvText.text = StringUtility.Contact(wardrobeLv, "级");
|
| | | wardrobeLvText.text = Language.Get("FashionDress106",wardrobeLv);
|
| | | int curWardrobeExp = model.cabinetExp;
|
| | | bool isCabinetMax = wardrobeLv >= model.cabinetMaxLevel ? true : false;
|
| | | int upgradeLv = isCabinetMax ? model.cabinetMaxLevel : wardrobeLv + 1;
|
| | |
| | | int upgradeWardrobeExp = cabinetConfig.NeedExp;
|
| | | if (isCabinetMax)
|
| | | {
|
| | | upgradeExpText.text = StringUtility.Contact("(已升至最高等级)");
|
| | | upgradeExpText.text = StringUtility.Contact("(", Language.Get("FashionDress105"),")");
|
| | | }
|
| | | else
|
| | | {
|