mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
refactor(武器系统): 重构火山武器和火扫弹攻击机制
移除火扫弹的独立脚本和火罐效果,改为直接在子弹中实现 火山武器改为三段伤害机制并调整基础伤害值 添加子弹基础伤害乘数数组支持多段伤害 更新相关场景和资源配置以匹配新机制
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
extends BulletBase
|
||||
class_name FireScan
|
||||
|
||||
func ai():
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
damage = (1 - lifeDistancePercent()) * originalDamage
|
||||
@@ -1 +0,0 @@
|
||||
uid://dlg4g03ppdd2x
|
||||
@@ -5,4 +5,4 @@ class_name FoxZhua
|
||||
|
||||
func ai():
|
||||
if canTrace:
|
||||
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), speed)
|
||||
PresetBulletAI.lerpPosition(self, launcher.currentFocusedBoss.getTrackingAnchor() - Vector2(0, 200), speed)
|
||||
|
||||
Reference in New Issue
Block a user