Commit f1dde60f authored by wildfirecode's avatar wildfirecode

1

parent a244e702
......@@ -5,6 +5,7 @@ import { AiControl } from "../something/logic/AiControl";
import { Tool } from "../something/Tool";
import MainScene from "./MainScene";
import jellyMonsterAni from "./jellyMonsterAni";
import { StateType } from "../something/enum/StateType";
export default async (thisObj: MainScene) => {
//找到所有的怪物
......@@ -14,7 +15,8 @@ export default async (thisObj: MainScene) => {
for (var i = 0; i < thisObj.lattices.length; i++) {
var lattice = thisObj.lattices[i]
if (lattice && lattice.element && lattice.element.type == ElementType.JELLY_MONSTER) {
indexs.push(i);
if (!lattice.element.hasState(StateType.BLOCK_LOCK))
indexs.push(i);
}
}
......@@ -39,7 +41,7 @@ export default async (thisObj: MainScene) => {
const fromEle: Element = thisObj.lattices[fromIndex].element;//起始元素
const endEle: Element = thisObj.lattices[toIndex].element; //终点元素
await fromEle.toAction();//准备开始吹
await jellyMonsterAni(thisObj,[fromEle.x,fromEle.y],[endEle.x,endEle.y]);
await jellyMonsterAni(thisObj, [fromEle.x, fromEle.y], [endEle.x, endEle.y]);
endEle.reset(ElementType.JELLY);
endEle.isMonsterJelly = true;
}
......
......@@ -1712,181 +1712,6 @@
"levelNum": 340,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 341,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 342,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 343,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 344,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 345,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 346,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 347,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 348,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 349,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 350,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 351,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 352,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 353,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 354,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 355,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 356,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 357,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 358,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 359,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 360,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 361,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 362,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 363,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 364,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 365,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 366,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 367,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 368,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 369,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 370,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 371,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 372,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 373,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 374,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 375,
"maxScore": 47440,
"stars": 1
}
],
"remainProp": [
......
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