feat(gameplay): 调整单位属性和纹理设置并优化主角移动系统

- 修改多个纹理资源的最大尺寸从2048降至512,并添加PlayableAds平台设置
- 调整第一、二章多个单位的移动速度、攻击力和攻击持续时间参数
- 重命名精锐士兵预制体名称,移除"新"字后缀
- 降低精锐士兵的攻击力和攻击持续时间

- 为主角战斗组件添加detectRange字段,实现寻敌和攻击范围分离
- 重构主角移动系统,从点击移动改为自动巡逻模式,增加栓绳机制防止远离基地
- 实现巡逻和追击状态切换,在发现敌人时停止巡逻进行攻击
-
This commit is contained in:
huadexuan committed 2026-09-14 18:36:50 +08:00
1 parent 769aea30f3
commit 8d43961f67
28 files changed
+443 -125

No files matched your search

+6 -6
View File
@@ -21,10 +21,10 @@ MonoBehaviour:
manaCost: 6
cooldownTime: 1
productionInterval: 12
buildingCost: 100
baseMaxHealth: 70
baseAttackPower: 100
baseMoveSpeed: 3
healthPerLevel: 7
attackPerLevel: 10
buildingCost: 150
baseMaxHealth: 160
baseAttackPower: 90
baseMoveSpeed: 1.5
healthPerLevel: 16
attackPerLevel: 7
moveSpeedPerLevel: 0