1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 07:21:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/ChickSprint.gd
T
fallingshrimp 78734700d5 feat: 调整武器和召唤物属性及初始波次
修改多个武器和召唤物的属性值,包括生命值、伤害计算和能量消耗
调整初始波次从0改为9,优化游戏初始难度
更新武器卡片的UI显示和描述文本
2025-11-08 21:02:54 +08:00

15 lines
326 B
GDScript

extends BulletBase
class_name ChickSprint
func register():
speed = 0
penerate = 1
func ai():
damage = launcher.velocity.length() / 500
PresetBulletAI.lockLauncher(self, launcher, true)
if !launcher.sprinting:
tryDestroy()
func destroy(beacuseMap: bool):
if beacuseMap:
launcher.takeDamage(self, MathTool.rate(0.5))