back_recharge
wangyuan 2019-08-22 19:39:57 +08:00
parent 9c6925a159
commit 6ee1c9fc4a
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class CombatLogic {
continue;
}
Map<Integer, Integer> heroAllAttribute = user.getMapManager().getHeroAllAttributeByHeroId(hero.getId());
if(heroAllAttribute == null || heroAllAttribute.get(HeroAttributeEnum.CurHP) <= 0){
if(heroAllAttribute == null || heroAllAttribute.get(HeroAttributeEnum.CurHP.getPropertyId()) <= 0){
continue;
}