31 lines
673 B
JavaScript
31 lines
673 B
JavaScript
"use strict";
|
|
cc._RF.push(module, 'f3082WaQQRKUqxL+1WAqk2w', 'elitematch_const');
|
|
// Scripts/mod/pvp/rank/elitematch_const.js
|
|
|
|
"use strict";
|
|
|
|
var ElitematchConst = {};
|
|
ElitematchConst.MatchType = {
|
|
eNormalMatch: 1,
|
|
//常規賽
|
|
eKingMatch: 2 //王者賽
|
|
};
|
|
|
|
//打開宣言類型
|
|
ElitematchConst.MsgType = {
|
|
eElitematch: 1,
|
|
//精英段位賽
|
|
eYearMonster: 2 //年獸活動
|
|
};
|
|
|
|
ElitematchConst.data_zone_fun = function (key) {
|
|
var data = game.configs.arena_elite_data.data_zone[key];
|
|
if (data == null) {
|
|
console.log('(game.configs.ArenaEliteData.data_zone not found', key);
|
|
return;
|
|
}
|
|
return data;
|
|
};
|
|
module.exports = ElitematchConst;
|
|
|
|
cc._RF.pop(); |