关卡日志修改
parent
c90d741866
commit
e347397922
|
@ -2114,6 +2114,7 @@ public class MapLogic {
|
|||
user.getTeamPosManager().setCurTeamPosId(teamId);
|
||||
String fightInfo = fightId + "#" + teamId;
|
||||
String key = RedisKey.getKey(RedisKey.LEVE_DIFFICULTY_INFO, String.valueOf(uid), false);
|
||||
LOGGER.info("关卡战斗start{},{}",uid,fightInfo);
|
||||
RedisUtil.getInstence().set(key, fightInfo, -1);
|
||||
//扣除预先道具
|
||||
FightInfoProto.FightStartResponse.Builder fightStartResponse = FightInfoProto.FightStartResponse.newBuilder();
|
||||
|
@ -2137,6 +2138,7 @@ public class MapLogic {
|
|||
LOGGER.info("endFight() uid=>{} fightId=>{},checkFightId={}", uid, fightId, checkFightId);
|
||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
|
||||
}
|
||||
LOGGER.info("关卡战斗end{},{}",uid,fightInfos);
|
||||
SMainLevelConfig sMainLevelConfig = SMainLevelConfig.config.get(fightId);
|
||||
FightEvent fightEvent = new FightEvent(uid, -1, sMainLevelConfig.getRankTime(),frames, GameFightType.StoryFight);
|
||||
FightResult fightResult = FightDispatcher.dispatcher(fightEvent);
|
||||
|
|
Loading…
Reference in New Issue