|  | @@ -5,6 +5,7 @@ using Excel2Json;
 | 
	
		
			
				|  |  |  using Fort23.Core;
 | 
	
		
			
				|  |  |  using GameLogic.Bag;
 | 
	
		
			
				|  |  |  using GameLogic.Combat.CombatTool;
 | 
	
		
			
				|  |  | +using GameLogic.Combat.Hero;
 | 
	
		
			
				|  |  |  using GameLogic.Combat.Skill;
 | 
	
		
			
				|  |  |  using UnityEngine;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -41,22 +42,23 @@ namespace Fort23.Mono
 | 
	
		
			
				|  |  |              UIManager.Instance.DormancyAllGComponent<BossHpWidget>();
 | 
	
		
			
				|  |  |              UIManager.Instance.DormancyGComponent(playerHeroHpWidget);
 | 
	
		
			
				|  |  |              playerHeroHpWidget = null;
 | 
	
		
			
				|  |  | +            UIManager.Instance.DormancyAllGComponent<MagicWeaponWidget>();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          protected override void AddEvent()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -            CombatEventManager.Instance.AddEventListener(CombatEventType.AddMagicWeaponHeroEntity,
 | 
	
		
			
				|  |  | -                AddMagicWeaponHeroEntity);
 | 
	
		
			
				|  |  | +            // CombatEventManager.Instance.AddEventListener(CombatEventType.AddMagicWeaponHeroEntity,
 | 
	
		
			
				|  |  | +            //     AddMagicWeaponHeroEntity);
 | 
	
		
			
				|  |  |              CombatEventManager.Instance.AddEventListener(CombatEventType.AddUseGongFa, AddUseGongFa);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              StaticUpdater.Instance.AddLateUpdateCallBack(Update);
 | 
	
		
			
				|  |  | -            CameraSelect.value = 0.7f;
 | 
	
		
			
				|  |  | +            // CameraSelect.value = 0.7f;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          protected override void DelEvent()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -            CombatEventManager.Instance.RemoveEventListener(CombatEventType.AddMagicWeaponHeroEntity,
 | 
	
		
			
				|  |  | -                AddMagicWeaponHeroEntity);
 | 
	
		
			
				|  |  | +            // CombatEventManager.Instance.RemoveEventListener(CombatEventType.AddMagicWeaponHeroEntity,
 | 
	
		
			
				|  |  | +            //     AddMagicWeaponHeroEntity);
 | 
	
		
			
				|  |  |              CombatEventManager.Instance.RemoveEventListener(CombatEventType.AddUseGongFa, AddUseGongFa);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              StaticUpdater.Instance.RemoveLateUpdateCallBack(Update);
 | 
	
	
		
			
				|  | @@ -78,19 +80,27 @@ namespace Fort23.Mono
 | 
	
		
			
				|  |  |              useQuqueSkill.transform.SetAsLastSibling();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        private async void AddMagicWeaponHeroEntity(IEventData ieveData)
 | 
	
		
			
				|  |  | +        private async void AddMagicWeaponHeroEntity()
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  | -            AddMagicWeaponHeroEntityEventData eventData = ieveData as AddMagicWeaponHeroEntityEventData;
 | 
	
		
			
				|  |  | +            CombatMagicWeaponEntity[] magicWeaponEntities = CombatController.currActiveCombat.CombatHeroController
 | 
	
		
			
				|  |  | +                .playerHeroEntity.MagicWeaponControl.AllMagicWeapon;
 | 
	
		
			
				|  |  | +            int count = CombatController.currActiveCombat.CombatHeroController.playerHeroEntity.MagicWeaponControl
 | 
	
		
			
				|  |  | +                .MagicWeaponCount;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            for (int i = 0; i < count; i++)
 | 
	
		
			
				|  |  | +            {
 | 
	
		
			
				|  |  | +                CombatMagicWeaponEntity weaponEntity = magicWeaponEntities[i];
 | 
	
		
			
				|  |  | +                MagicWeaponWidget shengShiEventWidget =
 | 
	
		
			
				|  |  | +                    await UIManager.Instance.CreateGComponentForObject<MagicWeaponWidget>(MagicWeaponWidget, null,
 | 
	
		
			
				|  |  | +                        MagicWeapon,
 | 
	
		
			
				|  |  | +                        isInstance: true);
 | 
	
		
			
				|  |  | +                shengShiEventWidget.InitWidget(weaponEntity);
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            MagicWeaponWidget shengShiEventWidget =
 | 
	
		
			
				|  |  | -                await UIManager.Instance.CreateGComponentForObject<MagicWeaponWidget>(MagicWeaponWidget, null,
 | 
	
		
			
				|  |  | -                    MagicWeapon,
 | 
	
		
			
				|  |  | -                    isInstance: true);
 | 
	
		
			
				|  |  | -            shengShiEventWidget.InitWidget(eventData.CombatMagicWeaponEntity);
 | 
	
		
			
				|  |  |              // shengShiEventWidget.InitShengShiEventWidget(configId);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | - 
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          public async CTask ShowPanel()
 | 
	
		
			
				|  |  |          {
 | 
	
	
		
			
				|  | @@ -110,6 +120,8 @@ namespace Fort23.Mono
 | 
	
		
			
				|  |  |                          isInstance: true);
 | 
	
		
			
				|  |  |                  bossHpWidget.ShowWidget(enemy);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            AddMagicWeaponHeroEntity();
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -124,8 +136,6 @@ namespace Fort23.Mono
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |          private void CameraSelect_onValueChanged(float value)
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |              if (CombatController.currActiveCombat == null ||
 |