72 lines
2.8 KiB
JavaScript
72 lines
2.8 KiB
JavaScript
"use strict";
|
||
cc._RF.push(module, '2be12k/1zBAZJdMi+m8PKMq', 'heaven_const');
|
||
// Scripts/mod/pve/heaven/heaven_const.js
|
||
|
||
"use strict";
|
||
|
||
var _HeavenConst$Chapter_, _HeavenConst$Chapter_2, _HeavenConst$Chapter_3, _HeavenConst$Chapter_4;
|
||
var HeavenConst = {};
|
||
|
||
// 章节通关状态
|
||
HeavenConst.Chapter_Pass_Status = {
|
||
NotPass: 0,
|
||
// 未通关
|
||
NormalPass: 1,
|
||
// 普通通关(所有关卡都打赢)
|
||
FullPass: 2 // 满星通关
|
||
};
|
||
|
||
HeavenConst.Tab_Index = {
|
||
Dungeon: 1,
|
||
// 天界副本
|
||
DialRecord: 2 // 天界祈祷
|
||
};
|
||
|
||
// 每六章的高度or=
|
||
HeavenConst.Chapter_List_Height = 840;
|
||
|
||
// 距离底部的高度
|
||
HeavenConst.Chapter_List_Bottom = 0;
|
||
|
||
// 章节的位置(类型1)
|
||
HeavenConst.Chapter_Pos_1 = (_HeavenConst$Chapter_ = {}, _HeavenConst$Chapter_[1] = cc.v2(165, 110), _HeavenConst$Chapter_[2] = cc.v2(510, 110), _HeavenConst$Chapter_[3] = cc.v2(550, 384), _HeavenConst$Chapter_[4] = cc.v2(248, 384), _HeavenConst$Chapter_[5] = cc.v2(162, 646), _HeavenConst$Chapter_[6] = cc.v2(530, 646), _HeavenConst$Chapter_);
|
||
|
||
// 章节的位置(类型2)
|
||
HeavenConst.Chapter_Pos_2 = (_HeavenConst$Chapter_2 = {}, _HeavenConst$Chapter_2[1] = cc.v2(530, 110), _HeavenConst$Chapter_2[2] = cc.v2(162, 110), _HeavenConst$Chapter_2[3] = cc.v2(162, 384), _HeavenConst$Chapter_2[4] = cc.v2(550, 354), _HeavenConst$Chapter_2[5] = cc.v2(530, 646), _HeavenConst$Chapter_2[6] = cc.v2(162, 646), _HeavenConst$Chapter_2);
|
||
|
||
// 章节连接线的位置和长度(类型1)
|
||
HeavenConst.Chapter_Line_Info_1 = (_HeavenConst$Chapter_3 = {}, _HeavenConst$Chapter_3[1] = [cc.v2(296, 110), 80, 0], _HeavenConst$Chapter_3[2] = [cc.v2(536, 259), 80, 90], _HeavenConst$Chapter_3[3] = [cc.v2(421, 384), 80, 0], _HeavenConst$Chapter_3[4] = [cc.v2(200, 508), 80, 90], _HeavenConst$Chapter_3[5] = [cc.v2(339, 646), 180, 0], _HeavenConst$Chapter_3[6] = [cc.v2(530, 822), 80, 90], _HeavenConst$Chapter_3);
|
||
|
||
// 章节连接线的位置和长度(类型2)
|
||
HeavenConst.Chapter_Line_Info_2 = (_HeavenConst$Chapter_4 = {}, _HeavenConst$Chapter_4[1] = [cc.v2(332, 110), 140, 0], _HeavenConst$Chapter_4[2] = [cc.v2(160, 276), 50, 90], _HeavenConst$Chapter_4[3] = [cc.v2(360, 384), 220, 0], _HeavenConst$Chapter_4[4] = [cc.v2(538, 505), 80, 90], _HeavenConst$Chapter_4[5] = [cc.v2(365, 646), 130, 0], _HeavenConst$Chapter_4[6] = [cc.v2(156, 792), 80, 90], _HeavenConst$Chapter_4);
|
||
|
||
// 红点
|
||
HeavenConst.Red_Index = {
|
||
Count: 1,
|
||
// 挑战次数
|
||
Award: 2,
|
||
// 章节奖励
|
||
Dial: 3,
|
||
// 神装转盘免费次数
|
||
DialAward: 4 // 神装祈祷奖励
|
||
};
|
||
|
||
// 神装抽奖的方式
|
||
HeavenConst.Dial_Way = {
|
||
Free: 1,
|
||
// 免费抽
|
||
Item: 2,
|
||
// 道具抽
|
||
Gold: 3 // 钻石抽
|
||
};
|
||
|
||
//许愿位置
|
||
HeavenConst.Dial_Wish_Pos = {
|
||
DialWishPos1: 0,
|
||
DialWishPos2: 1,
|
||
DialWishPos3: 2,
|
||
DialWishPos4: 3
|
||
};
|
||
module.exports = HeavenConst;
|
||
|
||
cc._RF.pop(); |