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

refactor(Characters/Rooster): 调整子弹折射和分裂参数

移除子弹分裂参数,将子弹折射次数从2增加到3
更新武器从ChainGun到PurpleCrystal
优化子弹折射逻辑,避免重复目标
使用call_deferred安全添加子节点
This commit is contained in:
2026-01-17 13:22:10 +08:00
parent ef6e21de78
commit 6e7272d7d9
4 changed files with 19 additions and 8 deletions
+1 -2
View File
@@ -12,8 +12,7 @@ func register():
EffectController.create(ComponentManager.getEffect("BloodFall"), texture.global_position).shot()
)
if !WorldManager.isRelease():
fields[FieldStore.Entity.BULLET_SPLIT] = 2
fields[FieldStore.Entity.BULLET_REFRACTION] = 2
fields[FieldStore.Entity.BULLET_REFRACTION] = 3
func ai():
texture.play("walk")
var direction = Vector2(