fix bug
parent
9c6925a159
commit
6ee1c9fc4a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue