优化了 飘字和名称修改

This commit is contained in:
2025-01-21 22:54:44 +08:00
parent 34039c3ca7
commit 2893050463
10 changed files with 3580 additions and 1160 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "e461c2a7-4296-435b-ad01-041bbbc62f9e",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "tobig"
}
}

View File

@@ -31,20 +31,23 @@
"__id__": 32
},
{
"__id__": 42
"__id__": 44
}
],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 54
},
{
"__id__": 54
"__id__": 56
},
{
"__id__": 58
}
],
"_prefab": {
"__id__": 56
"__id__": 60
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -100,7 +103,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 12.78,
"y": 20,
"z": 0
},
"_lrot": {
@@ -190,7 +193,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26.7412109375,
"width": 22.61767578125,
"height": 39.8
},
"_anchorPoint": {
@@ -229,7 +232,7 @@
"_string": "10",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 30,
@@ -354,7 +357,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 12.53,
"y": 20,
"z": 0
},
"_lrot": {
@@ -444,7 +447,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 26.7412109375,
"width": 22.61767578125,
"height": 39.8
},
"_anchorPoint": {
@@ -483,7 +486,7 @@
"_string": "10",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 30,
@@ -585,7 +588,7 @@
},
{
"__type__": "cc.Node",
"_name": "skill",
"_name": "bloss",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -608,7 +611,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"y": 20,
"z": 0
},
"_lrot": {
@@ -625,7 +628,7 @@
"z": 1
},
"_mobility": 0,
"_layer": 2,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
@@ -636,7 +639,7 @@
},
{
"__type__": "cc.Node",
"_name": "name",
"_name": "hp",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -658,7 +661,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -37.462,
"y": 0,
"z": 0
},
"_lrot": {
@@ -675,7 +678,7 @@
"z": 1
},
"_mobility": 0,
"_layer": 2,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
@@ -698,8 +701,265 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 104.71875,
"height": 33.2
"width": 38.30422574344615,
"height": 46.1
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55I8JpnXhPoLsF7UAMsW2P"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_string": "10",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 35,
"_fontSize": 35,
"_fontFamily": "Arial",
"_lineHeight": 35,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "a8f2a4a3-911f-43d3-9174-f2176554d7d4",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8fe9dF+oZOtrBXkWK7Zov5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7fnHKSWA5JtKAidc9unW1m",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "03+pQINmpEeLZGnj5sA4RM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "20vKhpGcBEoKbUIhLvPmd1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "skill",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 33
}
],
"_active": false,
"_components": [
{
"__id__": 39
},
{
"__id__": 41
}
],
"_prefab": {
"__id__": 43
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -37,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
},
{
"__id__": 36
}
],
"_prefab": {
"__id__": 38
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 35
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100.71875,
"height": 29.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -718,11 +978,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 27
"__id__": 37
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -793,260 +1053,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fc0Ctp9QxNgLDYngwbiWkQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "362dCkUMxFKJ+8K9DVcOhg",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bloss",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 33
}
],
"_active": false,
"_components": [
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 12.53,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "hp",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
},
{
"__id__": 36
}
],
"_prefab": {
"__id__": 38
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 35
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 45
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55I8JpnXhPoLsF7UAMsW2P"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
},
"_enabled": true,
"__prefab": {
"__id__": 37
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_string": "10",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 41,
"_fontSize": 35,
"_fontFamily": "Arial",
"_lineHeight": 35,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "a8f2a4a3-911f-43d3-9174-f2176554d7d4",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8fe9dF+oZOtrBXkWK7Zov5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7fnHKSWA5JtKAidc9unW1m",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1073,7 +1079,49 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "03+pQINmpEeLZGnj5sA4RM"
"fileId": "fc0Ctp9QxNgLDYngwbiWkQ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 42
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c5NIcHO8NCoKEL938Myv1r"
},
{
"__type__": "cc.PrefabInfo",
@@ -1083,7 +1131,7 @@
"asset": {
"__id__": 0
},
"fileId": "20vKhpGcBEoKbUIhLvPmd1",
"fileId": "362dCkUMxFKJ+8K9DVcOhg",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -1098,17 +1146,17 @@
},
"_children": [
{
"__id__": 43
"__id__": 45
}
],
"_active": false,
"_components": [
{
"__id__": 49
"__id__": 51
}
],
"_prefab": {
"__id__": 51
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1130,7 +1178,7 @@
"z": 1
},
"_mobility": 0,
"_layer": 2,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
@@ -1145,20 +1193,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 42
"__id__": 44
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 46
},
{
"__id__": 46
"__id__": 48
}
],
"_prefab": {
"__id__": 48
"__id__": 50
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1180,7 +1228,7 @@
"z": 1
},
"_mobility": 0,
"_layer": 2,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
@@ -1195,16 +1243,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 45
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128.8984375,
"height": 39.5
"width": 100.71875,
"height": 29.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1223,11 +1271,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 43
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 47
"__id__": 49
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1242,7 +1290,7 @@
"_string": "skill name",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 25,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 20,
@@ -1304,11 +1352,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 42
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 50
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1349,7 +1397,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 53
"__id__": 55
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1377,7 +1425,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 55
"__id__": 57
},
"_id": ""
},
@@ -1385,6 +1433,35 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "99T6VfhxpBi77UjUnNlL0n"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "e461c2a7-4296-435b-ad01-041bbbc62f9e",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "e461c2a7-4296-435b-ad01-041bbbc62f9e",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d0eIKTX+9IBZN4cQFu+LXr"
},
{
"__type__": "cc.PrefabInfo",
"root": {

File diff suppressed because it is too large Load Diff

View File

@@ -220,66 +220,66 @@ function shuffleArray<T>(array: T[]): T[] {
export const BoxDrop={
1:[
{uuid: 9001,dropRate: 10,num_max: 100000,type:0},
{uuid: 9001,dropRate: 10,num_max: 500000,type:0},
{uuid: 9003,dropRate: 10,num_max: 500,type:0},
],
2:[
{uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5001,dropRate: 5,num_max: 5,type:1}, // 圣盾战 quality 3
{uuid: 5002,dropRate: 30,num_max: 5,type:1}, // 火女 quality 1
{uuid: 5003,dropRate: 30,num_max: 5,type:1}, // 牧师 quality 1
{uuid: 5004,dropRate: 15,num_max: 5,type:1}, // 自愈骑 quality 2
{uuid: 5005,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5006,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5007,dropRate: 5,num_max: 5,type:1}, // 召唤师 quality 3
{uuid: 5008,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
],
3:[
{uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5001,dropRate: 5,num_max: 5,type:1}, // 圣盾战 quality 3
{uuid: 5002,dropRate: 30,num_max: 5,type:1}, // 火女 quality 1
{uuid: 5003,dropRate: 30,num_max: 5,type:1}, // 牧师 quality 1
{uuid: 5004,dropRate: 15,num_max: 5,type:1}, // 自愈骑 quality 2
{uuid: 5005,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5006,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5007,dropRate: 5,num_max: 5,type:1}, // 召唤师 quality 3
{uuid: 5008,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
],
}
export const BoxDropCount={
@@ -299,38 +299,38 @@ export const HeroChipDropCount={
//HeroChipList = [5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027]
//ItemsList=[9001,1003]
//根据HeroChipListItemsList设置掉落概率
//参考 heroSet.ts 中 HeroInfo对象数据的quality值来修改DropConfigList中的dropRaten和um_max值quality值越大掉落概率越小数量越少
export const DropConfigList=[
{uuid: 5001,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5002,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5003,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5004,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5005,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5006,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5007,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5008,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5009,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5010,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5011,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5012,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5013,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5014,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5015,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5016,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5017,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5018,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5019,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5020,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5021,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5022,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5023,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5024,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5025,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5026,dropRate: 100/7,num_max: 5,type:1},
{uuid: 5027,dropRate: 100/7,num_max: 5,type:1},
{uuid: 9001,dropRate: 100,num_max: 1000,type:2},
{uuid: 1003,dropRate: 20,num_max: 1,type:2},
{uuid: 5001,dropRate: 5,num_max: 5,type:1}, // 圣盾战 quality 3
{uuid: 5002,dropRate: 30,num_max: 5,type:1}, // 火女 quality 1
{uuid: 5003,dropRate: 30,num_max: 5,type:1}, // 牧师 quality 1
{uuid: 5004,dropRate: 15,num_max: 5,type:1}, // 自愈骑 quality 2
{uuid: 5005,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5006,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5007,dropRate: 5,num_max: 5,type:1}, // 召唤师 quality 3
{uuid: 5008,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5009,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5010,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5011,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5012,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5013,dropRate: 5,num_max: 5,type:1}, // 箭雨 quality 3
{uuid: 5014,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5015,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5016,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5017,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5018,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5019,dropRate: 15,num_max: 5,type:1}, // 罗宾汉 quality 2
{uuid: 5020,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5021,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5022,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5023,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 5024,dropRate: 30,num_max: 5,type:1}, // quality 1
{uuid: 5025,dropRate: 30,num_max: 5,type:1}, // 武道家 quality 1
{uuid: 5026,dropRate: 15,num_max: 5,type:1}, // quality 2
{uuid: 5027,dropRate: 5,num_max: 5,type:1}, // quality 3
{uuid: 9001,dropRate: 100,num_max: 5000,type:2},
{uuid: 1003,dropRate: 20,num_max: 5,type:2},
]
// 使用示例:
/*
// 单次掉落

View File

@@ -63,7 +63,7 @@ export const HeroSet = {
}
export const HeroInfo = {
5001:{uuid:5001,name:"圣盾战",path:"k2",quality:3,kind:1,type:0,
5001:{uuid:5001,name:"神圣守护者",path:"k2",quality:3,kind:1,type:0,
hp:5120,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -72,7 +72,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6018,6018,6018,6018,6018,6018],sk3:[6018,6018,6018,6018,6018,6018],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5002:{uuid:5002,name:"火女",path:"m3",quality:1,kind:2,type:2,
5002:{uuid:5002,name:"炽焰女巫",path:"m3",quality:1,kind:2,type:2,
hp:3160,hp_up:110,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -81,7 +81,7 @@ export const HeroInfo = {
sk1:[6002,6002,6002,6002,6002,6002],sk2:[6012,6012,6012,6012,6012,6012],sk3:[6012,6012,6012,6012,6012,6012],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5003:{uuid:5003,name:"牧师",path:"h1",quality:1,kind:2,type:2,
5003:{uuid:5003,name:"圣光祭司",path:"h1",quality:1,kind:2,type:2,
hp:6210,hp_up:150,shp_up:100,def:50,def_up:2,sdef_up:0,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -90,7 +90,7 @@ export const HeroInfo = {
sk1:[6004,6004,6004,6004,6004,6004],sk2:[6017,6017,6017,6017,6017,6017],sk3:[6017,6017,6017,6017,6017,6017],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5004:{uuid:5004,name:"自愈骑",path:"k3",quality:2,kind:1,type:0,
5004:{uuid:5004,name:"不朽骑士",path:"k3",quality:2,kind:1,type:0,
hp:5510,hp_up:120,shp_up:100,def:100,def_up:15,sdef_up:50,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -99,7 +99,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6032,6032,6032,6032,6032,6032],sk3:[6032,6032,6032,6032,6032,6032],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,10,15,20,25,30],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈","受攻击后有几率触发自愈"]},
5005:{uuid:5005,name:"船长",path:"cz1",quality:3,kind:2,type:0,
5005:{uuid:5005,name:"雷霆船长",path:"cz1",quality:3,kind:2,type:0,
hp:4720,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -108,7 +108,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6026,6026,6026,6026,6026,6026],sk3:[6026,6026,6026,6026,6026,6026],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5006:{uuid:5006,name:"亚瑟王",path:"k5",quality:3,kind:2,type:0,
5006:{uuid:5006,name:"战争领主",path:"k5",quality:3,kind:2,type:0,
hp:5230,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -117,7 +117,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5007:{uuid:5007,name:"召唤师",path:"zh1",quality:3,kind:2,type:2,
5007:{uuid:5007,name:"混沌召唤师",path:"zh1",quality:3,kind:2,type:2,
hp:6160,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -126,7 +126,7 @@ export const HeroInfo = {
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6031,6031,6031,6031,6031,6031],sk3:[6031,6031,6031,6031,6031,6031],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5008:{uuid:5008,name:"冰女",path:"df3",quality:3,kind:2,type:2,
5008:{uuid:5008,name:"冰雪圣女",path:"df3",quality:3,kind:2,type:2,
hp:3120,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -144,7 +144,7 @@ export const HeroInfo = {
sk1:[6001,6001,6001,6001,6001,6001],sk2:[6016,6016,6016,6016,6016,6016],sk3:[6016,6016,6016,6016,6016,6016],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5010:{uuid:5010,name:"恢复德",path:"d1",quality:3,kind:2,type:2,
5010:{uuid:5010,name:"生命圣者",path:"d1",quality:3,kind:2,type:2,
hp:6220,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -153,7 +153,7 @@ export const HeroInfo = {
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6028,6028,6028,6028,6028,6028],sk3:[6028,6028,6028,6028,6028,6028],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5011:{uuid:5011,name:"加攻德",path:"d2",quality:3,kind:2,type:2,
5011:{uuid:5011,name:"战争祭祀",path:"d2",quality:3,kind:2,type:2,
hp:6010,hp_up:150,shp_up:100,def:50,def_up:3,sdef_up:0,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -162,7 +162,7 @@ export const HeroInfo = {
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6019,6019,6019,6019,6019,6019],sk3:[6019,6019,6019,6019,6019,6019],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5012:{uuid:5012,name:"剑圣",path:"k1",quality:3,kind:2,type:0,
5012:{uuid:5012,name:"幻影剑豪",path:"k1",quality:3,kind:2,type:0,
hp:4650,hp_up:130,shp_up:100,def:100,def_up:16,sdef_up:50,ap:100,ap_up:6,
sap_up:100,atp:1,vun:0,crit:40,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -171,7 +171,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6024,6024,6024,6024,6024,6024],sk3:[6024,6024,6024,6024,6024,6024],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5013:{uuid:5013,name:"箭雨",path:"a5",quality:3,kind:2,type:1,
5013:{uuid:5013,name:"暴风射手",path:"a5",quality:3,kind:2,type:1,
hp:3080,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -180,7 +180,7 @@ export const HeroInfo = {
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6034,6034,6034,6034,6034,6034],sk3:[6034,6034,6034,6034,6034,6034],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5014:{uuid:5014,name:"鹰眼",path:"a3",quality:3,kind:1,type:1,
5014:{uuid:5014,name:"苍穹射手",path:"a3",quality:3,kind:1,type:1,
hp:3230,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -189,7 +189,7 @@ export const HeroInfo = {
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6014,6014,6014,6014,6014,6014],sk3:[6014,6014,6014,6014,6014,6014],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5015:{uuid:5015,name:"狙击手",path:"a4",quality:3,kind:2,type:1,
5015:{uuid:5015,name:"幽灵射手",path:"a4",quality:3,kind:2,type:1,
hp:3090,hp_up:110,shp_up:100,def:50,def_up:3,sdef_up:0,ap:150,ap_up:12,
sap_up:100,atp:1,vun:0,crit:40,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -207,7 +207,7 @@ export const HeroInfo = {
sk1:[6003,6003,6003,6003,6003,6003],sk2:[6013,6013,6013,6013,6013,6013],sk3:[6013,6013,6013,6013,6013,6013],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5017:{uuid:5017,name:"院长",path:"m2",quality:2,kind:1,type:2,
5017:{uuid:5017,name:"星辰法师",path:"m2",quality:2,kind:1,type:2,
hp:3300,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -216,7 +216,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6029,6029,6029,6029,6029,6029],sk3:[6029,6029,6029,6029,6029,6029],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5018:{uuid:5018,name:"绿箭",path:"a1",quality:1,kind:1,type:1,
5018:{uuid:5018,name:"月光游侠",path:"a1",quality:1,kind:1,type:1,
hp:3110,hp_up:90,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:9,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -225,7 +225,7 @@ export const HeroInfo = {
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6015,6015,6015,6015,6015,6015],sk3:[6015,6015,6015,6015,6015,6015],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5019:{uuid:5019,name:"罗宾汉",path:"a2",quality:2,kind:1,type:1,
5019:{uuid:5019,name:"翠影神射手",path:"a2",quality:2,kind:1,type:1,
hp:3210,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:400,
a_cd:1.2,speed:80,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -234,7 +234,7 @@ export const HeroInfo = {
sk1:[6006,6006,6006,6006,6006,6006],sk2:[6016,6016,6016,6016,6016,6016],sk3:[6016,6016,6016,6016,6016,6016],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5020:{uuid:5020,name:"爆锤",path:"ft1",quality:2,kind:2,type:0,
5020:{uuid:5020,name:"碎山者",path:"ft1",quality:2,kind:2,type:0,
hp:4650,hp_up:120,shp_up:100,def:100,def_up:15,sdef_up:50,ap:100,ap_up:5,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,
@@ -243,7 +243,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6033,6033,6033,6033,6033,6033],sk3:[6032,6032,6032,6032,6032,6032],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5021:{uuid:5021,name:"冰男",path:"m7",quality:2,kind:2,type:2,
5021:{uuid:5021,name:"寒冰法师",path:"m7",quality:2,kind:2,type:2,
hp:3210,hp_up:100,shp_up:100,def:50,def_up:2,sdef_up:0,ap:150,ap_up:10,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:500,
a_cd:1.5,speed:50,lvexp:0,slvexp:0,slv:0,aexp:6,uaexp:1,cexp:10,
@@ -279,7 +279,7 @@ export const HeroInfo = {
sk1:[6005,6005,6005,6005,6005,6005],sk2:[6027,6027,6027,6027,6027,6027],sk3:[6027,6027,6027,6027,6027,6027],akr:[0,0,0,0,0,0],akc:[1,1,1,1,1,1],
uar:[0,0,0,0,0,0],uac:[1,1,1,1,1,1],dgr:[0,0,0,0,0,0],dgc:[1,1,1,1,1,1],crr:[0,0,0,0,0,0],
crc:[1,1,1,1,1,1],tals:["无","无","无","无","无"]},
5025:{uuid:5025,name:"武道家",path:"k4",quality:1,kind:2,type:0,
5025:{uuid:5025,name:"烈焰武神",path:"k4",quality:1,kind:2,type:0,
hp:4550,hp_up:110,shp_up:100,def:100,def_up:14,sdef_up:50,ap:100,ap_up:4,
sap_up:100,atp:1,vun:0,crit:20,crit_add:0,ucr:0,dodge:0,dis:180,
a_cd:1,speed:120,lvexp:0,slvexp:0,slv:0,aexp:5,uaexp:2,cexp:5,

View File

@@ -405,7 +405,7 @@ export class HeroViewComp extends CCComp {
{
let i = RandomManager.instance.getRandomInt(0,100,3)
if(i < this.crit_max){
this.BUFFCOMP.tooltip(5,"*会心一击*");
// this.BUFFCOMP.tooltip(5,"*会心一击*");
this.crit_count += 1
this.exp_add(this.cexp) // 暴击经验
this.power_add(this.cpw)

View File

@@ -45,7 +45,7 @@ export class LuckHomeCompComp extends CCComp {
this.get_reward(1)
}
open_mb() {
if (smc.vmdata.box.num <=0) {oops.gui.toast("宝箱数量不足");return;}
if (smc.vmdata.box.num < 5) {oops.gui.toast("宝箱数量不足");return;}
smc.vmdata.box.num=smc.vmdata.box.num-5;
this.open_reward()
for (let x = 0; x < 5; x++) {
@@ -53,7 +53,7 @@ export class LuckHomeCompComp extends CCComp {
}
}
open_lb() {
if (smc.vmdata.box.num <=0) {oops.gui.toast("宝箱数量不足");return;}
if (smc.vmdata.box.num < 15) {oops.gui.toast("宝箱数量不足");return;}
smc.vmdata.box.num=smc.vmdata.box.num-15;
this.open_reward()
for (let x = 0; x < 15; x++) {

View File

@@ -20,7 +20,7 @@ export class TooltipCom extends CCComp {
stype:number = 1; // 1:减少生命值2增加生命值3技能图标
value:string = "";
s_uuid:number = 1001;
alive_time:number = 0.2;
alive_time:number = 0.3;
skill_name_time=0.5;
scale:number = 1;
start() {
@@ -29,68 +29,41 @@ export class TooltipCom extends CCComp {
this.node.setSiblingIndex(1);
this.node.getChildByName("loss_life").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("loss_life").active=true;
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y+40), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
this.scheduleOnce(()=>{
this.ent.destroy()
},0.5)
break
case 2:
this.node.setSiblingIndex(1);
this.node.getChildByName("add_life").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("add_life").active=true;
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y+40), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
this.scheduleOnce(()=>{
this.ent.destroy()
},0.5)
break
case 4:
this.node.setSiblingIndex(2);
this.node.getChildByName("bloss").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("bloss").active=true;
this.scheduleOnce(()=>{
this.ent.destroy()
},0.5)
break
case 3:
this.node.getChildByName("skill").getChildByName("name").getComponent(Label).string = "<"+SkillSet[this.s_uuid].name+">";
this.node.getChildByName("skill").active=true;
this.node.setPosition(v3(this.node.position.x,this.node.position.y+60))
// this.alive_time = 2
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
this.node.setPosition(v3(this.node.position.x,this.node.position.y+30))
this.scheduleOnce(()=>{
this.ent.destroy()
},0.5)
break
case 4:
this.node.setSiblingIndex(1);
this.node.getChildByName("bloss").getChildByName("hp").getComponent(Label).string = this.value;
this.node.getChildByName("bloss").active=true;
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y+40), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
break
case 5:
this.node.getChildByName("uskill").getChildByName("name").getComponent(Label).string = this.value;
this.node.getChildByName("uskill").active=true;
this.node.setPosition(v3(this.node.position.x,this.node.position.y+60))
// this.alive_time = 2
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
this.node.setPosition(v3(this.node.position.x,this.node.position.y+30))
this.scheduleOnce(()=>{
this.ent.destroy()
},0.5)
break
}
console.log("TooltipView start:",this.node.getSiblingIndex());
@@ -98,10 +71,21 @@ export class TooltipCom extends CCComp {
}
update(deltaTime: number) {
}
do_up(){
tween(this.node).to(
this.alive_time,
{position:v3(this.node.position.x,this.node.position.y+60), },
{
onComplete:()=>{ this.ent.destroy()},
easing:"linear"
}
).start()
}
to_destroy() {
this.ent.destroy()
}
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
reset() {
this.node.destroy();

View File

@@ -9,7 +9,7 @@ import { smc } from '../common/SingletonModuleComp';
import { HeroInfo } from '../common/config/heroSet';
import { oops } from 'db://oops-framework/core/Oops';
const { ccclass, property } = _decorator;
//这是召唤技能
@ccclass('ZhanCom')
export class ZhanCom extends Component {
base:SkillCom = null