| Core/GameEngine/Model/TelPartialConfig/tagItemCompoundConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/BlastFurnace/BlastFurnaceModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/BlastFurnace/BlastFurnaceWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Compose/New/ComposeWinModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/GameEngine/Model/TelPartialConfig/tagItemCompoundConfig.cs
@@ -140,6 +140,21 @@ return null; } public static ItemCompoundConfig GetItemCompoundByType(int firstType,int secondType, int thirdType) { if(allComposeModelDict.ContainsKey(firstType)) { if(allComposeModelDict[firstType].ContainsKey(secondType)) { if(allComposeModelDict[firstType][secondType].ContainsKey(thirdType)) { return allComposeModelDict[firstType][secondType][thirdType][0]; } } } return null; } public static bool TryGetTicketCompose(int _ticketId, out List<ItemCompoundConfig> list) { return ticketComposeDict.TryGetValue(_ticketId, out list); System/BlastFurnace/BlastFurnaceModel.cs
@@ -10,7 +10,7 @@ public class BlastFurnaceModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk { public BlastFurnaceFuncTitle funcTitle = BlastFurnaceFuncTitle.MakeDan; private int makeDrugRedLv; public Action<AlchemySpecConfig> RefreshAddSpecMatEvent; private TreasureModel _model; @@ -64,6 +64,8 @@ } alchemyModellist = Config.Instance.GetAllValues<AlchemyConfig>(); FuncConfigConfig alchemyRedPoint = Config.Instance.Get<FuncConfigConfig>("AlchemyRedPoint"); int.TryParse(alchemyRedPoint.Numerical1,out makeDrugRedLv); SetDandrugRedPointlist(); GlobalTimeEvent.Instance.secondEvent += SecondUpdate; } @@ -757,11 +759,11 @@ bool isCheckRed = false; if(!isClick) { if(PlayerDatas.Instance.baseData.LV <= 151) if(PlayerDatas.Instance.baseData.LV <= makeDrugRedLv) { isCheckRed = true; } else if(PlayerDatas.Instance.baseData.LV > 151 && !isLogin && !IsMakeDrugWin) else if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv && !isLogin && !IsMakeDrugWin) { isCheckRed = true; } @@ -790,7 +792,7 @@ } else { if(PlayerDatas.Instance.baseData.LV > 151) if(PlayerDatas.Instance.baseData.LV > makeDrugRedLv) { MakeDrugRedpoint.state = RedPointState.None; } @@ -1361,6 +1363,7 @@ { MakeDan, //炼丹 AttrDan, //丹药属性 DrugStore, //回收商店 } System/BlastFurnace/BlastFurnaceWin.cs
@@ -94,6 +94,9 @@ case BlastFurnaceFuncTitle.AttrDan: _treasureRefineTitle.state = TitleBtnState.Click; break; case BlastFurnaceFuncTitle.DrugStore: _storeTitle.state = TitleBtnState.Click; break; } } @@ -137,6 +140,7 @@ private void OnClickStoreTitle() { FurnaceModel.funcTitle = BlastFurnaceFuncTitle.DrugStore; _lingDanTips.SetActive(false); attrDanTips.SetActive(false); storeTips.SetActive(true); System/Compose/New/ComposeWinModel.cs
@@ -814,44 +814,49 @@ 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) ItemCompoundConfig itemCompound = ItemCompoundConfig.GetItemCompoundByType(composeCondi[0], composeCondi[1], composeCondi[2]); if(itemCompound != null) { switch (itemCompound.firstType) if (itemCompound.levelNeed <= PlayerDatas.Instance.baseData.LV) { case 1: jumpId = (int)JumpUIType.ComposeFunc1; break; case 2: jumpId = (int)JumpUIType.ComposeFunc2; break; case 3: jumpId = (int)JumpUIType.ComposeFunc3; break; case 4: jumpId = (int)JumpUIType.ComposeFunc4; break; case 5: jumpId = (int)JumpUIType.ComposeFunc5; break; } this.secondType = itemCompound.secondType; switch (itemCompound.firstType) { case 1: jumpId = (int)JumpUIType.ComposeFunc1; break; case 2: jumpId = (int)JumpUIType.ComposeFunc2; break; case 3: jumpId = (int)JumpUIType.ComposeFunc3; break; case 4: jumpId = (int)JumpUIType.ComposeFunc4; break; case 5: jumpId = (int)JumpUIType.ComposeFunc5; break; } this.secondType = itemCompound.secondType; if(itemCompound.firstType == 5 && itemCompound.secondType == 3) { this.thirdType = PlayerDatas.Instance.baseData.Job; if (itemCompound.firstType == 5 && itemCompound.secondType == 3) { this.thirdType = PlayerDatas.Instance.baseData.Job; } else { this.thirdType = itemCompound.thirdType; } return true; } else { this.thirdType = itemCompound.thirdType; SysNotifyMgr.Instance.ShowTip("TicketComposeUnlock", itemCompound.levelNeed, itemCompound.secondTypeName); return false; } return true; } else { SysNotifyMgr.Instance.ShowTip("TicketComposeUnlock", itemCompound.levelNeed, itemCompound.secondTypeName); return false; } return false; } public bool CheckIsComposeByType(int firstType,int secondType,int thirdType)