1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

refactor(武器系统): 调整武器属性和配置

- 移除BroomGun的基础伤害属性
- 调整EnergyBlock的最大生命值
- 优化Parrier的弹反冲力计算
- 修改Tree武器的攻击速率和伤害比例
- 更新Rooster的武器配置
This commit is contained in:
2026-05-01 09:46:50 +08:00
parent 8acb08fd14
commit fb6263d7ec
6 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -4,7 +4,7 @@ class_name EnergyBlockEntity
var currentBroom: BroomBullet
func register():
fields[FieldStore.Entity.MAX_HEALTH] = 3000
fields[FieldStore.Entity.MAX_HEALTH] = 1500
attackCooldownMap[0] = 6000
attackCooldownMap[1] = 3000
attackCooldownMap[2] = 8000