fix
parent
89716f3c90
commit
f768d3552f
|
@ -88,7 +88,7 @@ public class MissionLoigc {
|
|||
Integer count =0;
|
||||
switch (missionType){
|
||||
case RECRUITMENT_RANDOM_HEROES:
|
||||
count = cumulationData.getRandomCountMap().get(1);
|
||||
// count = cumulationData.getRandomCountMap().get(1);
|
||||
break;
|
||||
case COLLECT_QUALITY_HERO:
|
||||
Map<Integer, Integer> getsHeroCountMap = cumulationData.getsHeroCountMap();
|
||||
|
@ -144,19 +144,19 @@ public class MissionLoigc {
|
|||
count = user.getPlayerInfoManager().getMaxForce();
|
||||
break;
|
||||
case USER_CONSUMER_GEM:
|
||||
count=cumulationData.getConsumeMaterialMap().get(missionSubType);
|
||||
//count=cumulationData.getConsumeMaterialMap().get(missionSubType);
|
||||
break;
|
||||
case USER_WORKSHOP_LEVEL:
|
||||
count =user.getWorkShopController().getWorkShopLevel();
|
||||
break;
|
||||
case USER_GET_EQUIP_QUALITY:
|
||||
Map<Integer, Integer> equipCountMap = cumulationData.getsEquipCountMap();
|
||||
/* Map<Integer, Integer> equipCountMap = cumulationData.getsEquipCountMap();
|
||||
for(Map.Entry<Integer,Integer> item:equipCountMap.entrySet()){
|
||||
SEquipConfig sEquipConfig = SEquipConfig.getsEquipConfigById(item.getKey());
|
||||
if(sEquipConfig.getQuality() == missionSubType){
|
||||
count += item.getValue();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
break;
|
||||
case LEVEL_STORY_PASS:
|
||||
case GENERAL_STORY_PASS:
|
||||
|
|
Loading…
Reference in New Issue