瀏覽代碼

修改bug

DESKTOP-FB72PO8\Administrator 2 天之前
父節點
當前提交
8c2b455a31
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Assets/Scripts/GameLogic/Combat/CombatType/LevelBattleCombatType.cs

+ 4 - 4
Assets/Scripts/GameLogic/Combat/CombatType/LevelBattleCombatType.cs

@@ -148,8 +148,8 @@ namespace GameLogic.Combat.CombatType
                 cTaskAwaitBuffer.AddTask(heroEntity.InitForObject(gameObjectPool,new CombatHeroAi(), PlayerManager.Instance.myHero, pos,
                     delegate(CombatHeroEntity entity)
                     {
-                        entity.CurrCombatHeroInfo.hp = (EncryptionLong)(20000);
-                        entity.MaxCombatHeroInfo.hp = (EncryptionLong)(20000);
+                        // entity.CurrCombatHeroInfo.hp = (EncryptionLong)(20000);
+                        // entity.MaxCombatHeroInfo.hp = (EncryptionLong)(20000);
                         combatController.CombatHeroController.AddHero(entity);
                         CombatController.currActiveCombat.playerHeroEntity = heroEntity;
                     }, isPlayer: true));
@@ -163,8 +163,8 @@ namespace GameLogic.Combat.CombatType
                 cTaskAwaitBuffer.AddTask(heroEntity.Init(new CombatHeroAi(), PlayerManager.Instance.myHero, pos,
                     delegate(CombatHeroEntity entity)
                     {
-                        entity.CurrCombatHeroInfo.hp = (EncryptionLong)(20000);
-                        entity.MaxCombatHeroInfo.hp = (EncryptionLong)(20000);
+                        // entity.CurrCombatHeroInfo.hp = (EncryptionLong)(20000);
+                        // entity.MaxCombatHeroInfo.hp = (EncryptionLong)(20000);
                         combatController.CombatHeroController.AddHero(entity);
                         CombatController.currActiveCombat.playerHeroEntity = heroEntity;
                     }, isPlayer: true));