errorcode修改

lvxinran 2020-12-30 02:10:45 +08:00
parent d872a55549
commit 4908ac4145
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ public class CombatLogic {
try { try {
AdventureBoss adventureBoss = RedisUtil.getInstence().getMapEntry(RedisKey.ADVENTRUEN_BOSS_INFO, "", bossId, AdventureBoss.class); AdventureBoss adventureBoss = RedisUtil.getInstence().getMapEntry(RedisKey.ADVENTRUEN_BOSS_INFO, "", bossId, AdventureBoss.class);
if(adventureBoss == null){ if(adventureBoss == null){
throw new ErrorCodeException(ErrorCode.ADVENTURE_BOSS_CHALLENGE_BOSS_KILL); throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
} }
int[][] costs = new int[1][]; int[][] costs = new int[1][];
costs[0] =new int[]{Global.INVASIONBOSS_TICKET,fightTimes}; costs[0] =new int[]{Global.INVASIONBOSS_TICKET,fightTimes};