报空 修改

lvxinran 2020-08-15 16:25:45 +08:00
parent 00198786e9
commit c3aa6aaec9
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class CombatLogic {
}
}
for(Map.Entry<Integer,Integer> entry:effectValueMap.entrySet()){
int finalValue = value.get(entry.getKey()) + entry.getValue();
int finalValue = value.getOrDefault(entry.getKey(),0) + entry.getValue();
if(finalValue < 0){
finalValue = 0;
}