back_recharge
gaojie 2019-07-03 11:53:35 +08:00
commit 5781cad3f8
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ public class MapLogic {
STrialConfig sTrialConfig = STrialConfig.sTrialConfigMap.get(mapManager.getTower());
int[][] randomMonsterType = sTrialConfig.getRandomMonsterType();
if(cell.getCellId()!=mapManager.getBossXY()){
if (randomMonsterType[0][1] == cell.getPointId()&&mapManager.getEssenceValue()==-1) {
if (randomMonsterType[0][1] == cell.getPointId()&&mapManager.getEssenceValue()!=-1) {
mapManager.setEssenceValue(mapManager.getEssenceValue() + sTrialConfig.getNormalEnergy());
} else {
mapManager.setEssenceValue(mapManager.getEssenceValue() + sTrialConfig.getEliteEnergy());