mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-30 16:01:53 +08:00
fix(武器/子弹): 调整子弹速度和能量衰减
修改Pipe武器的子弹速度计算方式,使用平方根函数平滑速度增长 将Pipe子弹命中后的能量衰减系数从0.8改为0.6,加快能量消耗
This commit is contained in:
@@ -11,4 +11,4 @@ func ai():
|
||||
func destroy(_beacuseMap: bool):
|
||||
EffectController.create(ComponentManager.getEffect("PipeFall"), position).shot()
|
||||
func succeedToHit(_dmg: float, _entity: EntityBase):
|
||||
energy *= 0.8
|
||||
energy *= 0.6
|
||||
|
||||
Reference in New Issue
Block a user