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:
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user