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