| Core/GameEngine/Model/Config/ItemConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/GameEngine/Model/Config/ItemConfig.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Compose/New/ComposeWinModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/KnapSack/Logic/ItemTipsModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/Config/ItemConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: 第二世界 // [ Date ]: Friday, August 31, 2018 // [ Date ]: Tuesday, September 04, 2018 //-------------------------------------------------------- using UnityEngine; @@ -21,7 +21,7 @@ public int UseLV { get ; private set ; } public int CanSell { get ; private set ; } public int CanTrade { get ; private set ; } public int ComposeID { get ; private set ; } public int[] JumpComposeCondi; public int CanDrop { get ; private set ; } public int CanBind { get ; private set ; } public int CDType { get ; private set ; } @@ -110,7 +110,12 @@ CanTrade=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; ComposeID=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0; string[] JumpComposeCondiStringArray = rawContents[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); JumpComposeCondi = new int[JumpComposeCondiStringArray.Length]; for (int i=0;i<JumpComposeCondiStringArray.Length;i++) { int.TryParse(JumpComposeCondiStringArray[i],out JumpComposeCondi[i]); } CanDrop=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0; Core/GameEngine/Model/Config/ItemConfig.cs.meta
@@ -1,6 +1,6 @@ fileFormatVersion: 2 guid: cfc9e4de91b5b6741bf06e2003e353b9 timeCreated: 1535682711 timeCreated: 1536031053 licenseType: Pro MonoImporter: serializedVersion: 2 System/Compose/New/ComposeWinModel.cs
@@ -801,7 +801,9 @@ ItemConfig itemConfig = Config.Instance.Get<ItemConfig>(itemId); if (itemConfig == null) return false; ItemCompoundConfig itemCompound = Config.Instance.Get<ItemCompoundConfig>(itemConfig.ComposeID); int[] composeCondi = itemConfig.JumpComposeCondi; if (composeCondi.Length < 3) return false; ItemCompoundConfig itemCompound = GetThirdTypeModellist(composeCondi[0],composeCondi[1],composeCondi[2])[0]; if(itemCompound.levelNeed <= PlayerDatas.Instance.baseData.LV) { switch (itemCompound.firstType) @@ -824,7 +826,7 @@ } this.secondType = itemCompound.secondType; if(itemConfig.ComposeID == 223) if(itemCompound.firstType == 5 && itemCompound.secondType == 3) { this.thirdType = PlayerDatas.Instance.baseData.Job; } System/KnapSack/Logic/ItemTipsModel.cs
@@ -612,7 +612,7 @@ if (!isOverdue) { if(attrData.itemConfig.ComposeID != 0) if(attrData.itemConfig.JumpComposeCondi != null && attrData.itemConfig.JumpComposeCondi.Length > 0) { attrData.SetTipsFuncBtn(ItemWinBtnType.compose, (ItemWinBtnType, ItemAttrData) => { int jumpId = 0;