mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix: 调整Cogwheel子弹减速逻辑并移除Rooster测试代码
调整Cogwheel子弹的减速系数slow从乘以2改为固定0.5,使减速更平滑 移除Rooster角色中非发布版本的额外子弹数量测试代码
This commit is contained in:
@@ -19,7 +19,7 @@ func ai():
|
||||
else:
|
||||
speed = initialSpeed * (rotateSpeed / initialRotate)
|
||||
if rotateSpeed >= 0 and rotateSpeed / slow <= 0:
|
||||
slow *= 2
|
||||
slow = 0.5
|
||||
dotTime = 1000 / (rotateSpeed)
|
||||
rotateSpeed -= slow
|
||||
func applyDot():
|
||||
|
||||
@@ -15,8 +15,6 @@ func register():
|
||||
EffectController.create(ComponentManager.getEffect("BloodFall"), texture.global_position).shot()
|
||||
)
|
||||
chargeParticle.emitting = false
|
||||
if !WorldManager.isRelease():
|
||||
fields[FieldStore.Entity.EXTRA_BULLET_COUNT] = 3
|
||||
|
||||
func ai():
|
||||
texture.play("walk")
|
||||
|
||||
Reference in New Issue
Block a user