1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 11:47:13 +08:00

feat(游戏结束): 添加失败音效并调整游戏平衡

添加失败音效并在游戏结束时播放
调整小鸡角色的攻击概率和伤害值
恢复初始波次配置为母鸡和小鸡的组合
This commit is contained in:
2025-08-29 14:10:23 +08:00
parent 327afcc721
commit 685c81e654
7 changed files with 44 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func ai():
elif currentFocusedBoss.position.distance_to(position) < 700:
tryAttack(1)
else:
var method = MathTool.randc_from([0, 3])
var method = MathTool.randc_from([3, 3, 0, 3, 3])
tryAttack(method, method == 3)
func attack(type):
if type == 0: