修复更改战斗不生效问题
parent
e823180834
commit
0501db4714
|
|
@ -513,7 +513,7 @@ public class ChampionshipLogic {
|
|||
}
|
||||
MemberInfo memberInfo = RedisUtil.getInstence().getMapEntry(RedisKey.CHAMPION_JOIN, "", Integer.toString(uid), MemberInfo.class);
|
||||
FamilyFightInfo fightInfo = memberInfo.getFightInfo();
|
||||
if(fightInfo == null){
|
||||
if(fightInfo == null || progress%10%4 == 0){
|
||||
return PlayerLogic.getInstance().getUserTeamOneInfo(uid,201);
|
||||
}
|
||||
|
||||
|
|
@ -618,7 +618,7 @@ public class ChampionshipLogic {
|
|||
int enemyId = arenaRecord.getDefUid();
|
||||
int fightResult = arenaRecord.getFightResult();
|
||||
if(roundTimes == arenaRecord.getRoundTims()){
|
||||
if(progress%10%4 != 0 || fightResult==-2){
|
||||
if(progress%10%4 != 3 || fightResult==-2){
|
||||
fightResult =-1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue