1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/AcidC.gd
T
fallingshrimp 3746a6c73b feat(武器/子弹): 增强酸性武器伤害并添加子弹分裂功能
- 提高酸性武器的基础攻击力和弱点攻击伤害
- 为酸性子弹添加分裂功能,分裂时保持原子弹的缩放方向
2026-01-23 23:51:46 +08:00

11 lines
266 B
GDScript

extends AcidBulletBase
class_name AcidC
func ai():
super.ai()
scale *= 1.01
modulate.a = 1 - timeLived() / lifeTime
func split(newBullet: BulletBase, _index: int, _total: int, _lastBullet: float):
newBullet.scale = scale.sign()
return newBullet