Compare commits

..
124 Commits
Author SHA1 Message Date
539943419 298767662e 修复bug 2024-07-21 01:04:57 +08:00
539943419 7d11d25e3e 部分完成技能【笯凰凤】 2024-07-21 00:46:33 +08:00
539943419 c654a9e8e5 添加新武将:黄金,暂时只做了第一个技能 2024-07-20 01:07:27 +08:00
539943419 b94c28c2cb 削弱莫洛娜 2024-07-15 23:01:39 +08:00
539943419 9e6f462b17 完成莫洛娜技能 2024-07-14 22:08:09 +08:00
539943419 265f08e96f 修复因修复因修复bug导致的bug导致的bug 2024-07-14 13:46:03 +08:00
539943419 d4727dac52 修复因修复bug导致的bug 2024-07-14 13:42:00 +08:00
539943419 cd33724374 完善莫洛娜部分技能,修复bug 2024-07-14 13:35:30 +08:00
539943419 e16bc7016c 提升平台兼容性 2024-07-14 11:23:37 +08:00
539943419 cab16a21b0 修改zioy_lanzhiyuane,提升平台兼容性 2024-07-14 11:20:11 +08:00
539943419 cf9b0955ad 为miaotool添加skillFactory,用于在game.import中包裹skill,对其进行一定的预处理,使其支持一些如自动导入子技能,自动设置技能名等的功能 2024-07-14 11:18:05 +08:00
539943419 42f0ac7cf4 提升对其他客户端的支持 2024-07-14 00:36:42 +08:00
539943419 26ee7a2611 将content自extension.js拆分 2024-07-13 23:45:19 +08:00
539943419 ec6cba5396 “狂涌”强度调整 2024-07-13 23:07:38 +08:00
539943419 c99cdb0661 添加武将罗萨 2024-07-13 21:33:30 +08:00
539943419 6759048fd1 fix bugs 2024-06-12 02:17:29 +08:00
539943419 d5fc9fc4f7 调整"海市蜃楼" 2024-06-12 01:51:46 +08:00
539943419 32b4e83ba1 优化'华予'描述 2024-06-11 03:36:11 +08:00
539943419 63e4595641 调整‘石翼’结算时机 2024-06-10 22:51:53 +08:00
539943419 ca1d2ea1da 加强技能“石翼” 2024-06-10 22:45:09 +08:00
539943419 d9ba1462ef 加强白鹭 2024-06-09 00:04:22 +08:00
539943419 1de6c2c6a3 对"英格力士"进行强度调整,添加武将'三畿界','羽泽' 2024-06-07 23:51:39 +08:00
539943419 d0226d053f 强度调整 2024-05-14 00:37:02 +08:00
539943419 03e84a8b23 fix bug 2024-05-14 00:20:59 +08:00
539943419 5335e1dcc4 添加武将“靖芜” 2024-05-14 00:20:03 +08:00
539943419 5a0a029207 修复bug 2024-05-13 01:26:35 +08:00
539943419 1b356661b6 技能调整,bug修复 2024-05-13 00:50:36 +08:00
539943419 5c59b69da3 技能调整 2024-05-12 20:35:21 +08:00
539943419 f28e0ab19d 技能调整 2024-05-11 15:56:11 +08:00
539943419 be3710765d 重做至高天 2024-05-11 15:28:10 +08:00
539943419 cdee1df3af 技能调整 2024-05-09 04:30:13 +08:00
539943419 0edc720de5 fix bug 2024-05-07 21:24:53 +08:00
539943419 f8182631ab update skill 2024-05-07 21:23:14 +08:00
539943419 536e15d81c update skill yuanshen 2024-05-07 21:20:23 +08:00
539943419 68afc28196 添加武将“徵” 2024-05-07 20:58:34 +08:00
539943419 45b556a3e0 fix bugs 2024-03-15 00:04:54 +08:00
539943419 ccbe65500e fix a bug 2024-03-14 06:05:41 +00:00
539943419 2c1fce0f55 添加武将财神关羽 2024-02-11 01:24:28 +08:00
539943419 391b8f8067 完成武将“逄暹” 2024-02-10 01:05:53 +08:00
539943419 9798699921 技能调整 2024-02-04 23:30:07 +08:00
539943419 5a4bc28820 . 2024-01-31 11:13:40 +08:00
539943419 638d9647cf 添加武将“天启” 2024-01-30 23:40:59 +08:00
539943419 b0a56abad9 ... 2024-01-24 18:51:39 +08:00
539943419 5341830b8a 调整技能 2024-01-24 15:12:04 +08:00
539943419 1d66e6197d 添加武将:畸 2024-01-24 05:09:30 +08:00
539943419 a99267cab6 添加武将kaixier 2024-01-22 03:17:35 +08:00
539943419 73e7810d75 fix bug 2024-01-22 02:20:24 +08:00
539943419 3d6b0424ff 添加角色sushung 2024-01-22 02:06:51 +08:00
539943419 ec642ac9dd . 2024-01-20 08:48:40 +08:00
539943419 79c0c02609 技能修改 2024-01-18 14:05:22 +08:00
539943419 85f119a053 完成伊珂玺尔一个技能 2024-01-15 22:31:16 +08:00
539943419 fad68028b1 修改异常免疫相关逻辑 2024-01-15 21:12:52 +08:00
539943419 9cc3d93cf5 适配新版本 2024-01-15 13:30:52 +08:00
539943419 936875a007 修复描述,更改zioy_exchel.jpg 2024-01-12 23:02:08 +08:00
539943419 1101406850 ud 2023-12-18 02:44:42 +08:00
539943419 25e5dfe73b fix bugs 2023-12-14 02:22:17 +08:00
539943419 2d6cd8772c fix a bug 2023-12-06 19:38:05 +08:00
539943419 a532ff53cf ud priority zioy_huangyi 2023-12-04 22:19:27 +08:00
539943419 709394f9fc add 芬芳,森罗万象 2023-12-03 23:50:03 +08:00
539943419 541f350c80 增强huangyi 2023-12-03 17:17:32 +08:00
539943419 2adbf25da3 fix a bug 2023-12-03 16:34:01 +08:00
539943419 048abac75e fix a bug in f42 2023-12-03 16:26:46 +08:00
539943419 ae237fa1d7 fix a bug in f42 2023-12-03 11:23:16 +08:00
539943419 65316ebd99 fix 2023-12-03 11:00:07 +08:00
539943419 e3c80c1fb9 add 2 skill 2023-12-03 10:55:18 +08:00
539943419 f3502d5f85 add character exchel 2023-12-03 01:47:07 +08:00
539943419 4b20f58984 update b7 & nike 2023-12-03 01:37:15 +08:00
539943419 af6e83f447 .. 2023-11-06 01:04:38 +08:00
539943419 461fa347f6 ud 2023-11-05 15:56:52 +08:00
539943419 833c37696b ud 2023-11-05 15:56:24 +08:00
539943419 2dec6c8e3c fix bugs 2023-11-05 02:19:13 +08:00
539943419 bc5a5c6013 ud mad 2023-10-25 20:52:02 +08:00
539943419 1871777a11 ... 2023-10-24 15:12:29 +08:00
539943419 dbfe0f5bfa ud 2023-10-22 22:41:22 +08:00
539943419 7057c5855d .. 2023-10-19 12:35:53 +08:00
539943419 66d8d37e5b fix 2023-10-19 02:56:03 +08:00
539943419 f4723b47c0 add a sb 2023-10-19 00:08:58 +08:00
539943419 112ed56432 .. 2023-10-18 22:43:52 +08:00
539943419 b7ffa7ba17 .. 2023-10-18 20:01:21 +08:00
539943419 3b8dd0aa4f Add a new character 2023-10-18 16:24:52 +08:00
539943419 0d7826b665 ... 2023-10-17 22:27:28 +08:00
539943419 ccc3d91a0d ud. 2023-10-17 16:33:20 +08:00
539943419 7d30ee00d7 ... 2023-10-17 12:17:57 +08:00
539943419 43c3b360f6 ud 2023-10-16 01:35:45 +08:00
539943419 d7aee70269 ... 2023-10-16 00:20:51 +08:00
539943419 b880fd399b ... 2023-10-15 16:05:05 +08:00
539943419 7878d12582 ud 2023-10-15 03:28:21 +08:00
539943419 95f67e6858 .. 2023-10-15 03:16:01 +08:00
539943419 ce9f236f17 .. 2023-10-14 22:26:50 +08:00
539943419 a9577558c9 ud 2023-10-14 17:47:09 +08:00
539943419 ed31b396b3 fix a bug in zioy_riyuexingkong 2023-10-14 17:42:05 +08:00
539943419 ed86c87573 .. 2023-10-14 16:26:18 +08:00
539943419 ea76ff48d1 ud ai 2023-10-14 15:54:42 +08:00
539943419 715ff37ae7 ud 2023-10-14 15:29:59 +08:00
539943419 384a47c50b ... 2023-10-14 15:27:50 +08:00
539943419 5e60731b51 error 2023-10-14 14:09:38 +08:00
539943419 3d1c2dbb2f ud 2023-10-14 12:51:13 +08:00
539943419 e8d7b68abc .. 2023-10-14 12:00:21 +08:00
539943419 e5f6e88fa4 add xiyuey 2023-10-14 11:49:09 +08:00
539943419 c61d1dd59b ... 2023-10-14 11:47:40 +08:00
539943419 93fa365f0b ... 2023-10-14 04:34:47 +08:00
539943419 b37f832562 ... 2023-10-14 03:06:11 +08:00
539943419 ccbe54d67d ... 2023-10-14 01:55:44 +08:00
539943419 626947bc66 .. 2023-10-14 01:33:03 +08:00
539943419 fbbe7f2c06 ud 2023-10-13 13:36:41 +08:00
539943419 1d068b0628 ... 2023-10-13 12:42:22 +08:00
539943419 c7f13c8a73 ... 2023-10-12 09:49:09 +08:00
539943419 35393dcf53 .. 2023-10-12 09:48:24 +08:00
539943419 edd9aeb063 .. 2023-10-11 23:33:07 +08:00
539943419 fdb2e49933 ud xh 2023-10-11 23:31:23 +08:00
539943419 975791994e ud 2023-10-11 23:18:01 +08:00
539943419 8e1a330158 fix a bug in zioy_zhoumingchuanxuan 2023-10-11 22:16:57 +08:00
539943419 93edc790a7 . 2023-10-11 20:48:55 +08:00
539943419 f362bf1e21 .. 2023-10-11 20:45:37 +08:00
539943419 6db1a71c27 。。。 2023-10-11 14:51:36 +08:00
539943419 4027dd855c update 2023-10-11 09:10:22 +08:00
539943419 e57d2c4555 update 2023-10-10 15:09:33 +08:00
539943419 256dac16cb update 2023-10-10 14:18:54 +08:00
539943419 3fd6159f52 update 2023-10-10 14:18:02 +08:00
539943419 e7b6e70b6f update 2023-10-10 11:42:56 +08:00
539943419 eb32faef47 update xuanhu 2023-10-10 00:50:23 +08:00
539943419 11adb1be2b fix some bugs 2023-10-10 00:18:36 +08:00
539943419 e196c6d8e0 update from phone 2023-10-10 00:17:25 +08:00
539943419 b20025670b hello miao 2023-10-10 00:12:51 +08:00
75 changed files with 12311 additions and 743 deletions

No files matched your search

-1
View File
@@ -1 +0,0 @@
Prettier Fixer.py
+83
View File
@@ -0,0 +1,83 @@
# 导入os模块,用于操作文件和目录
import os
from time import sleep
# 定义一个函数,接受一个文件名作为参数,返回修改后的内容
def modify_file(filename):
# 打开文件,以只读模式
with open(filename, 'r', encoding='UTF-8') as f:
# 读取文件的所有行,存入一个列表
lines = f.readlines()
# 创建一个空列表,用于存储修改后的行
new_lines = []
num = 0
# 遍历每一行
for line in lines:
if '"step 0";' in line:
line = line.replace('"step 0";', '"step 0"')
num+=1
if '("step 1");' in line:
line = line.replace('("step 1");', '"step 1"')
num+=1
if '("step 2");' in line:
line = line.replace('("step 2");', '"step 2"')
num+=1
if '("step 3");' in line:
line = line.replace('("step 3");', '"step 3"')
num+=1
if '("step 4");' in line:
line = line.replace('("step 4");', '"step 4"')
num+=1
if '("step 5");' in line:
line = line.replace('("step 5");', '"step 5"')
num+=1
if '("step 6");' in line:
line = line.replace('("step 6");', '"step 6"')
num+=1
if '("step 7");' in line:
line = line.replace('("step 7");', '"step 7"')
num+=1
if '("step 8");' in line:
line = line.replace('("step 8");', '"step 8"')
num+=1
if '("step 9");' in line:
line = line.replace('("step 9");', '"step 9"')
num+=1
if '("step 10");' in line:
line = line.replace('("step 10");', '"step 10"')
num+=1
print(line)
# 将修改后的行添加到新列表中
new_lines.append(line)
# 返回新列表中的所有行,用换行符连接
print("Successfully fixed " + str(num) +" code errors")
return ''.join(new_lines)
# 获取当前目录下的所有文件和子目录
flag = False
files = os.listdir('.')
# 遍历每一个文件或子目录
for file in files:
# 如果是文件,并且文件名是extension.js
if os.path.isfile(file) and file == 'extension.js':
# 调用函数,传入文件名,得到修改后的内容
content = modify_file(file)
# 打开文件,以写入模式,覆盖原内容
with open(file, 'w', encoding='UTF-8') as f:
# 写入修改后的内容
f.write(content)
flag = True
if os.path.isfile(file) and file == 'game.js':
# 调用函数,传入文件名,得到修改后的内容
content = modify_file(file)
# 打开文件,以写入模式,覆盖原内容
with open(file, 'w', encoding='UTF-8') as f:
# 写入修改后的内容
f.write(content)
flag = True
if flag:
pass
else:
print('ERROR')
sleep(3)
+2597
View File
File diff suppressed because it is too large. Load diff
+9535 -742
View File
File diff suppressed because it is too large. Load diff
+96
View File
@@ -0,0 +1,96 @@
// 用于在game.import中包裹skill,对其进行一定的预处理,使其支持一些如自动导入子技能,自动设置技能名等的功能
export function skillFactory(skill) {
for (let skill_name in skill.skill) {
const skill_content = skill.skill[skill_name];
// 自动导入在autoSubSkill下的子技能
if (skill_content.autoSubSkill) {
skill_content.group || (skill_content.group = []);
skill_content.subSkill || (skill_content.subSkill = {});
// skill_content.subSkill = skill_content.subSkill ?? {};
// skill_content.group = skill_content.group ?? [];
for (let autoSubSkillName in skill_content.autoSubSkill) {
skill_content.subSkill[autoSubSkillName] = skill_content.autoSubSkill[autoSubSkillName];
skill_content.group.push(`${skill_name}_${autoSubSkillName}`);
}
}
// 自动根据autoTranslate设置技能的translate相关内容
if (skill_content.autoTranslate) {
skill.translate[`${skill_name}`] = skill_content.autoTranslate.name;
skill.translate[`${skill_name}_info`] = skill_content.autoTranslate.info;
}
}
return skill;
}
export default (lib, game, ui, get, ai, _status) => {
return {
isAsyncFunction(func) {
return func.constructor.name === "AsyncFunction";
},
watch: function (obj, key, callback) {},
game: {},
/**
* Description 角色相关操作
*/
player: {
/**
* Description 更换角色的头像
* @param {Player} player 需要更换头像的玩家
* @param {string} imageSource 图片源,可以为角色名(player.name)
* @param {number|string} replace 要替代的,默认为1(单将模式不用管)
* @returns {null} 无返回
*/
changeAvatar(player, imageSource, replace) {
if (replace && (player.name2 === replace || replace === 2)) {
player.node.avatar2.setBackground(imageSource, "character");
} else {
player.node.avatar.setBackground(imageSource, "character");
}
},
/**
* Description 为角色设置用于显示的名称(如吕布,貂蝉等)
* @param {Player} player 要设置名称的玩家
* @param {string} name 新名称
* @param {undefined | 1 | 2} replace name1或name2
* @returns {null}
*/
setName(player, name, replace) {
let targetNode = player.node.name;
if (replace && (player.name2 === replace || replace === 2)) {
targetNode = player.node.name2;
}
targetNode.innerHTML = name;
}
},
loadash: {
/**
* Description 浅浅拷贝对象
* @param {Array | Object} target
* @returns {Array | Object}
*/
shallowClone(target) {
if (Array.isArray(target)) {
return [...target];
}
if (typeof target === "object" && target !== null) {
return { ...target };
}
return target;
}
},
// 提供一些便捷的math功能
math: {},
other: {
/**
* Description 返回一个function,每次执行会控制台递增输出0,1,2等等,用于debug挺好
* @returns {function}
*/
useLogger() {
let count = 0;
return (...args) => {
console.log(count++, ...args);
};
}
}
};
};
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 451 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 815 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 920 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 658 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB