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

feat(子弹): 调整狐狸爪子弹属性和初始波数

为狐狸爪子弹添加速度、自伤和无敌伤害属性,并将初始波数调整为10
修改追踪逻辑使用新定义的速度属性
This commit is contained in:
2025-11-22 08:04:08 +08:00
parent 23e19bb0b5
commit b402f04ada
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -196,7 +196,10 @@ height = 290.0
script = ExtResource("2_rl21b")
canTrace = true
displayName = "爪"
speed = 0.07
penerate = 1.0
indisDamage = true
canDamageSelf = true
autoSpawnAnimation = true
freeAfterSpawn = true
+1 -1
View File
@@ -5,4 +5,4 @@ class_name FoxZhua
func ai():
if canTrace:
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), 0.07)
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), speed)
+1 -1
View File
@@ -22,7 +22,7 @@ func duplicate() -> Wave:
wave.per = per
return wave
static var current: int = startWith(1)
static var current: int = startWith(10)
static var WAVE_NORMAL = [
Wave.create("Hen", 1, 3, false, 0, INF, 1),
Wave.create("Cat", 1, 3, false, 0, INF, 1),