v1.10.6
v1.10.6版本更新内容: ※我们继续和一些优秀且具有开源精神的代码编写者保持着积极合作。在这一版本中,我们通过接收GitHub的Pull Request,整合了@nonameShijian @mengxinzxz @PZ157 @Ansolve @Rintim @S-N-O-R-L-A-X @universe-st @copcap @kuangshen04 等9位代码贡献者编写的代码。 ※将game.js拆分为ES Module模块,增加代码的可读性。请注意:由于旧的Chromium内核不支持ES模块的加载,因此部分旧版本(如旧兼容版)将无法再支持运行新版本的《无名杀》!!! ※添加新武将「孙策(十周年斗地主)」「乐小乔」「手杀陈珪」「手杀胡班」「OL界凌统」「OL界曹彰」「OL界简雍」「OL谋姜维」「谋诸葛亮」「谋关羽」「曹宇」「星董卓」「曹宪」「新杀谋鲁肃」「新杀谋周瑜」,调整其他的武将技能。 ※现在判定区内可以加入“没有判定流程”的牌和“没有结算效果”的牌,为《江山如故·合》包以及「乐大乔」的加入做准备。 ※优化武将图片加载机制,大幅优化性能。 ※将game.prompt和game.alert进行Promise化。 ※现在事件的content支持async异步函数和数组写法了(原有step写法依然有效),具体写法可参考标准包的武将以及 https://github.com/libccy/noname/pull/741 。 ※现在涉及position的UI操作函数可以传入DocumentFragment元素作为新生成元素的父元素了。 ※恢复被覆盖的HTMLDivElement#animate的原有用法,原HTMLDivElement.animate改为HTMLDivElement.addTempClass。 ※在Git仓库中添加代码提示库(默认不下载到普通玩家的《无名杀》中),将CodeMirror改为模块化导入。 ※其他bug修复,机制优化与AI调整。
This commit is contained in:
commit
9546edd50b
|
@ -2,16 +2,19 @@
|
|||
"extends": "eslint:recommended",
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"serviceworker": true,
|
||||
"worker": true
|
||||
},
|
||||
"rules": {
|
||||
"no-console": 0,
|
||||
"no-unused-vars": 0,
|
||||
"no-undef": 0,
|
||||
"no-redeclare": 0,
|
||||
"require-yield": 0,
|
||||
"no-constant-condition": [
|
||||
"error",
|
||||
{
|
||||
"checkLoops": false
|
||||
}
|
||||
],
|
||||
"no-irregular-whitespace": [
|
||||
"error",
|
||||
{
|
||||
|
@ -19,13 +22,13 @@
|
|||
"skipTemplates": true
|
||||
}
|
||||
],
|
||||
"no-constant-condition": [
|
||||
"error",
|
||||
{
|
||||
"checkLoops": false
|
||||
}
|
||||
] /* ,
|
||||
"comma-dangle": ["error", "only-multiline"],
|
||||
"complexity": ["error",100] */
|
||||
"no-redeclare": 0,
|
||||
"no-undef": 0,
|
||||
"no-unused-vars": 0,
|
||||
"require-yield": 0
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 13,
|
||||
"sourceType": "module"
|
||||
}
|
||||
}
|
|
@ -1,10 +1,29 @@
|
|||
!extension/boss
|
||||
!extension/cardpile
|
||||
!extension/coin
|
||||
!extension/wuxing
|
||||
!node_modules/@types
|
||||
!node_modules/noname-typings
|
||||
!node_modules/options
|
||||
!node_modules/ultron
|
||||
!node_modules/undici-types
|
||||
!node_modules/ws
|
||||
._*
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.idea
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
localStorage.json
|
||||
.vscode
|
||||
.idea
|
||||
app
|
||||
app.html
|
||||
ehthumbs.db
|
||||
extension
|
||||
jsconfig.json
|
||||
localStorage.json
|
||||
main.js
|
||||
node_modules
|
||||
noname.ico
|
||||
package-lock.json
|
||||
package.json
|
||||
Thumbs.db
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue