1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-09 13:17:12 +08:00

feat(武器): 更新七魂武器效果并添加音效

- 添加攻击音效文件
- 修改七魂子弹生成逻辑,从7个改为6个并添加延迟
- 调整子弹生命周期和旋转动画
- 更新武器描述和属性
- 添加新的测试BOSS波浪数据
This commit is contained in:
2025-09-25 22:41:04 +08:00
parent 159389c908
commit 49d3a31367
7 changed files with 45 additions and 10 deletions
+3 -1
View File
@@ -2,9 +2,11 @@
extends Weapon
func attack(entity: EntityBase):
for i in 7:
playSound("attack")
for i in 6:
for j in BulletBase.generate(ComponentManager.getBullet("SevenSoul"), entity, entity.texture.global_position, 0):
j.index = i
await TickTool.millseconds(20000 / 6.0)
func update(to, origin, _entity):
origin["atk"] += 1 * to * soulLevel
return origin