hint
parent
8abdf0aa15
commit
0fb2d0d0bd
|
@ -138,6 +138,7 @@ public enum ErrorCode implements IErrorCode {
|
|||
SOUL_EQUIP_LEVE_MAX(103,"最高等级"),
|
||||
MAP_IN(105,"在地图探索中,不可以操作"),
|
||||
HERO_LIVE_AGAIN(106,"英雄{0}秒后复活"),
|
||||
REWARD_COLLECTING(107,"奖励正在积攒中!"),
|
||||
|
||||
;
|
||||
private static final Set<Integer> CodeSet = new HashSet<>();
|
||||
|
|
|
@ -200,6 +200,9 @@ public class CombatLogic {
|
|||
Map<Integer, CommonProto.Drop> adventureFastReward =null;
|
||||
if(type == 2){
|
||||
adventureFastReward = getNewAdventureReward(user,false);
|
||||
if(adventureFastReward.get(1).getItemlistCount()==0){
|
||||
throw new ErrorCodeException(ErrorCode.REWARD_COLLECTING);
|
||||
}
|
||||
}else{
|
||||
String err ="";
|
||||
if(position == 0){
|
||||
|
|
Loading…
Reference in New Issue