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
@@ -20,11 +20,11 @@ MonoBehaviour:
type: 3}
manaCost: 2
cooldownTime: 1
productionInterval: 8
productionInterval: 6
buildingCost: 100
baseMaxHealth: 100
baseAttackPower: 50
baseMoveSpeed: 3
healthPerLevel: 10
attackPerLevel: 5
baseMaxHealth: 300
baseAttackPower: 30
baseMoveSpeed: 1.8
healthPerLevel: 30
attackPerLevel: 3
moveSpeedPerLevel: 0
+7 -7
View File
@@ -20,11 +20,11 @@ MonoBehaviour:
type: 3}
manaCost: 3
cooldownTime: 1
productionInterval: 10
buildingCost: 100
baseMaxHealth: 80
baseAttackPower: 60
baseMoveSpeed: 3.5
healthPerLevel: 8
attackPerLevel: 6
productionInterval: 8
buildingCost: 120
baseMaxHealth: 200
baseAttackPower: 40
baseMoveSpeed: 1.8
healthPerLevel: 20
attackPerLevel: 3
moveSpeedPerLevel: 0
+7 -5
View File
@@ -19,9 +19,11 @@ MonoBehaviour:
unitPrefab: {fileID: 0}
manaCost: 3
cooldownTime: 1
baseMaxHealth: 145
baseAttackPower: 36
baseMoveSpeed: 3.5
healthPerLevel: 7.25
attackPerLevel: 1.8
productionInterval: 8
buildingCost: 120
baseMaxHealth: 200
baseAttackPower: 15
baseMoveSpeed: 2.2
healthPerLevel: 20
attackPerLevel: 1
moveSpeedPerLevel: 0
+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
+7 -5
View File
@@ -19,9 +19,11 @@ MonoBehaviour:
unitPrefab: {fileID: 0}
manaCost: 4
cooldownTime: 1
baseMaxHealth: 360
baseAttackPower: 38
baseMoveSpeed: 3.8
healthPerLevel: 18
attackPerLevel: 1.9
productionInterval: 10
buildingCost: 150
baseMaxHealth: 380
baseAttackPower: 32
baseMoveSpeed: 2.5
healthPerLevel: 38
attackPerLevel: 3
moveSpeedPerLevel: 0
+7 -5
View File
@@ -20,9 +20,11 @@ MonoBehaviour:
type: 3}
manaCost: 4
cooldownTime: 1
baseMaxHealth: 150
baseAttackPower: 40
baseMoveSpeed: 2.5
healthPerLevel: 15
attackPerLevel: 4
productionInterval: 10
buildingCost: 150
baseMaxHealth: 900
baseAttackPower: 20
baseMoveSpeed: 1.4
healthPerLevel: 90
attackPerLevel: 2
moveSpeedPerLevel: 0
+7 -5
View File
@@ -19,9 +19,11 @@ MonoBehaviour:
unitPrefab: {fileID: 0}
manaCost: 7
cooldownTime: 1
baseMaxHealth: 820
baseAttackPower: 72
baseMoveSpeed: 2.5
healthPerLevel: 41
attackPerLevel: 3.6
productionInterval: 20
buildingCost: 250
baseMaxHealth: 1400
baseAttackPower: 110
baseMoveSpeed: 1.1
healthPerLevel: 140
attackPerLevel: 9
moveSpeedPerLevel: 0
+7 -5
View File
@@ -20,9 +20,11 @@ MonoBehaviour:
type: 3}
manaCost: 5
cooldownTime: 1
baseMaxHealth: 120
baseAttackPower: 80
baseMoveSpeed: 3.5
healthPerLevel: 12
attackPerLevel: 8
productionInterval: 12
buildingCost: 180
baseMaxHealth: 420
baseAttackPower: 55
baseMoveSpeed: 2
healthPerLevel: 42
attackPerLevel: 4
moveSpeedPerLevel: 0
+7 -5
View File
@@ -19,9 +19,11 @@ MonoBehaviour:
unitPrefab: {fileID: 0}
manaCost: 1
cooldownTime: 1
baseMaxHealth: 170
baseAttackPower: 22
baseMoveSpeed: 4
healthPerLevel: 8.5
attackPerLevel: 1.1
productionInterval: 5
buildingCost: 80
baseMaxHealth: 340
baseAttackPower: 16
baseMoveSpeed: 1.6
healthPerLevel: 34
attackPerLevel: 1
moveSpeedPerLevel: 0