DESKTOP-FB72PO8\Administrator il y a 1 jour
Parent
commit
8c2b455a31

+ 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));