refactor(monster): 统一怪物与英雄的数值设定体系

1. 重构怪物配置,使用HERO_ROLE_BASE作为基础属性基准,通过card_lv应用品质系数
2. 新增怪物设计原则文档,明确数值平衡与成长逻辑
3. 修复Mon.ts中怪物属性计算,适配新的品质缩放规则与12级职业属性加成
4. 更新UI预制体的属性图标与文字显示,适配新的属性展示逻辑
This commit is contained in:
panFD
2026-09-01 23:23:53 +08:00
parent f08b0794fd
commit 2cfc2308b3
4 changed files with 96 additions and 80 deletions

View File

@@ -7161,8 +7161,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
"width": 35,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -7198,7 +7198,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88",
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@c6c69",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -7354,7 +7354,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.576171875,
"width": 44,
"height": 41.8
},
"_anchorPoint": {
@@ -7385,12 +7385,12 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 202,
"g": 202,
"b": 202,
"r": 194,
"g": 194,
"b": 194,
"a": 255
},
"_string": "label",
"_string": "攻速",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 20,
@@ -7410,9 +7410,9 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 41,
"g": 41,
"b": 41,
"a": 255
},
"_outlineWidth": 2,
@@ -8168,8 +8168,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
"width": 35,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8205,7 +8205,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88",
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@3e14b",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -8361,7 +8361,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.576171875,
"width": 44,
"height": 41.8
},
"_anchorPoint": {
@@ -8392,12 +8392,12 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 202,
"g": 202,
"b": 202,
"r": 194,
"g": 194,
"b": 194,
"a": 255
},
"_string": "label",
"_string": "攻击",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 20,
@@ -8417,9 +8417,9 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 41,
"g": 41,
"b": 41,
"a": 255
},
"_outlineWidth": 2,
@@ -9175,8 +9175,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
"width": 35,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9212,7 +9212,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88",
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@08dd6",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -9368,7 +9368,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.576171875,
"width": 44,
"height": 41.8
},
"_anchorPoint": {
@@ -9399,12 +9399,12 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 202,
"g": 202,
"b": 202,
"r": 194,
"g": 194,
"b": 194,
"a": 255
},
"_string": "label",
"_string": "生命",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 20,
@@ -9424,9 +9424,9 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 41,
"g": 41,
"b": 41,
"a": 255
},
"_outlineWidth": 2,
@@ -10182,8 +10182,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 30,
"height": 30
"width": 35,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -10219,7 +10219,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88",
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@b4af4",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -10375,7 +10375,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.576171875,
"width": 44,
"height": 41.8
},
"_anchorPoint": {
@@ -10406,12 +10406,12 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 202,
"g": 202,
"b": 202,
"r": 194,
"g": 194,
"b": 194,
"a": 255
},
"_string": "label",
"_string": "防御",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 20,
@@ -10431,9 +10431,9 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 41,
"g": 41,
"b": 41,
"a": 255
},
"_outlineWidth": 2,
@@ -12730,7 +12730,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 25,
"x": 40,
"y": 0,
"z": 0
},
@@ -12880,7 +12880,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 144.36865234375,
"width": 174.36865234375,
"height": 30
},
"_anchorPoint": {
@@ -13621,7 +13621,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 25,
"x": 40,
"y": 0,
"z": 0
}
@@ -13642,7 +13642,7 @@
],
"value": {
"__type__": "cc.Size",
"width": 144.36865234375,
"width": 174.36865234375,
"height": 30
}
},