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