pvp随机地图
This commit is contained in:
@@ -39,7 +39,7 @@ import { ABI_TYPE_TO_STAGE } from "../consts";
|
||||
import { dicPvpOpponent } from './dictionary/DicPvpOpponent';
|
||||
import { dicPvpTeamLevel } from './dictionary/DicPvpTeamLevel';
|
||||
import { dicPvpRefreshConsume } from './dictionary/DicPvpRefreshConsume';
|
||||
|
||||
import { dicGkPvp, dicGkPvps } from './dictionary/DicGkPvp'
|
||||
export const gameData = {
|
||||
blurprtCompose: dicBlueprtCompose,
|
||||
blueprtPossibility: dicBlueprtPossibility,
|
||||
@@ -91,7 +91,9 @@ export const gameData = {
|
||||
pvpOpponent: dicPvpOpponent,
|
||||
pvpTeamLevel: dicPvpTeamLevel,
|
||||
pvpWar: dicWarPvp,
|
||||
pvpRefreshConsume: dicPvpRefreshConsume
|
||||
pvpRefreshConsume: dicPvpRefreshConsume,
|
||||
pvpGk: dicGkPvp,
|
||||
pvpGks: dicGkPvps,
|
||||
};
|
||||
|
||||
// 在此提供一些原先在gamedata中提供的方法,以便更方便获取gameData数据
|
||||
@@ -267,4 +269,13 @@ export function getPLvByScore(score: number) {
|
||||
if(score < topFiveMax) break;
|
||||
}
|
||||
return lv;
|
||||
}
|
||||
|
||||
export function getPvpGkByWarId (warId: number) {
|
||||
return gameData.pvpGk.get(warId);
|
||||
}
|
||||
|
||||
export function getPvpGkWarIds() {
|
||||
let warIds = gameData.pvpGks;
|
||||
return warIds;
|
||||
}
|
||||
Reference in New Issue
Block a user