DESKTOP-FB72PO8\Administrator преди 4 дни
родител
ревизия
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));