1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 07:51:54 +08:00

feat: 添加多个召唤物的displayName并调整相关参数

refactor: 统一测试BOSS的wave配置
fix: 修正Parrier.gd中的launcher判断条件
perf: 调整MTY的攻击冷却时间和技能范围
style: 移除部分调试标记和冗余代码
This commit is contained in:
2026-04-25 13:17:17 +08:00
parent 3a8c48dae7
commit 7120eaa79e
12 changed files with 53 additions and 45 deletions
+4 -4
View File
@@ -4,9 +4,9 @@ class_name MTY
func register():
fields[FieldStore.Entity.MAX_HEALTH] = 400
fields[FieldStore.Entity.MOVEMENT_SPEED] = 0.9
attackCooldownMap[0] = 2000
attackCooldownMap[1] = 750
attackCooldownMap[2] = 450
attackCooldownMap[0] = 4000
attackCooldownMap[1] = 1500
attackCooldownMap[2] = 500
sprintMultiplier = 5
func spawn():
texture.play("walk")
@@ -19,7 +19,7 @@ func attack(type: int):
trySprint()
elif type == 1:
var track = getTrackingAnchor()
var bullet = BulletTool.findClosetBulletCanDamage(track, get_tree(), self , 400)
var bullet = BulletTool.findClosetBulletCanDamage(track, get_tree(), self , 450)
if is_instance_valid(bullet):
BulletBase.generate(ComponentManager.getBullet("Parrier"), self , track, track.angle_to_point(bullet.position))
elif type == 2: