back_recharge
wangyuan 2019-05-31 14:06:18 +08:00
parent 693515e205
commit 9bfb2b61c8
2 changed files with 3 additions and 3 deletions

View File

@ -1331,7 +1331,7 @@ public class HeroLogic {
public int calPokenmonForce(Pokemon pokemon){
Map<Integer,Integer> pokemonAttributeMap = new HashMap<>();
combinePokemonAttribute(pokemonAttributeMap, pokemon);
return calForce(pokemonAttributeMap);
return calForce(pokemonAttributeMap)*5;
}
public int calAllPokenmonForce(User user){
@ -1340,7 +1340,7 @@ public class HeroLogic {
for(Pokemon pokemon : pokemonMap.values()){
combinePokemonAttribute(pokemonAttributeMap, pokemon);
}
return calForce(pokemonAttributeMap);
return calForce(pokemonAttributeMap)*5;
}
private void combinePokemonAttribute(Map<Integer, Integer> pokemonAttributeMap, Pokemon pokemon) {

View File

@ -92,7 +92,7 @@ public class FightDataUtil {
unitData.set("passivity", getPassivity(unitSkill));
}
CommonProto.FightUnitInfo fightUnitList = data.getFightUnitList(0);
CommonProto.FightUnitInfo fightUnitList = data.getFightUnitList(i);
String property = fightUnitList.getProperty();
unitData.set("property", getMonsterProperty(property));