mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
698b5a5618
调整钻石子弹的静态精灵位置和缩放,添加碰撞形状 修复当父节点无效时动画停止逻辑 ``` ```msg feat(Weapons/BlueCrystal): 调整蓝水晶武器属性 增加子弹环绕数量计算公式 降低基础攻击力并增加冷却时间 更新描述文本移除逃逸时间说明
13 lines
284 B
GDScript
13 lines
284 B
GDScript
extends BulletBase
|
|
class_name Diamond2Bullet
|
|
|
|
@onready var staticSprite: Sprite2D = $%static
|
|
|
|
func ai():
|
|
if is_instance_valid(parent):
|
|
position = parent.position
|
|
else:
|
|
if animator.is_playing():
|
|
animator.stop(true)
|
|
PresetBulletAI.forward(self, staticSprite.global_rotation)
|