fix(战斗): 调整攻击技能碰撞区域与移动逻辑
- 统一四个攻击技能的碰撞框宽度从100增加至150,并调整偏移量 - 移除移动系统中保持距离的逻辑,仅在超出最小范围且需要调整阵型时移动 - 为atk_s3和atk_s4技能添加debugMode字段
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
"_exoticAnimation": null,
|
||||
"_events": [
|
||||
{
|
||||
"frame": 0.20833333333333334,
|
||||
"frame": 0.08333333333333333,
|
||||
"func": "",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"frame": 0.20833333333333334,
|
||||
"frame": 0.08333333333333333,
|
||||
"func": "atk",
|
||||
"params": []
|
||||
}
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
"_exoticAnimation": null,
|
||||
"_events": [
|
||||
{
|
||||
"frame": 0.125,
|
||||
"frame": 0.08333333333333333,
|
||||
"func": "",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"frame": 0.125,
|
||||
"frame": 0.08333333333333333,
|
||||
"func": "atk",
|
||||
"params": []
|
||||
}
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
"_exoticAnimation": null,
|
||||
"_events": [
|
||||
{
|
||||
"frame": 0.14814814814814814,
|
||||
"frame": 0.07407407407407407,
|
||||
"func": "",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"frame": 0.14814814814814814,
|
||||
"frame": 0.07407407407407407,
|
||||
"func": "atk",
|
||||
"params": []
|
||||
}
|
||||
|
||||
@@ -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