feat(skill): 新增技能击退概率属性并调整相关逻辑

1. 新增knockback_skill_chance属性统一管理技能击退概率
2. 重构击退判定逻辑,支持配置化击退概率而非固定判定
3. 调整红蓝技能预制件的位置、缩放和动画参数
4. 调整角色控制器UI布局参数
5. 为默认普攻配置100%基础击退概率
This commit is contained in:
panFD
2026-08-20 23:01:40 +08:00
parent 9a24f0a9a5
commit 3349b31e2d
9 changed files with 42 additions and 31 deletions

View File

@@ -7,11 +7,11 @@
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 30,
"sample": 12,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.16666666666666666,
"_duration": 0.4166666666666667,
"_hash": 500763545,
"_tracks": [
{
@@ -69,10 +69,10 @@
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.03333333333333333,
0.06666666666666667,
0.1,
0.13333333333333333
0.08333333333333333,
0.16666666666666666,
0.25,
0.3333333333333333
],
"_values": [
{

View File

@@ -7,11 +7,11 @@
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 30,
"sample": 12,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.16666666666666666,
"_duration": 0.4166666666666667,
"_hash": 500763545,
"_tracks": [
{
@@ -69,10 +69,10 @@
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.03333333333333333,
0.06666666666666667,
0.1,
0.13333333333333333
0.08333333333333333,
0.16666666666666666,
0.25,
0.3333333333333333
],
"_values": [
{

View File

@@ -87,7 +87,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -35.811,
"y": -100.418,
"z": 0
},
"_lrot": {
@@ -99,8 +99,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"x": 1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,

View File

@@ -87,7 +87,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -35.811,
"y": -99.598,
"z": 0
},
"_lrot": {
@@ -99,8 +99,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"x": 1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,

View File

@@ -232,7 +232,7 @@
"_top": 0,
"_bottom": 546.004,
"_horizontalCenter": 0,
"_verticalCenter": -7,
"_verticalCenter": -12,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -276,7 +276,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 633,
"y": 628,
"z": 0
}
},