Commit 29f71450 authored by zjz1994's avatar zjz1994

新元素暂存

parent eb630bfa
...@@ -136,8 +136,8 @@ ...@@ -136,8 +136,8 @@
// localStorage.clear(); // localStorage.clear();
window['imgver'] = '11112'; window['imgver'] = '11112';
//top 8 ,repeat 22 , bottom 3 //top 8 ,repeat 22 , bottom 3
window['total_level'] = 8 + 3 + 22 * 36; window['total_level'] = 8 + 3 + 22 * 37;
window['last_level'] = 800; window['last_level'] = 825;
var sharePic = document.getElementById('pic'); var sharePic = document.getElementById('pic');
sharePic.onclick = function () { sharePic.onclick = function () {
......
This diff is collapsed.
This diff is collapsed.
import { ChapterData } from "../interface/ChapterData";
//801-825
export const Chapters32: ChapterData[] = [
//751
{ baseElementTypes: [ 0, 1, 2, 3 ],
bubbleProbability: 0, stepCount: 26,
passTarget: { type: 1, elements: [ { type: 9, count: 71 }, { type: 0, count: 102 } ] }, starScores: [ 15000, 20000, 25000 ],
map: {
lattices: [
3, 3, 0, 3, 3, 3, 0, 3, 3,
3, 3, 0, 3, 3, 3, 0, 3, 3,
3, 3, 0, 3, 3, 3, 0, 3, 3,
3, 3, 0, 3, 3, 3, 0, 3, 3,
3, 3, 61, 3, 3, 3, 61, 3, 3,
3, 3, 6, 3, 3, 3, 6, 3, 3,
3, 3, 61, 3, 3, 3, 61, 3, 3,
3, 3, 6, 3, 3, 3, 6, 3, 3,
3, 3, 0, 3, 3, 3, 0, 3, 3 ],
connectedLats: [], conveyor: [], conveyorConnectedLats: [], WORMHOLE: [],
elements: [
2, 1, 1, 1, 1, 1, 1, 1, 2,
1, 2, 1, 1, 1, 1, 1, 2, 1,
2, 1, 1, 1, 14, 1, 1, 1, 2,
1, 2, 1, 1, 1, 1, 1, 2, 1,
2, 1, 1, 1, 1, 1, 1, 1, 2,
1, 1, 9, 4, 4, 4, 9, 1, 1,
1, 1, 1, 4, 4, 4, 1, 1, 1,
1, 1, 9, 4, 4, 4, 9, 1, 1,
1, 1, 1, 5, 5, 5, 1, 1, 1 ],
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: [],
cherrydata:[
[0,1,10,9],
],
generateLats: [
{ index: 0, type: null }, { index: 1, type: null },
{ index: 3, type: null }, { index: 4, type: null },
{ index: 5, type: null }, { index: 7, type: null },
{ index: 8, type: null } ] }
},
]
...@@ -33,6 +33,7 @@ import { Chapters28 } from "./Chapter28"; ...@@ -33,6 +33,7 @@ import { Chapters28 } from "./Chapter28";
import { Chapters29 } from "./Chapter29"; import { Chapters29 } from "./Chapter29";
import { Chapters30 } from "./Chapter30"; import { Chapters30 } from "./Chapter30";
import { Chapters31 } from "./Chapter31"; import { Chapters31 } from "./Chapter31";
import { Chapters32 } from "./Chapter32";
//所有的关卡 //所有的关卡
const chapters: ChapterData[] = [].concat( const chapters: ChapterData[] = [].concat(
Chapters1, Chapters1,
...@@ -65,7 +66,9 @@ const chapters: ChapterData[] = [].concat( ...@@ -65,7 +66,9 @@ const chapters: ChapterData[] = [].concat(
Chapters28, Chapters28,
Chapters29, Chapters29,
Chapters30, Chapters30,
Chapters31 Chapters31,
Chapters32,
) )
// console.log(chapters) // console.log(chapters)
chapters.forEach((chapter,index) => { chapters.forEach((chapter,index) => {
......
...@@ -72,6 +72,9 @@ export enum ElementType { ...@@ -72,6 +72,9 @@ export enum ElementType {
// food2,//43 饼干 // food2,//43 饼干
// food3,//44 寿司 // food3,//44 寿司
// food4,//45 雪糕 // food4,//45 雪糕
cherry,//46 樱花
} }
export const isMonsterEle = (t: ElementType) => { export const isMonsterEle = (t: ElementType) => {
......
...@@ -82,4 +82,8 @@ export interface MapData { ...@@ -82,4 +82,8 @@ export interface MapData {
luidx:number,//左上位置 luidx:number,//左上位置
dir:string,//朝向 dir:string,//朝向
}>; }>;
/**
* 樱花
*/
cherrydata?:number[][];
} }
\ No newline at end of file
...@@ -4013,6 +4013,131 @@ ...@@ -4013,6 +4013,131 @@
"levelNum": 800, "levelNum": 800,
"maxScore": 47440, "maxScore": 47440,
"stars": 1 "stars": 1
},
{
"levelNum": 801,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 802,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 803,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 804,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 805,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 806,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 807,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 808,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 809,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 810,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 811,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 812,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 813,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 814,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 815,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 816,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 817,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 818,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 819,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 820,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 821,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 822,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 823,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 824,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 825,
"maxScore": 47440,
"stars": 1
} }
], ],
"remainProp": [ "remainProp": [
...@@ -4029,7 +4154,7 @@ ...@@ -4029,7 +4154,7 @@
"num": 3 "num": 3
} }
], ],
"remainEnargy": 27, "remainEnargy": 2,
"askForEnergy": false, "askForEnergy": false,
"refectionCountdown": 77777, "refectionCountdown": 77777,
"canReceiveTreasureBoxNum": 10, "canReceiveTreasureBoxNum": 10,
......
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