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

fix(子弹效果): 调整紫色水晶爆炸效果的方向和参数

修改紫色水晶爆炸效果的方向、扩散角度和初始速度,使其更符合预期效果。同时增加粒子数量,提升视觉效果。
This commit is contained in:
2025-09-06 16:55:09 +08:00
parent 73e34e07d2
commit 40732f2daf
2 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -4,7 +4,9 @@ class_name PurpleCrystal
func ai():
PresetAIs.forward(self, rotation)
func destroy(_beacuseMap: bool):
EffectController.create(preload("res://components/Effects/PurpleCrystalExplosion.tscn"), global_position).shot()
var eff = EffectController.create(preload("res://components/Effects/PurpleCrystalExplosion.tscn"), global_position)
eff.rotation = rotation
eff.shot()
func split(index, total, _last):
BulletBase.generate(
preload("res://components/Bullets/PurpleCrystal.tscn"),