mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 23:41:54 +08:00
refactor(武器系统): 调整武器属性和配置
- 移除BroomGun的基础伤害属性 - 调整EnergyBlock的最大生命值 - 优化Parrier的弹反冲力计算 - 修改Tree武器的攻击速率和伤害比例 - 更新Rooster的武器配置
This commit is contained in:
@@ -16,7 +16,7 @@ func parryEffect(bullet: BulletBase):
|
||||
eff.modulate = bullet.modulate.blend(bullet.texture.modulate)
|
||||
eff.rotation = position.angle_to_point(bullet.position)
|
||||
eff.shot()
|
||||
launcher.impluse((position - bullet.position).normalized() * bullet.speed ** (1.0 / 2) * 250)
|
||||
launcher.impluse((position - bullet.position).normalized() * sqrt(abs(bullet.speed)) * 250)
|
||||
func penerateEffect(entity: EntityBase):
|
||||
parryiedTimes += 1
|
||||
var eff = EffectController.create(ComponentManager.getEffect("ParryEntity"), position)
|
||||
|
||||
Reference in New Issue
Block a user