Commit e329eee0 authored by wjf's avatar wjf

l

parent b467a374
...@@ -155,13 +155,95 @@ export const Chapters4: ChapterData[] = [ ...@@ -155,13 +155,95 @@ export const Chapters4: ChapterData[] = [
] ]
} }
}, },
//67 //67 待调整通关目标,目标不存在现在
{ {
baseElementTypes: [0, 1, 3, 2, 4], bubbleProbability: 20, stepCount: 32, passTarget: { type: 1, elements: [{ type: 9, count: 26 }] }, starScores: [6000, 12000, 24000], map: { lattices: [0, 0, 1, 1, 1, 1, 1, 0, 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, 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, 0, 0, 0, 1, 0, 1, 0, 0, 0], connectedLats: [], elements: [0, 0, 1, 2, 1, 2, 1, 0, 0, 0, 7, 2, 7, 2, 7, 2, 7, 0, 4, 2, 4, 2, 4, 2, 4, 2, 4, 2, 1, 2, 1, 2, 1, 2, 1, 2, 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, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0], baseElements: [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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], recycles: [], generateLats: [{ index: 2, type: null }, { index: 3, type: null }, { index: 4, type: null }, { index: 5, type: null }, { index: 6, type: null }, { index: 10, type: null }, { index: 11, type: null }, { index: 12, type: null }, { index: 13, type: null }, { index: 14, type: null }, { index: 15, type: null }, { index: 16, type: null }, { index: 18, type: null }, { index: 19, type: null }, { index: 20, type: null }, { index: 21, type: null }, { index: 22, type: null }, { index: 23, type: null }, { index: 24, type: null }, { index: 25, type: null }, { index: 26, type: null }, { index: 27, type: null }, { index: 28, type: null }, { index: 29, type: null }, { index: 30, type: null }, { index: 31, type: null }, { index: 32, type: null }, { index: 33, type: null }, { index: 34, type: null }, { index: 35, type: null }, { index: 36, type: null }, { index: 37, type: null }, { index: 38, type: null }, { index: 39, type: null }, { index: 40, type: null }, { index: 41, type: null }, { index: 42, type: null }, { index: 43, type: null }, { index: 44, type: null }] } baseElementTypes: [0, 1, 3, 2, 4],
bubbleProbability: 20,
stepCount: 32,
passTarget: { type: 1, elements: [{ type: 9, count: 28 }] },
starScores: [6000, 12000, 24000],
map: {
lattices: [
0, 0, 1, 2, 1, 2, 1, 0, 0,
0, 2, 2, 2, 2, 2, 2, 2, 0,
1, 2, 2, 2, 2, 2, 2, 2, 1,
1, 2, 2, 2, 2, 2, 2, 2, 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, 0, 2, 2, 2, 2, 2, 0, 0,
0, 0, 0, 1, 0, 1, 0, 0, 0
],
connectedLats: [],
elements: [
0, 0, 1, 2, 1, 2, 1, 0, 0,
0, 7, 2, 7, 2, 7, 2, 7, 0,
4, 2, 4, 2, 4, 2, 4, 2, 4,
2, 1, 2, 1, 2, 1, 2, 1, 2,
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, 0, 2, 2, 2, 2, 2, 0, 0,
0, 0, 0, 1, 0, 1, 0, 0, 0
],
baseElements: [
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, 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, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0
],
recycles: [],
generateLats: [
{ index: 2, type: null },
{ index: 3, type: null },
{ index: 4, type: null },
{ index: 5, type: null },
{ index: 6, type: null },
{ index: 10, type: null },
{ index: 11, type: null },
{ index: 12, type: null },
{ index: 13, type: null },
{ index: 14, type: null },
{ index: 15, type: null },
{ index: 16, type: null },
{ index: 18, type: null },
{ index: 19, type: null },
{ index: 20, type: null },
{ index: 21, type: null },
{ index: 22, type: null },
{ index: 23, type: null },
{ index: 24, type: null },
{ index: 25, type: null },
{ index: 26, type: null },
{ index: 27, type: null },
{ index: 28, type: null },
{ index: 29, type: null },
{ index: 30, type: null },
{ index: 31, type: null },
{ index: 32, type: null },
{ index: 33, type: null },
{ index: 34, type: null },
{ index: 35, type: null },
{ index: 36, type: null },
{ index: 37, type: null },
{ index: 38, type: null },
{ index: 39, type: null },
{ index: 40, type: null },
{ index: 41, type: null },
{ index: 42, type: null },
{ index: 43, type: null },
{ index: 44, type: null }]
}
}, },
//68 //68
{ {
baseElementTypes: [0, 2, 3, 4], bubbleProbability: 0, stepCount: 30, passTarget: { type: 1, elements: [{ type: 1, count: 15 }, { type: 0, count: 28 }, { type: 2, count: 28 }] }, starScores: [5000, 12000, 18000], map: { lattices: [0, 0, 1, 1, 1, 1, 1, 0, 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, 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, 0, 1, 1, 1, 1, 1, 0, 0], connectedLats: [], elements: [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1, 0, 1, 1, 1, 2, 4, 2, 1, 1, 1, 1, 1, 2, 4, 6, 4, 2, 1, 1, 1, 2, 4, 6, 1, 6, 4, 2, 1, 1, 1, 2, 4, 6, 4, 2, 1, 1, 1, 1, 1, 2, 4, 2, 1, 1, 1, 0, 1, 1, 1, 2, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0], baseElements: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 10, 0, 30, 0, 0, 0, 0, 0, 30, 0, 14, 0, 10, 0, 0, 0, 0, 0, 10, 0, 40, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], recycles: [], generateLats: [{ index: 2, type: null }, { index: 3, type: null }, { index: 4, type: null }, { index: 5, type: null }, { index: 6, type: null }, { index: 10, type: null }, { index: 16, type: null }, { index: 18, type: null }, { index: 26, type: null }] } baseElementTypes: [0, 2, 3, 4],
bubbleProbability: 0, stepCount: 30, passTarget: { type: 1, elements: [{ type: 1, count: 15 }, { type: 0, count: 28 }, { type: 2, count: 28 }] }, starScores: [5000, 12000, 18000], map: { lattices: [0, 0, 1, 1, 1, 1, 1, 0, 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, 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, 0, 1, 1, 1, 1, 1, 0, 0], connectedLats: [], elements: [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1, 0, 1, 1, 1, 2, 4, 2, 1, 1, 1, 1, 1, 2, 4, 6, 4, 2, 1, 1, 1, 2, 4, 6, 1, 6, 4, 2, 1, 1, 1, 2, 4, 6, 4, 2, 1, 1, 1, 1, 1, 2, 4, 2, 1, 1, 1, 0, 1, 1, 1, 2, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0], baseElements: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 10, 0, 30, 0, 0, 0, 0, 0, 30, 0, 14, 0, 10, 0, 0, 0, 0, 0, 10, 0, 40, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], recycles: [], generateLats: [{ index: 2, type: null }, { index: 3, type: null }, { index: 4, type: null }, { index: 5, type: null }, { index: 6, type: null }, { index: 10, type: null }, { index: 16, type: null }, { index: 18, type: null }, { index: 26, type: null }] }
}, },
//69 //69
{ {
......
...@@ -362,7 +362,7 @@ export class AiControl { ...@@ -362,7 +362,7 @@ export class AiControl {
} }
//分裂的优先,因为存在多出状态,不需要多次,按顺序就行 //分裂的优先,因为存在多出状态,不需要多次,按顺序就行
this.divideAni(thisObj,divideBallIndexs,callbackOperation) this.divideAni(thisObj, divideBallIndexs, callbackOperation)
//跳动的, //跳动的,
this.jumpAni(thisObj, jumpBallIndexs, callbackOperation) this.jumpAni(thisObj, jumpBallIndexs, callbackOperation)
//唤醒的 //唤醒的
...@@ -584,6 +584,8 @@ function getBubbleType(index: number, lattices: Lattice[], baseElementTypes: num ...@@ -584,6 +584,8 @@ function getBubbleType(index: number, lattices: Lattice[], baseElementTypes: num
//变色,只取基础类型 //变色,只取基础类型
var rc = Tool.indexToRc(index); var rc = Tool.indexToRc(index);
var arr = baseElementTypes.slice(); var arr = baseElementTypes.slice();
//先去掉自己的
Tool.removeEle(lattices[index].element.type, arr);
let operation = (lat1: Lattice, lat2: Lattice) => { let operation = (lat1: Lattice, lat2: Lattice) => {
//必须是都可匹配的 //必须是都可匹配的
......
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