1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

feat(武器): 添加钢管武器蓄力特效和音效

- 为钢管武器添加蓄力粒子效果
- 新增钢管落地音效资源
- 修改钢管子弹碰撞形状为圆形
- 添加钢管武器能量消耗和冷却时间配置
- 实现钢管子弹销毁时的落地效果
This commit is contained in:
2026-02-05 20:26:47 +08:00
parent 53412c0968
commit d1bf911c79
9 changed files with 89 additions and 8 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ func tryAttack(entity: EntityBase):
entity.useEnergy(needEnergy)
return result
func charged(base: float, percent: float):
return base * (1 + chargedTime / 50 * percent)
return base * (1 + chargedTime / 75 * percent)
# 抽象
func update(_to: int, origin: Dictionary, _entity: EntityBase):