fix(战斗): 调整攻击技能碰撞区域与移动逻辑
- 统一四个攻击技能的碰撞框宽度从100增加至150,并调整偏移量 - 移除移动系统中保持距离的逻辑,仅在超出最小范围且需要调整阵型时移动 - 为atk_s3和atk_s4技能添加debugMode字段
This commit is contained in:
@@ -523,7 +523,7 @@
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"width": 150,
|
||||
"height": 100
|
||||
},
|
||||
"_id": ""
|
||||
|
||||
@@ -521,12 +521,12 @@
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 50,
|
||||
"x": 0,
|
||||
"y": 50
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"width": 150,
|
||||
"height": 100
|
||||
},
|
||||
"_id": ""
|
||||
|
||||
@@ -457,6 +457,7 @@
|
||||
},
|
||||
"atk_x": 0,
|
||||
"atk_y": 0,
|
||||
"debugMode": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -517,12 +518,12 @@
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 50,
|
||||
"x": 0,
|
||||
"y": 50
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"width": 150,
|
||||
"height": 100
|
||||
},
|
||||
"_id": ""
|
||||
|
||||
@@ -457,6 +457,7 @@
|
||||
},
|
||||
"atk_x": 0,
|
||||
"atk_y": 0,
|
||||
"debugMode": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
@@ -517,12 +518,12 @@
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 50,
|
||||
"x": 0,
|
||||
"y": 50
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"width": 150,
|
||||
"height": 100
|
||||
},
|
||||
"_id": ""
|
||||
|
||||
Reference in New Issue
Block a user