编队灵兽修改

lvxinran 2020-11-03 05:26:52 +08:00
parent 51dbb4e596
commit 51ef8ff581
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ public class PlayerLogic {
throw new ErrorCodeException(ErrorCode.newDefineCode("hero no"));
}
PlayerInfoProto.ViewHeroInfoResponse.Builder builder = PlayerInfoProto.ViewHeroInfoResponse.newBuilder();
Map<Integer, Integer> heroNotBufferAttribute = HeroLogic.getInstance().calHeroNotBufferAttribute(userInMem, hero, true, 0);
Map<Integer, Integer> heroNotBufferAttribute = HeroLogic.getInstance().calHeroNotBufferAttribute(userInMem, hero, true, 1);
for(Map.Entry<Integer,Integer> item : heroNotBufferAttribute.entrySet()){
builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(item.getKey()).setPropertyValue(item.getValue()).build());
}