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

feat(子弹): 调整子弹属性和添加粒子效果

- 提高FireScan子弹的速度和伤害
- 修改Chick角色的攻击距离判定
- 调整ChickLaser的碰撞区域位置
- 将FireScan的碰撞形状改为矩形
- 为Diamond子弹添加粒子效果系统
This commit is contained in:
2025-08-29 11:34:25 +08:00
parent 5c16dcc294
commit 96430162b4
5 changed files with 97 additions and 10 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ extends BulletBase
class_name FireScan
func register():
speed = 2
damage = 1
speed = 10
damage = 5
func ai():
PresetsAI.forward(self, rotation)
+2 -2
View File
@@ -14,9 +14,9 @@ func register():
func ai():
move(currentFocusedBoss.position - position)
if currentFocusedBoss.position.distance_to(position) < 200:
if currentFocusedBoss.position.distance_to(position) < 300:
tryAttack(2)
elif currentFocusedBoss.position.distance_to(position) < 500:
elif currentFocusedBoss.position.distance_to(position) < 700:
tryAttack(1)
else:
tryAttack(0)