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

fix: 修复测试模式下使用错误波次数据的问题并调整格挡效果

调整波次数据在测试模式下使用正常波次而非测试波次,避免潜在问题
修改格挡特效动画轨道,增加隐藏方法调用
调整格挡子弹生成位置距离
This commit is contained in:
2026-03-17 06:52:55 +08:00
parent 88a9fd5fff
commit 9fa1b2eed2
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class_name ParrierBullet
func hitBullet(bullet: BulletBase):
if BulletTool.canDamage(bullet, launcher):
if MathTool.rate(parryRate):
var eff = EffectController.create(ComponentManager.getEffect("Parry"), position + (bullet.position - position).normalized() * 100)
var eff = EffectController.create(ComponentManager.getEffect("Parry"), position + (bullet.position - position).normalized() * 120)
eff.modulate = bullet.modulate
eff.shot()
bullet.tryDestroy()