fix adventure

back_recharge
wangyuan 2019-12-05 14:35:17 +08:00
parent f755892340
commit f35bd27201
1 changed files with 2 additions and 1 deletions

View File

@ -202,6 +202,7 @@ public class CombatLogic {
if(adventureFastReward.get(1).getItemlistCount()==0){
throw new ErrorCodeException(ErrorCode.REWARD_COLLECTING);
}
user.getUserMissionManager().onGameEvent(user,GameEvent.ADVENTURE_TAKEREWARD,1);
}else{
String err ="";
if(position == 0){
@ -229,7 +230,7 @@ public class CombatLogic {
Map<Integer, CommonProto.Drop> result = new HashMap<>(2);
result.put(1,baseBuilder.build());
result.put(2,randomBuilder.build());
user.getUserMissionManager().onGameEvent(user,GameEvent.ADVENTURE_TAKEREWARD,1);
return result;
}