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

refactor(Bullets): 优化Parrier子弹效果和动画

- 调整子弹碰撞体大小和位置
- 修改动画效果,简化动画轨道
- 移除未使用的AI函数
- 添加子弹颜色继承效果
This commit is contained in:
2026-03-17 06:34:07 +08:00
parent 5cb1e27a08
commit 2722a123ca
2 changed files with 48 additions and 56 deletions
+3 -3
View File
@@ -3,8 +3,8 @@ class_name ParrierBullet
func hitBullet(bullet: BulletBase):
if BulletTool.canDamage(bullet, launcher):
EffectController.create(ComponentManager.getEffect("Parry"), position).shot()
var eff = EffectController.create(ComponentManager.getEffect("Parry"), position)
eff.modulate = bullet.modulate
eff.shot()
bullet.tryDestroy()
tryDestroy()
func ai():
PresetBulletAI.forward(self , rotation)