| 
														
															@@ -8,6 +8,7 @@ using Fort23.UTool; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using GameLogic.Hero; 
														 | 
														
														 | 
														
															 using GameLogic.Hero; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using OfficeOpenXml.FormulaParsing.Excel.Functions.Logical; 
														 | 
														
														 | 
														
															 using OfficeOpenXml.FormulaParsing.Excel.Functions.Logical; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using UnityEngine; 
														 | 
														
														 | 
														
															 using UnityEngine; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+using UnityEngine.UI; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 using Utility; 
														 | 
														
														 | 
														
															 using Utility; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 namespace Fort23.Mono 
														 | 
														
														 | 
														
															 namespace Fort23.Mono 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -129,6 +130,20 @@ namespace Fort23.Mono 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } 
														 | 
														
														 | 
														
															                     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    for (var i = 0; i < selectedFaBaoInfo.FabaoPowerupConfig.PowerupItemIDs.Length; i++) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        PlayerManager.Instance.BagController.DeductItem( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            selectedFaBaoInfo.FabaoPowerupConfig.PowerupItemIDs[i], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            selectedFaBaoInfo.FabaoPowerupConfig.PowerupItemCosts[i]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    if (selectedFaBaoInfo.FabaoPowerupConfig.PromotePieceNum != null && 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        selectedFaBaoInfo.FabaoPowerupConfig.PromotePieceNum[itemConfig2.quality - 1] != -1) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        PlayerManager.Instance.BagController.DeductItem(itemConfig.associateVlaue[0], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            selectedFaBaoInfo.FabaoPowerupConfig.PromotePieceNum[itemConfig2.quality - 1]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     selectedFaBaoInfo.UpGrade(); 
														 | 
														
														 | 
														
															                     selectedFaBaoInfo.UpGrade(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     PlayerManager.Instance.myHero.ComputeHeroInfo(); 
														 | 
														
														 | 
														
															                     PlayerManager.Instance.myHero.ComputeHeroInfo(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     fx_ui_fabao_shengji.gameObject.SetActive(true); 
														 | 
														
														 | 
														
															                     fx_ui_fabao_shengji.gameObject.SetActive(true); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -519,7 +534,7 @@ namespace Fort23.Mono 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 ItemWidgetType1 itemWidgetType1 = 
														 | 
														
														 | 
														
															                 ItemWidgetType1 itemWidgetType1 = 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     await UIManager.Instance.CreateGComponentForObject<ItemWidgetType1>(ItemWidgetType1Game, null, 
														 | 
														
														 | 
														
															                     await UIManager.Instance.CreateGComponentForObject<ItemWidgetType1>(ItemWidgetType1Game, null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        ItemRoot); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        ItemRoot, isInstance: true); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itemWidgetType1.CustomInit(faBaoInfo.FabaoPowerupConfig.PowerupItemIDs[i], 
														 | 
														
														 | 
														
															                 itemWidgetType1.CustomInit(faBaoInfo.FabaoPowerupConfig.PowerupItemIDs[i], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     faBaoInfo.FabaoPowerupConfig.PowerupItemCosts[i]); 
														 | 
														
														 | 
														
															                     faBaoInfo.FabaoPowerupConfig.PowerupItemCosts[i]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itemWidgetType1s.Add(itemWidgetType1); 
														 | 
														
														 | 
														
															                 itemWidgetType1s.Add(itemWidgetType1); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -534,11 +549,13 @@ namespace Fort23.Mono 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             { 
														 | 
														
														 | 
														
															             { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 ItemWidgetType1 itemWidgetType1 = 
														 | 
														
														 | 
														
															                 ItemWidgetType1 itemWidgetType1 = 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     await UIManager.Instance.CreateGComponentForObject<ItemWidgetType1>(ItemWidgetType1Game, null, 
														 | 
														
														 | 
														
															                     await UIManager.Instance.CreateGComponentForObject<ItemWidgetType1>(ItemWidgetType1Game, null, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        ItemRoot); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        ItemRoot, isInstance: true); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itemWidgetType1.CustomInit(itemConfig.associateVlaue[0], 
														 | 
														
														 | 
														
															                 itemWidgetType1.CustomInit(itemConfig.associateVlaue[0], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     faBaoInfo.FabaoPowerupConfig.PromotePieceNum[itemConfig2.quality - 1]); 
														 | 
														
														 | 
														
															                     faBaoInfo.FabaoPowerupConfig.PromotePieceNum[itemConfig2.quality - 1]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itemWidgetType1s.Add(itemWidgetType1); 
														 | 
														
														 | 
														
															                 itemWidgetType1s.Add(itemWidgetType1); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            LayoutRebuilder.ForceRebuildLayoutImmediate(ItemRoot); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         private async CTask CreatFaBaoSkillWidget(FaBaoInfo faBaoInfo) 
														 | 
														
														 | 
														
															         private async CTask CreatFaBaoSkillWidget(FaBaoInfo faBaoInfo) 
														 |