1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-09 05:07:12 +08:00

feat(子弹效果): 为蓝水晶子弹添加爆炸效果并调整相关配置

- 在BlueCrystal.gd中添加destroy方法创建爆炸效果
- 新增BlueCrystalExplosion.tscn爆炸效果场景
- 调整PurpleCrystalExplosion.tscn粒子数量
- 修复ItemDropped.gd中玩家实例有效性检查
- 将Rooster.tscn的武器更换为水晶系武器
This commit is contained in:
2025-12-14 14:18:30 +08:00
parent c0d5faf668
commit 0f3b75513a
5 changed files with 111 additions and 13 deletions
+4
View File
@@ -14,3 +14,7 @@ func ai():
trail.rotation = 0
speed += 0.1
PresetBulletAI.forward(self, rotation)
func destroy(_beacuseMap: bool):
var eff = EffectController.create(ComponentManager.getEffect("BlueCrystalExplosion"), global_position)
eff.rotation = rotation
eff.shot()