更新启动服务

This commit is contained in:
unamed 2022-02-02 01:55:41 +08:00
parent b031d46048
commit e1b9aa9b0e
7 changed files with 797 additions and 800 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="ch_ZN">
<head>
<meta charset="UTF-8">
<title>HTML5魔塔样板JS进阶</title>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="ch_ZN">
<head>
<meta charset="UTF-8">
<title>HTML5魔塔样板</title>

File diff suppressed because it is too large Load Diff

View File

@ -521,9 +521,6 @@ core.prototype._forwardFunc = function (name, funcname) {
var parameters = (parameterInfo == null ? "" : parameterInfo[1]).replace(/\s*/g, '').replace(/,/g, ', ');
// core[funcname] = new Function(parameters, "return core."+name+"."+funcname+"("+parameters+");");
eval("core." + funcname + " = function (" + parameters + ") {\n\treturn core." + name + "." + funcname + "(" + parameters + ");\n}");
if (name == 'plugin') {
console.error("插件函数转发core." + funcname + " = core.plugin." + funcname);
}
}
core.prototype.doFunc = function (func, _this) {

View File

@ -1244,7 +1244,7 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
// 更新阻激夹域的伤害值
core.updateCheckBlock();
// 更新全地图显伤
// updateDamage只能在此处执行更新全地图显伤
core.updateDamage();
},
"updateCheckBlock": function (floorId) {

2
runtime.d.ts vendored
View File

@ -1865,7 +1865,7 @@ declare class maps {
getPlayingAnimates(name?: string): Array<number>
/** 加载某个楼层(从剧本或存档中) */
loadFloor(floorId?: string, map?: any): ResolvedMap
loadFloor(floorId: string, map?: any): ResolvedMap
/** 根据需求解析出blocks */
extractBlocks(map?: any): void

Binary file not shown.