mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 04:37:13 +08:00
refactor(Characters/Rooster): 调整子弹折射和分裂参数
移除子弹分裂参数,将子弹折射次数从2增加到3 更新武器从ChainGun到PurpleCrystal 优化子弹折射逻辑,避免重复目标 使用call_deferred安全添加子节点
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user