fix new mission

back_recharge
wangyuan 2019-08-05 11:30:58 +08:00
parent 72ac6a9749
commit 54c4f06df1
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class DataManagerDistributor {
judges.put(MissionType.USER_FORCE,new DefaultDataManager()); judges.put(MissionType.USER_FORCE,new DefaultDataManager());
judges.put(MissionType.USER_CONSUMER_GEM,new ConsumerMaterialDataManager()); judges.put(MissionType.USER_CONSUMER_GEM,new ConsumerMaterialDataManager());
judges.put(MissionType.USER_CONSUMER_STAMINA,new ConsumerMaterialDataManager());
judges.put(MissionType.USER_WORKSHOP_LEVEL,new DefaultDataManager()); judges.put(MissionType.USER_WORKSHOP_LEVEL,new DefaultDataManager());

View File

@ -91,6 +91,7 @@ public class MissionEventDistributor {
typeList = new ArrayList<>(); typeList = new ArrayList<>();
typeList.add(MissionType.USER_CONSUMER_GEM); typeList.add(MissionType.USER_CONSUMER_GEM);
typeList.add(MissionType.USER_CONSUMER_STAMINA);
eventEnumListMap.put(GameEvent.CONSUMER_MATERIAL,typeList); eventEnumListMap.put(GameEvent.CONSUMER_MATERIAL,typeList);
eventProcessor.put(GameEvent.CONSUMER_MATERIAL,new CumulationDataEventProcessor()); eventProcessor.put(GameEvent.CONSUMER_MATERIAL,new CumulationDataEventProcessor());