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

feat(武器): 增强格挡武器并添加新特效

增加格挡武器的攻击力从20提升至35
添加冲刺速度随气力增加的机制
为格挡和攻击添加新的视觉特效和音效
调整格挡子弹的碰撞检测形状
优化特效控制器逻辑确保正确释放资源
This commit is contained in:
2026-03-21 18:55:32 +08:00
parent 2c1d4906aa
commit aa3f34ca74
43 changed files with 823 additions and 126 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ func attack(entity: EntityBase):
for bullet in BulletBase.generate(
ComponentManager.getBullet("Parrier"),
entity,
entity.findWeaponAnchor("normal"),
entity.findWeaponAnchor("normal").angle_to_point(get_global_mouse_position()),
entity.texture.global_position,
entity.texture.global_position.angle_to_point(get_global_mouse_position()),
):
if bullet is ParrierBullet:
bullet.atk = readStore("atk")