竞技场重写七版,竞技场任务
parent
707fc9b22f
commit
05c7077b58
|
@ -45,18 +45,11 @@ public class CumulationData {
|
||||||
* 获得某品质装备数量
|
* 获得某品质装备数量
|
||||||
*/
|
*/
|
||||||
private int[] sEquipQualityCount =new int[7]; // 装备数量统计
|
private int[] sEquipQualityCount =new int[7]; // 装备数量统计
|
||||||
|
|
||||||
private int secretRandomCount; // 抽取秘盒次数
|
private int secretRandomCount; // 抽取秘盒次数
|
||||||
|
|
||||||
private int killInvasionbossCount; //外敌入侵击杀次数
|
private int killInvasionbossCount; //外敌入侵击杀次数
|
||||||
|
|
||||||
private int arenaFightNums;
|
private int arenaFightNums;
|
||||||
|
private long arenaScore;
|
||||||
private int arenaScore;
|
|
||||||
|
|
||||||
|
|
||||||
private long consumeGem;
|
private long consumeGem;
|
||||||
|
|
||||||
private Map<Integer,Integer> storyFightInfo =new HashMap<>(3);
|
private Map<Integer,Integer> storyFightInfo =new HashMap<>(3);
|
||||||
|
|
||||||
public int buyGoldTimes; // 买金币次数
|
public int buyGoldTimes; // 买金币次数
|
||||||
|
@ -400,7 +393,7 @@ public class CumulationData {
|
||||||
return arenaFightNums;
|
return arenaFightNums;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getArenaScore() {
|
public long getArenaScore() {
|
||||||
return arenaScore;
|
return arenaScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -408,7 +401,7 @@ public class CumulationData {
|
||||||
this.arenaFightNums = arenaFightNums;
|
this.arenaFightNums = arenaFightNums;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setArenaScore(int arenaScore) {
|
public void setArenaScore(long arenaScore) {
|
||||||
this.arenaScore = arenaScore;
|
this.arenaScore = arenaScore;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -944,7 +944,7 @@ public class MissionLoigc {
|
||||||
count = cumulationData.getArenaFightNums();
|
count = cumulationData.getArenaFightNums();
|
||||||
break;
|
break;
|
||||||
case ARENA_SCORE:
|
case ARENA_SCORE:
|
||||||
count = cumulationData.getArenaScore();
|
count = (int) cumulationData.getArenaScore();
|
||||||
break;
|
break;
|
||||||
case USER_LEVEL:
|
case USER_LEVEL:
|
||||||
count = user.getPlayerInfoManager().getLevel();
|
count = user.getPlayerInfoManager().getLevel();
|
||||||
|
|
|
@ -9,7 +9,7 @@ public class ArenaChallengeManager implements BaseDataManager{
|
||||||
CumulationData.Result result = null;
|
CumulationData.Result result = null;
|
||||||
int fightResult = (int) parm[0];
|
int fightResult = (int) parm[0];
|
||||||
if(missionType == MissionType.ARENA_SCORE){
|
if(missionType == MissionType.ARENA_SCORE){
|
||||||
int myscore = (int)parm[1];
|
long myscore = (long)parm[1];
|
||||||
if(myscore > data.getArenaScore()){
|
if(myscore > data.getArenaScore()){
|
||||||
data.setArenaScore(myscore);
|
data.setArenaScore(myscore);
|
||||||
result = new CumulationData.Result(missionType);
|
result = new CumulationData.Result(missionType);
|
||||||
|
|
Loading…
Reference in New Issue