巅峰赛编队有竞技场进攻变成竞技场防守
parent
b0ad311440
commit
a3716c257f
|
|
@ -546,7 +546,7 @@ public class ChampionshipLogic {
|
||||||
MemberInfo memberInfo = RedisUtil.getInstence().getMapEntry(RedisKey.CHAMPION_JOIN, "", Integer.toString(uid), MemberInfo.class);
|
MemberInfo memberInfo = RedisUtil.getInstence().getMapEntry(RedisKey.CHAMPION_JOIN, "", Integer.toString(uid), MemberInfo.class);
|
||||||
FamilyFightInfo fightInfo = memberInfo.getFightInfo();
|
FamilyFightInfo fightInfo = memberInfo.getFightInfo();
|
||||||
if(fightInfo == null || progress%10%4 == 0){
|
if(fightInfo == null || progress%10%4 == 0){
|
||||||
return PlayerLogic.getInstance().getUserTeamOneInfo(uid,201);
|
return PlayerLogic.getInstance().getUserTeamOneInfo(uid,GlobalsDef.TEAM_ARENA_DEFENSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
User user = UserManager.getUser(uid);
|
User user = UserManager.getUser(uid);
|
||||||
|
|
@ -716,7 +716,7 @@ public class ChampionshipLogic {
|
||||||
|
|
||||||
|
|
||||||
public static void snapOneFightInfo(int uid,Map<Integer,MemberInfo> joinMembers) throws Exception {
|
public static void snapOneFightInfo(int uid,Map<Integer,MemberInfo> joinMembers) throws Exception {
|
||||||
int snapTeamId = 201;
|
int snapTeamId = GlobalsDef.TEAM_ARENA_DEFENSE;
|
||||||
|
|
||||||
Map<Integer, SArenaRobotConfig> config = STableManager.getConfig(SArenaRobotConfig.class);
|
Map<Integer, SArenaRobotConfig> config = STableManager.getConfig(SArenaRobotConfig.class);
|
||||||
if(config.containsKey(uid)){
|
if(config.containsKey(uid)){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue