1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 20:27:13 +08:00

feat(战斗系统): 添加实体惯性系统并改进击退效果

为实体添加惯性系统,包括inertia属性和impluse方法
修改Parrier子弹碰撞时的击退逻辑,使用平方根计算更真实的冲击效果
调整Wave测试数据,在非发布版本使用测试Boss数据
This commit is contained in:
2026-03-23 22:27:09 +08:00
parent 54d3783306
commit d9078f8cbd
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ static var WAVE_JUSTJOKE = [
Wave.create("Kernyr", 0, 0, true, 0, INF, 1),
]
static var WAVE_EMPTY = []
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_NORMAL
static var data = WAVE_NORMAL if WorldManager.isRelease() else WAVE_TESTBOSS_KUKE
static func create(
entity_: String,