mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
78734700d5
修改多个武器和召唤物的属性值,包括生命值、伤害计算和能量消耗 调整初始波次从0改为9,优化游戏初始难度 更新武器卡片的UI显示和描述文本
15 lines
326 B
GDScript
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))
|