fix(战斗): 调整近战英雄追击逻辑和攻击范围
- 禁用 atk_s1.prefab 中的某个节点以避免干扰 - 增加近战攻击范围的高度从 100 到 150 - 添加 meleeOvertakeSpeedGap 常量用于控制追击速度差阈值 - 实现 shouldAllowMeleeOvertake 方法,允许高速近战英雄在特定条件下超越同优先级盟友 - 条件包括:双方均为近战、优先级相同、速度足够快、盟友未进入攻击准备状态且仍在前进中
This commit is contained in:
@@ -297,7 +297,7 @@
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 12
|
||||
},
|
||||
@@ -492,7 +492,7 @@
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 30,
|
||||
"height": 100
|
||||
"height": 150
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user