mapLogic
parent
f52d970ea6
commit
785bd98be9
|
@ -2627,7 +2627,6 @@ public class MapLogic {
|
|||
Map<Integer,SEventPointConfig> sEventPointConfig = SEventPointConfig.sEventPointConfigMap;
|
||||
Set<Integer> destoryCell = new HashSet<>();
|
||||
Map<Integer, MapPointConfig> configMap = MapPointConfig.scMapEventMap;
|
||||
Map<int[],Float> rewardMap = new HashMap<>();
|
||||
int mosterAmount = 0;
|
||||
Map<Integer, Cell> mapInfo = mapManager.getMapInfo();
|
||||
List<Integer> rewardResult= new ArrayList<>();
|
||||
|
@ -2654,7 +2653,6 @@ public class MapLogic {
|
|||
LOGGER.info("几种:{}",mapInfo.size());
|
||||
int[] x = Arrays.stream(destoryCell.toArray(new Integer[destoryCell.size()])).mapToInt(Integer::valueOf).toArray();
|
||||
BehaviorUtil.destoryPoints(user,x);
|
||||
rewardMap.put(y,1f);
|
||||
LOGGER.info("怪物数量:{}",mosterAmount);
|
||||
int[] bombReward = rewardResult.stream().mapToInt(Integer::valueOf).toArray();
|
||||
CommonProto.Drop.Builder drop = ItemUtil.drop(user, bombReward, 1,1,BIReason.BOMB_REWARD);
|
||||
|
|
Loading…
Reference in New Issue