Commit eedf494c authored by wildfirecode's avatar wildfirecode

Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev

parents 1774e2bb 91f6ba74
......@@ -217,7 +217,8 @@ export default class MainScene extends Scene {
this.chapterTxt.text = "第" + this.chapter + "关";
//关卡数据,1期定制,70,后面35关地图一致,步数减少
var mapDataIndex = this.chapter;
if (this.chapter >= 56) {
//56到70的话,中间36到50
if (this.chapter >= 56 && this.chapter <= 70) {
//循环36到50
mapDataIndex = this.chapter - 20
}
......@@ -233,8 +234,8 @@ export default class MainScene extends Scene {
NetManager.ins.showLog(getlogItem(10))
NetManager.ins.showLog(getlogItem(13))
//步数初始化,1期定制,
if (this.chapter >= 56) {
//步数初始化,1期定制,56到70的话
if (this.chapter >= 56 && this.chapter <= 70) {
this.steps = this.chapterData.stepCount - 4;
}
else {
......@@ -2373,7 +2374,7 @@ export default class MainScene extends Scene {
Loading2.instace.show();
NetManager.ins.hc_submit((s, data) => {
if (s) {
wait(200).then(()=>{
wait(200).then(() => {
updateMainTimerAfterGetData();//submit之后再判断一次home,更新倒计时
});
const submitData = DataManager.ins.getData('hc_submit').data;
......
......@@ -28,7 +28,7 @@ export default class StartPanel extends Panel {
this['levelTxt'].text = `第${data}关`;
this._level = data;
let mapDataIndex = data;
if (data >= 56) {
if (data >= 56 && data <= 70) {
//循环36到50
mapDataIndex = data - 20
}
......@@ -103,7 +103,7 @@ export default class StartPanel extends Panel {
// Loading.instace.hide();
this.touchChildren = true;
this.touchEnabled = true;
wait(5000).then(()=>{
wait(5000).then(() => {
updateMainTimerAfterGetData();
});
if (success) {
......
......@@ -117,7 +117,7 @@ export const Chapters: ChapterData[] = [
0, 1, 1, 1, 1, 1, 1, 1, 0,
],
generateLats: [0, 1, 1, 1, 1, 1, 1, 1, 0],
connectedLats:[[3,21],[4,22],[5,23]]
connectedLats: [[3, 21], [4, 22], [5, 23]]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
......@@ -621,7 +621,7 @@ export const Chapters: ChapterData[] = [
]
// connectedLats: [[27, 45], [28, 46], [29, 47]]
},
baseElementTypes: [0, 1, 2, 3,4],
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 22,
passTarget: {
......@@ -1632,7 +1632,7 @@ export const Chapters: ChapterData[] = [
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
],
connectedLats:[[22,40],[40,58]]
connectedLats: [[22, 40], [40, 58]]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
......@@ -2191,5 +2191,1125 @@ export const Chapters: ChapterData[] = [
35000
]
},
////////////////////////////
//56到70,用中间36到50的数据,步数减4,所以先置空,还是先拷贝上吧,,现在逻辑并不用56到70关的数据
//第五十六关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3, 3, 3, 3, 3, 3, 3, 3,
1, 3, 1, 3, 1, 3, 1, 3, 1,
3, 1, 3, 1, 3, 1, 3, 1, 3,
1, 3, 1, 3, 1, 3, 1, 3, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 2, 4, 2, 4, 2, 4, 2, 4,
2, 4, 2, 4, 2, 4, 2, 4, 2,
4, 2, 4, 2, 4, 2, 4, 2, 4,
2, 4, 2, 4, 2, 4, 2, 4, 2,
4, 2, 4, 2, 4, 2, 4, 2, 4,
2, 4, 2, 4, 2, 4, 2, 4, 2,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.2,
stepCount: 35 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 40
}
],
},
starScores: [
30000,
40000,
60000
]
},
//第五十七关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 1, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 3, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 4, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 4, 4, 4, 1, 4, 4, 4, 4,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 25 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 1
}
],
},
starScores: [
10000,
30000,
35000
]
},
//第五十八关
{
map: {
lattices: [
0, 0, 0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 2, 2, 2, 1, 1, 1,
0, 0, 0, 2, 2, 2, 1, 1, 1,
0, 0, 0, 2, 2, 2, 1, 1, 1,
3, 3, 3, 2, 2, 2, 1, 1, 1,
3, 3, 3, 2, 2, 2, 1, 1, 1,
3, 3, 3, 2, 2, 2, 1, 1, 1,
3, 3, 3, 2, 2, 2, 1, 1, 1,
],
generateLats: [1, 1, 0, 1, 1, 0, 1, 1, 1],
elements: [
0, 0, 0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 1, 1, 4, 1, 1, 1,
0, 0, 0, 1, 1, 4, 1, 1, 1,
0, 0, 0, 1, 1, 4, 1, 1, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 35 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 33
}
],
},
starScores: [
12000,
18000,
22000
]
},
//第五十九关
{
map: {
lattices: [
3, 1, 1, 1, 1, 1, 1, 1, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 1, 1, 1, 1, 1, 1, 1, 3,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
4, 1, 1, 1, 1, 1, 1, 1, 4,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 1, 1, 1, 1, 1, 1, 1, 4,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 35 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 29
}
],
},
starScores: [
12000,
20000,
24000
]
},
//第六十关
{
map: {
lattices: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [0, 1, 1, 1, 1, 1, 1, 1, 0],
elements: [
0, 1, 1, 3, 1, 1, 1, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 1, 1, 1, 1, 1, 1, 1, 4,
1, 4, 1, 1, 1, 1, 1, 4, 1,
1, 1, 4, 1, 1, 1, 4, 1, 1,
1, 1, 1, 4, 1, 4, 1, 1, 1,
1, 1, 1, 1, 4, 1, 1, 1, 1,
4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 28 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 2
}
],
},
starScores: [
10000,
20000,
30000
]
},
//第六十一关
{
map: {
lattices: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 3, 1, 3, 1, 1, 1,
1, 3, 1, 3, 1, 3, 1, 3, 1,
3, 3, 3, 3, 3, 3, 3, 3, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 1, 3, 1, 3, 1, 3, 1, 3,
1, 1, 3, 1, 3, 1, 3, 1, 1,
0, 0, 0, 1, 3, 1, 0, 0, 0,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 4, 1, 4, 1, 1, 1,
1, 4, 1, 4, 1, 4, 1, 4, 1,
4, 4, 4, 4, 4, 4, 4, 4, 4,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 1, 4, 1, 4, 1, 4, 1, 4,
1, 1, 4, 1, 4, 1, 4, 1, 1,
0, 0, 0, 1, 4, 1, 0, 0, 0,
]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 33 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 33
}
],
},
starScores: [
20000,
28000,
33000
]
},
//第六十二关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 0, 1, 1, 1, 1, 1, 0, 1,
1, 1, 0, 1, 1, 1, 0, 1, 1,
1, 1, 1, 0, 1, 0, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 3, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
4, 1, 1, 1, 1, 1, 1, 1, 4,
0, 4, 1, 1, 1, 1, 1, 4, 0,
1, 0, 4, 1, 1, 1, 4, 0, 1,
1, 1, 0, 4, 1, 4, 0, 1, 1,
1, 1, 1, 0, 4, 0, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
connectedLats: [[18, 36], [28, 46], [38, 56], [48, 66], [58, 76], [50, 68], [42, 60], [34, 52], [26, 44]]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 25 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 1
}
],
},
starScores: [
8000,
12000,
15000
]
},
//第六十三关
{
map: {
lattices: [
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 3, 3, 0, 0, 0, 3, 3, 1,
1, 3, 3, 0, 3, 0, 3, 3, 1,
1, 3, 3, 0, 0, 0, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 0, 0, 0, 1, 1, 4,
4, 1, 1, 0, 1, 0, 1, 1, 4,
4, 1, 1, 0, 0, 0, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
4, 1, 1, 1, 1, 1, 1, 1, 4,
],
connectedLats: [[22, 40], [40, 58]]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 35 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 55
}
],
},
starScores: [
12000,
15000,
18000
]
},
//第六十四关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 3, 3, 3, 1, 1, 1,
1, 1, 1, 3, 3, 3, 1, 1, 1,
1, 1, 1, 3, 3, 3, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 1, 1, 1, 1,
1, 1, 1, 2, 2, 2, 1, 1, 1,
1, 1, 2, 4, 4, 4, 2, 1, 1,
1, 2, 2, 4, 4, 4, 2, 2, 1,
1, 1, 2, 4, 4, 4, 2, 1, 1,
1, 1, 1, 2, 2, 2, 1, 1, 1,
1, 1, 1, 1, 2, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 15 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 9
}
],
},
starScores: [
12000,
18000,
22000
]
},
//第六十五关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 4, 4, 1, 4, 4, 4, 1,
1, 4, 4, 1, 1, 1, 4, 4, 1,
1, 4, 1, 1, 1, 1, 1, 4, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 4, 1, 1, 1, 1, 1, 4, 1,
1, 4, 4, 1, 1, 1, 4, 4, 1,
1, 4, 4, 4, 1, 4, 4, 4, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 40 - 4,
passTarget: {
type: PassType.SCORE_TARGET,
score: 50000,
},
starScores: [
40000,
50000,
60000
]
},
//第六十六关
{
map: {
lattices: [
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 3, 3, 3, 1, 1, 1,
1, 1, 3, 3, 3, 3, 3, 1, 1,
0, 0, 3, 3, 3, 3, 3, 0, 0,
1, 1, 3, 3, 3, 3, 3, 1, 1,
1, 1, 1, 3, 3, 3, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 0, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
0, 0, 1, 4, 4, 4, 1, 0, 0,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, 1, 1, 1,
],
connectedLats: [[27, 45], [35, 53]]
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 35 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 21
}
],
},
starScores: [
15000,
20000,
25000
]
},
//第六十七关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 3, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 1, 2, 2, 1, 1,
1, 1, 2, 2, 1, 2, 2, 1, 1,
1, 1, 2, 2, 1, 2, 2, 1, 1,
4, 4, 2, 2, 4, 2, 2, 4, 4,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 33 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 2
}
],
},
starScores: [
18000,
23000,
28000
]
},
//第六十八关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 3, 1, 3, 1, 3, 1, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 1, 3, 0, 3, 0, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 1, 3, 0, 3, 0, 3, 3, 1,
1, 3, 3, 3, 3, 3, 3, 3, 1,
1, 1, 3, 1, 3, 1, 3, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 4, 1, 4, 1, 4, 1, 1,
1, 1, 4, 4, 4, 4, 4, 1, 1,
1, 1, 4, 1, 4, 1, 4, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 45 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 35
}
],
},
starScores: [
20000,
25000,
30000
]
},
//第六十九关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1, 0,
2, 1, 3, 3, 3, 3, 3, 1, 2,
1, 1, 3, 3, 3, 3, 3, 1, 1,
2, 1, 1, 1, 1, 1, 1, 1, 2,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 0, 0, 0, 2, 2, 2,
0, 2, 2, 2, 2, 2, 2, 2, 0,
0, 2, 1, 1, 1, 1, 1, 2, 0,
2, 2, 1, 1, 1, 1, 1, 2, 2,
0, 2, 2, 2, 2, 2, 2, 2, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 30 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 14
}
],
},
starScores: [
20000,
30000,
35000
]
},
//第七十关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 3, 1, 1, 1, 3, 3, 3,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2,
4, 4, 4, 1, 2, 1, 4, 4, 4,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.05,
stepCount: 33 - 4,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 6
}
],
},
starScores: [
30000,
40000,
50000
]
},
/////////////////////////////////新加的10关在下面
//第七十一关
{
map: {
lattices: [
3, 3, 1, 0, 0, 0, 1, 3, 3,
3, 3, 1, 1, 1, 1, 1, 3, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
3, 3, 1, 1, 1, 1, 1, 3, 3,
3, 3, 1, 0, 0, 0, 1, 3, 3,
],
generateLats: [1, 1, 1, 0, 1, 0, 1, 1, 1],
elements: [
1, 1, 1, 0, 0, 0, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 2, 2, 2, 2, 2, 1, 0,
0, 1, 2, 1, 1, 1, 2, 1, 0,
0, 1, 2, 2, 2, 2, 2, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 0, 0, 0, 1, 1, 1,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.02,
stepCount: 20,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 16
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十二关
{
map: {
lattices: [
1, 1, 1, 1, 1, 0, 0, 0, 1,
1, 1, 1, 1, 1, 0, 0, 0, 1,
1, 1, 1, 1, 1, 0, 0, 0, 1,
1, 1, 1, 1, 0, 0, 0, 1, 2,
1, 1, 1, 1, 0, 0, 1, 2, 2,
1, 1, 1, 0, 0, 1, 2, 2, 2,
0, 0, 0, 0, 1, 2, 2, 2, 2,
0, 0, 0, 0, 2, 2, 2, 2, 2,
0, 0, 0, 0, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 0, 0, 0, 1],
elements: [
2, 2, 1, 2, 4, 0, 0, 0, 4,
2, 2, 1, 2, 2, 0, 0, 0, 2,
2, 2, 1, 1, 4, 0, 0, 0, 2,
1, 1, 1, 1, 0, 0, 0, 0, 0,
1, 1, 1, 1, 0, 0, 0, 0, 0,
1, 1, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
],
},
baseElementTypes: [0, 1, 2, 3],
effectInitProbability: 0.15,
stepCount: 14,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 15
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十三关
{
map: {
lattices: [
0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 3, 3, 3, 3, 3, 0, 0, 0,
3, 3, 3, 3, 3, 0, 0, 0, 0,
3, 3, 3, 3, 3, 3, 0, 0, 0,
0, 3, 3, 3, 3, 3, 3, 0, 0,
0, 0, 0, 3, 3, 3, 3, 3, 0,
0, 0, 3, 3, 3, 3, 3, 3, 0,
0, 3, 3, 3, 3, 3, 3, 0, 0,
1, 1, 1, 1, 1, 0, 0, 0, 0,
],
generateLats: [0, 0, 1, 1, 1, 1, 1, 0, 0],
elements: [
0, 0, 4, 4, 1, 4, 4, 0, 0,
0, 1, 1, 1, 1, 1, 0, 0, 0,
1, 1, 1, 1, 1, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 0, 0, 0,
0, 1, 1, 1, 1, 1, 1, 0, 0,
0, 0, 0, 1, 1, 1, 1, 1, 0,
0, 0, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 0, 0,
2, 2, 2, 2, 2, 0, 0, 0, 0,
],
},
baseElementTypes: [0, 1, 2, 3],
effectInitProbability: 0.03,
stepCount: 20,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 39
}
],
},
starScores: [
10000,
20000,
30000
]
},
//第七十四关
{
map: {
lattices: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
],
generateLats: [0, 1, 1, 1, 1, 1, 1, 1, 0],
elements: [
0, 3, 1, 1, 1, 1, 1, 3, 0,
0, 4, 4, 4, 1, 4, 4, 4, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 4, 1, 1, 1, 1, 1, 4, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 4, 4, 4, 4, 4, 4, 4, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 4, 0, 0, 0, 0, 0, 4, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.02,
stepCount: 15,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 4
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十五关
{
map: {
lattices: [
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
],
generateLats: [0, 1, 1, 1, 1, 1, 1, 1, 0],
elements: [
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 4, 4, 1, 4, 4, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 4, 4, 4, 4, 4, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 4, 4, 1, 4, 4, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0,
stepCount: 20,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 25
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十六关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 1, 1, 1, 1, 1, 2, 4,
4, 2, 2, 2, 2, 2, 2, 2, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 20,
passTarget: {
type: PassType.SCORE_TARGET,
score: 15000
},
starScores: [
4000,
10000,
20000
]
},
//第七十七关
{
map: {
lattices: [
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
generateLats: [1, 1, 1, 1, 1, 1, 1, 1, 1],
elements: [
1, 1, 1, 1, 3, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 2, 2, 2, 2, 2, 1, 0,
0, 2, 4, 4, 4, 4, 2, 2, 0,
0, 2, 2, 2, 2, 2, 2, 2, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 20,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 3
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十八关
{
map: {
lattices: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 3, 1, 1, 1, 0,
0, 1, 1, 1, 3, 1, 1, 1, 0,
0, 1, 1, 1, 3, 1, 1, 1, 0,
0, 1, 3, 3, 3, 3, 3, 1, 0,
0, 1, 1, 1, 3, 1, 1, 1, 0,
],
generateLats: [0, 1, 1, 1, 1, 1, 1, 1, 0],
elements: [
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 2, 2, 2, 1, 1, 0,
0, 1, 1, 2, 4, 2, 1, 1, 0,
0, 1, 1, 2, 4, 2, 1, 1, 0,
0, 2, 2, 2, 4, 2, 2, 2, 0,
0, 2, 4, 4, 4, 4, 4, 2, 0,
0, 2, 2, 2, 4, 2, 2, 2, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 15,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 9
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第七十九关
{
map: {
lattices: [
0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0,
],
generateLats: [0, 0, 1, 1, 1, 1, 1, 0, 0],
elements: [
0, 0, 4, 1, 3, 1, 4, 0, 0,
0, 0, 4, 1, 1, 1, 4, 0, 0,
0, 0, 4, 1, 1, 1, 4, 0, 0,
0, 0, 4, 1, 1, 1, 4, 0, 0,
0, 4, 1, 1, 1, 1, 1, 4, 0,
0, 4, 1, 1, 1, 1, 1, 4, 0,
0, 4, 1, 1, 1, 1, 1, 4, 0,
0, 4, 1, 1, 1, 1, 1, 4, 0,
0, 0, 4, 1, 1, 1, 4, 0, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.03,
stepCount: 20,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.LOLLIPOP,
count: 3
}
],
},
starScores: [
4000,
8000,
15000
]
},
//第八十关
{
map: {
lattices: [
0, 3, 0, 3, 0, 3, 0, 3, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3,
0, 3, 3, 3, 3, 3, 3, 3, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3,
0, 3, 3, 3, 3, 3, 3, 3, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3,
0, 3, 3, 3, 3, 3, 3, 3, 0,
3, 3, 3, 3, 3, 3, 3, 3, 3,
0, 3, 0, 3, 0, 3, 0, 3, 0,
],
generateLats: [0, 1, 0, 1, 0, 1, 0, 1, 0],
elements: [
0, 1, 0, 1, 0, 1, 0, 1, 0,
4, 1, 1, 1, 1, 1, 1, 1, 4,
0, 1, 1, 1, 1, 1, 1, 1, 0,
2, 1, 1, 1, 1, 1, 1, 1, 2,
0, 1, 1, 1, 1, 1, 1, 1, 0,
2, 1, 1, 1, 1, 1, 1, 1, 2,
0, 1, 1, 1, 1, 1, 1, 1, 0,
4, 1, 1, 1, 1, 1, 1, 1, 4,
0, 4, 0, 4, 0, 4, 0, 4, 0,
],
},
baseElementTypes: [0, 1, 2, 3, 4],
effectInitProbability: 0.02,
stepCount: 25,
passTarget: {
type: PassType.ELEMENT_TARGET,
elements: [
{
type: ElementType.ICE,
count: 65
}
],
},
starScores: [
4000,
8000,
15000
]
},
]
\ No newline at end of file
......@@ -7,7 +7,7 @@ import { PathData } from "./PathData";
export interface MapData {
/**
* 一维格子数组,步长9
* 0为空,1基本元素,2为浅冰块,3深冰块,4棒棒糖,5石头,6元素枷锁,废弃
*
* 9*9长度
* 0无格子
* 1普通格子
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment