errorcode修改
parent
d872a55549
commit
4908ac4145
|
@ -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};
|
||||||
|
|
Loading…
Reference in New Issue