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

feat(武器系统): 重构LGBT武器和彩虹旗召唤物

调整LGBT武器属性计算公式,增加角度和数量参数
为彩虹旗召唤物添加多子弹发射和延迟发射功能
修改子弹追踪逻辑和穿透属性
更新武器描述和能量消耗
This commit is contained in:
2025-11-07 22:31:51 +08:00
parent 287f29695d
commit 675219e0f8
10 changed files with 79 additions and 32 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ func ai():
speed *= 1.05
speed = clamp(speed, 0, 20)
if is_instance_valid(tracer) and timeLived() < maxTraceTime:
PresetBulletAI.trace(self, tracer.getTrackingAnchor(), clamp(speed / 50 * tracePower, 0, 1))
PresetBulletAI.trace(self, tracer.getTrackingAnchor(), tracePower)
PresetBulletAI.forward(self, rotation)
func destroy(_b):
EffectController.create(ComponentManager.getEffect("LGBTBoom"), position).shot()