1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-02 17:31:55 +08:00

feat(子弹): 为VectorStar添加分裂逻辑并重构ArrowSeven

为VectorStar子弹添加分裂时的特殊处理逻辑,确保分裂出的新子弹不会被标记为forwarded
将ArrowSeven子弹重命名为ArrowSevenBullet以明确类名,并移除多余空行
This commit is contained in:
2026-01-17 12:35:39 +08:00
parent 1fa8263667
commit 7c215033ec
2 changed files with 4 additions and 3 deletions
+3
View File
@@ -16,3 +16,6 @@ func ai():
speed = (timeLived() - forwardTime) / 30
if is_instance_valid(tracer):
rotation = position.angle_to_point(tracer.getTrackingAnchor())
func split(newBullet: BulletBase, _index: int, _total: int, _lastBullet: float):
if newBullet is VectorStar:
newBullet.forwarded = false