| Main/System/Gubao/GubaoActiveWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Gubao/GubaoDetailWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Gubao/GubaoManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Gubao/GubaoTipWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/Gubao/GubaoActiveWin.cs
@@ -97,7 +97,7 @@ { attrPrivilegeText.text = Language.Get("Gubao23_" + config.PowerType, valueDict[config.PowerType] / 100.0); } else if (config.PowerType == 2) else if (config.PowerType == 2 || config.PowerType == 3) { attrPrivilegeText.text = Language.Get("Gubao23_" + config.PowerType, ItemConfig.Get(config.PowerTypeValue).ItemName, valueDict[config.PowerType]); } Main/System/Gubao/GubaoDetailWin.cs
@@ -242,12 +242,20 @@ else { fullRect.SetActive(false); if (config.SpecAttrID > 0) { lvupBtn.SetActive(true); var lvUseCfg = GubaoLVConfig.GetConfig(quality, lv); int itemID = lvUseCfg.LVUPNeedItemInfo[0][0]; itemIconImg.SetItemSprite(itemID); itemCntText.text = UIHelper.ShowUseItem(PackType.Item, itemID, lvUseCfg.LVUPNeedItemInfo[0][1]); itemCntText.SetActive(true); } else { lvupBtn.SetActive(false); itemCntText.SetActive(false); } } starupBtn.SetActive(false); processRect.SetActive(false); @@ -485,6 +493,7 @@ { // 1 游历双倍奖励概率 无 增加万分率 万分率 // 2 月卡领取额外奖励 物品ID 提升百分比 百分比 // 3 终身卡 //有特权效果的 非属性类 attrPrivilegeRect.SetActive(true); @@ -493,7 +502,7 @@ { attrPrivilegeText.text = Language.Get("Gubao23_" + config.PowerType, valueDict[config.PowerType] / 100.0); } else if (config.PowerType == 2) else if (config.PowerType == 2 || config.PowerType == 3) { attrPrivilegeText.text = Language.Get("Gubao23_" + config.PowerType, ItemConfig.Get(config.PowerTypeValue).ItemName, valueDict[config.PowerType]); } @@ -510,7 +519,7 @@ { addValue = config.PowerPerStarAdd / 100.0f; } else if (config.PowerType == 2) else if (config.PowerType == 2 || config.PowerType == 3) { addValue = config.PowerPerStarAdd; } @@ -566,6 +575,11 @@ if (gbData == null) return; var config = GubaoConfig.Get(gubaoID); if (config.SpecAttrID == 0) { return; } var lvConfig = GubaoLVConfig.GetConfig(gbData.Quality, gbData.GubaoLV); //检查材料 Main/System/Gubao/GubaoManager.cs
@@ -356,6 +356,10 @@ } //判断消耗 var config = GubaoConfig.Get(gubaoID); if (config.SpecAttrID == 0) { return false; } var lvConfig = GubaoLVConfig.GetConfig(config.GubaoQuality, gubaoInfo.GubaoLV); if (lvConfig == null) { Main/System/Gubao/GubaoTipWin.cs
@@ -214,7 +214,7 @@ { specialText.text = Language.Get("Gubao23_" + config.PowerType, valueDict[config.PowerType] / 100.0); } else if (config.PowerType == 2) else if (config.PowerType == 2 || config.PowerType == 3) { specialText.text = Language.Get("Gubao23_" + config.PowerType, ItemConfig.Get(config.PowerTypeValue).ItemName, valueDict[config.PowerType]); }