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

feat(BigLaser): 降低能量消耗并增强伤害计算

调整BigLaser的能量需求从150降至100,同时根据发射者的攻击速度增强伤害
This commit is contained in:
2025-08-28 15:45:38 +08:00
parent ec3251ec9d
commit 766a894879
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
extends BulletBase
class_name BigLaser
class_name BigLaser # 这个子弹是玩家的超级武器,耗能高,dps也高
func spawn():
CameraManager.shake(5000, 100)
CameraManager.shake(5000, 100) # 激光会运行5秒,期间震屏100强度
CameraManager.playAnimation("bigLaser")
fields[FieldStore.Bullet.DAMAGE] *= launcher.fields[FieldStore.Entity.ATTACK_SPEED]
func ai():
rotation = lerp_angle(rotation, ((get_global_mouse_position() - position).angle()), 0.1)
position = launcher.texture.global_position