1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-03 18:27:13 +08:00

fix(武器/子弹): 调整管道武器和子弹的数值计算

修复管道武器的充能计算方式,改为基于灵魂等级减1的乘法
修改子弹旋转速度计算,使用初始速度替代能量值
添加子弹基础伤害与能量值的关联
调整子弹命中后的能量衰减系数
This commit is contained in:
2026-02-09 13:10:15 +08:00
parent 21352430e3
commit fd58948b3f
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -5,7 +5,10 @@ var energy: float = 0
func ai():
PresetBulletAI.forward(self, rotation)
texture.rotation += energy * (1 - lifeTimePercent()) / 100
texture.rotation += initialSpeed * (1 - lifeTimePercent()) / 100
speed = initialSpeed * (1 - lifeTimePercent())
baseDamage = energy
func destroy(_beacuseMap: bool):
EffectController.create(ComponentManager.getEffect("PipeFall"), position).shot()
func succeedToHit(_dmg: float, _entity: EntityBase):
energy *= 0.95