Phase2.1 添加武器tag配置和数据表定义

This commit is contained in:
2026-09-27 18:21:26 +08:00
parent 4ac79f0101
commit e0488cc790
47 changed files with 1249 additions and 169 deletions
Binary file not shown.
+113 -63
View File
@@ -2,151 +2,201 @@
{
"id": 1001,
"goodsType": 1,
"propId": 1001,
"weaponType": 0
"refId": 1001
},
{
"id": 1002,
"goodsType": 2,
"propId": 0,
"weaponType": 1
"goodsType": 1,
"refId": 1002
},
{
"id": 1003,
"goodsType": 1,
"propId": 1002,
"weaponType": 0
"refId": 1003
},
{
"id": 1004,
"goodsType": 1,
"propId": 1003,
"weaponType": 0
"refId": 1004
},
{
"id": 1005,
"goodsType": 1,
"propId": 1004,
"weaponType": 0
"refId": 1005
},
{
"id": 1006,
"goodsType": 2,
"propId": 0,
"weaponType": 2
"goodsType": 1,
"refId": 1006
},
{
"id": 1007,
"goodsType": 1,
"propId": 1005,
"weaponType": 0
"refId": 1007
},
{
"id": 1008,
"goodsType": 1,
"propId": 1006,
"weaponType": 0
"refId": 1008
},
{
"id": 1009,
"goodsType": 1,
"propId": 1007,
"weaponType": 0
"refId": 1009
},
{
"id": 1010,
"goodsType": 1,
"propId": 1008,
"weaponType": 0
"refId": 1010
},
{
"id": 1011,
"goodsType": 1,
"propId": 1009,
"weaponType": 0
"refId": 1011
},
{
"id": 1012,
"goodsType": 1,
"propId": 1010,
"weaponType": 0
"refId": 1012
},
{
"id": 1013,
"goodsType": 1,
"propId": 1011,
"weaponType": 0
"refId": 1013
},
{
"id": 1014,
"goodsType": 1,
"propId": 1012,
"weaponType": 0
"refId": 1014
},
{
"id": 1015,
"goodsType": 1,
"propId": 1013,
"weaponType": 0
"refId": 1015
},
{
"id": 1016,
"goodsType": 1,
"propId": 1014,
"weaponType": 0
"refId": 1016
},
{
"id": 1017,
"goodsType": 1,
"propId": 1015,
"weaponType": 0
"refId": 1017
},
{
"id": 1018,
"goodsType": 1,
"propId": 1016,
"weaponType": 0
"refId": 1018
},
{
"id": 1019,
"goodsType": 1,
"propId": 1017,
"weaponType": 0
"refId": 1019
},
{
"id": 1020,
"goodsType": 1,
"propId": 1018,
"weaponType": 0
"refId": 1020
},
{
"id": 1021,
"goodsType": 1,
"propId": 1019,
"weaponType": 0
},
{
"id": 1022,
"goodsType": 1,
"propId": 1020,
"weaponType": 0
},
{
"id": 1023,
"id": 2001,
"goodsType": 2,
"propId": 0,
"weaponType": 3
"refId": 1001
},
{
"id": 1024,
"id": 2002,
"goodsType": 2,
"propId": 0,
"weaponType": 4
"refId": 1002
},
{
"id": 1025,
"id": 2003,
"goodsType": 2,
"propId": 0,
"weaponType": 5
"refId": 1003
},
{
"id": 2004,
"goodsType": 2,
"refId": 1004
},
{
"id": 2005,
"goodsType": 2,
"refId": 2001
},
{
"id": 2006,
"goodsType": 2,
"refId": 2002
},
{
"id": 2007,
"goodsType": 2,
"refId": 2003
},
{
"id": 2008,
"goodsType": 2,
"refId": 2004
},
{
"id": 2009,
"goodsType": 2,
"refId": 3001
},
{
"id": 2010,
"goodsType": 2,
"refId": 3002
},
{
"id": 2011,
"goodsType": 2,
"refId": 3003
},
{
"id": 2012,
"goodsType": 2,
"refId": 3004
},
{
"id": 2013,
"goodsType": 2,
"refId": 4001
},
{
"id": 2014,
"goodsType": 2,
"refId": 4002
},
{
"id": 2015,
"goodsType": 2,
"refId": 4003
},
{
"id": 2016,
"goodsType": 2,
"refId": 4004
},
{
"id": 2017,
"goodsType": 2,
"refId": 5001
},
{
"id": 2018,
"goodsType": 2,
"refId": 5002
},
{
"id": 2019,
"goodsType": 2,
"refId": 5003
},
{
"id": 2020,
"goodsType": 2,
"refId": 5004
}
]
Binary file not shown.
@@ -2,7 +2,6 @@
{
"Id": 1001,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
@@ -10,7 +9,6 @@
{
"Id": 1002,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
@@ -18,7 +16,6 @@
{
"Id": 1003,
"WhiteWeight": 75,
"GreenWeight": 20,
"BlueWeight": 4,
"PurpleWeight": 1,
"RedWeight": 0
@@ -26,7 +23,6 @@
{
"Id": 1004,
"WhiteWeight": 30,
"GreenWeight": 50,
"BlueWeight": 15,
"PurpleWeight": 4,
"RedWeight": 1
@@ -34,7 +30,6 @@
{
"Id": 1005,
"WhiteWeight": 30,
"GreenWeight": 50,
"BlueWeight": 15,
"PurpleWeight": 4,
"RedWeight": 1
@@ -42,7 +37,6 @@
{
"Id": 1006,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
@@ -50,7 +44,6 @@
{
"Id": 1007,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
@@ -58,7 +51,6 @@
{
"Id": 1008,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
@@ -66,7 +58,6 @@
{
"Id": 1009,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
@@ -74,7 +65,6 @@
{
"Id": 1010,
"WhiteWeight": 10,
"GreenWeight": 20,
"BlueWeight": 40,
"PurpleWeight": 20,
"RedWeight": 10
Binary file not shown.
+5 -5
View File
@@ -69,7 +69,7 @@
{
"id": 1004,
"name": "泰坦壁垒",
"rarity": 5,
"rarity": 4,
"price": 423,
"statModifierConfigs": [
{
@@ -140,7 +140,7 @@
{
"id": 1008,
"name": "暗影之刃",
"rarity": 5,
"rarity": 4,
"price": 433,
"statModifierConfigs": [
{
@@ -211,7 +211,7 @@
{
"id": 1012,
"name": "不死鸟之心",
"rarity": 5,
"rarity": 4,
"price": 443,
"statModifierConfigs": [
{
@@ -287,7 +287,7 @@
{
"id": 1016,
"name": "幻影斗篷",
"rarity": 5,
"rarity": 4,
"price": 454,
"statModifierConfigs": [
{
@@ -368,7 +368,7 @@
{
"id": 1020,
"name": "战神勋章",
"rarity": 5,
"rarity": 4,
"price": 464,
"statModifierConfigs": [
{
Binary file not shown.
+435 -6
View File
@@ -1,7 +1,15 @@
[
{
"id": 1001,
"weaponType": 1,
"weaponName": "小刀",
"tags": [
1,
2
],
"logicType": "WeaponKnife",
"scalingStat": 5,
"scalingRatio": 0.2,
"rarity": 1,
"price": 120,
"attack": 100,
@@ -20,8 +28,99 @@
"sprite": "小刀"
},
{
"id": 1002,
"weaponType": 1,
"weaponName": "小刀",
"tags": [
1,
2
],
"logicType": "WeaponKnife",
"scalingStat": 5,
"scalingRatio": 0.2,
"rarity": 2,
"price": 200,
"attack": 150,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5.2,
"attackSoundId": 10000,
"parameters": [
[
1,
2.2
]
],
"statModifierConfigs": [],
"prefab": "WeaponKnife",
"sprite": "小刀"
},
{
"id": 1003,
"weaponType": 1,
"weaponName": "小刀",
"tags": [
1,
2
],
"logicType": "WeaponKnife",
"scalingStat": 5,
"scalingRatio": 0.2,
"rarity": 3,
"price": 300,
"attack": 200,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5.4,
"attackSoundId": 10000,
"parameters": [
[
1,
2.4
]
],
"statModifierConfigs": [],
"prefab": "WeaponKnife",
"sprite": "小刀"
},
{
"id": 1004,
"weaponType": 1,
"weaponName": "小刀",
"tags": [
1,
2
],
"logicType": "WeaponKnife",
"scalingStat": 5,
"scalingRatio": 0.2,
"rarity": 4,
"price": 400,
"attack": 250,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5.5,
"attackSoundId": 10000,
"parameters": [
[
1,
2.5
]
],
"statModifierConfigs": [],
"prefab": "WeaponKnife",
"sprite": "小刀"
},
{
"id": 2001,
"weaponType": 2,
"weaponName": "手枪",
"tags": [
3
],
"logicType": "WeaponHandgun",
"scalingStat": 8,
"scalingRatio": 0.5,
"rarity": 1,
"price": 130,
"attack": 120,
@@ -35,8 +134,82 @@
"sprite": "手枪"
},
{
"id": 2002,
"weaponType": 2,
"weaponName": "手枪",
"tags": [
3
],
"logicType": "WeaponHandgun",
"scalingStat": 8,
"scalingRatio": 0.5,
"rarity": 2,
"price": 150,
"attack": 130,
"cooldown": 1,
"damageType": 2,
"attackRange": 20,
"attackSoundId": 10000,
"parameters": [],
"statModifierConfigs": [],
"prefab": "WeaponHandgun",
"sprite": "手枪"
},
{
"id": 2003,
"weaponType": 2,
"weaponName": "手枪",
"tags": [
3
],
"logicType": "WeaponHandgun",
"scalingStat": 8,
"scalingRatio": 0.5,
"rarity": 3,
"price": 170,
"attack": 140,
"cooldown": 1,
"damageType": 2,
"attackRange": 23,
"attackSoundId": 10000,
"parameters": [],
"statModifierConfigs": [],
"prefab": "WeaponHandgun",
"sprite": "手枪"
},
{
"id": 2004,
"weaponType": 2,
"weaponName": "手枪",
"tags": [
3
],
"logicType": "WeaponHandgun",
"scalingStat": 8,
"scalingRatio": 0.5,
"rarity": 4,
"price": 200,
"attack": 150,
"cooldown": 1,
"damageType": 2,
"attackRange": 25,
"attackSoundId": 10000,
"parameters": [],
"statModifierConfigs": [],
"prefab": "WeaponHandgun",
"sprite": "手枪"
},
{
"id": 3001,
"weaponType": 3,
"weaponName": "斧头",
"tags": [
1,
5
],
"logicType": "WeaponSlash",
"scalingStat": 5,
"scalingRatio": 0.8,
"rarity": 1,
"price": 100,
"attack": 150,
@@ -55,8 +228,99 @@
"sprite": "斧头"
},
{
"id": 3002,
"weaponType": 3,
"weaponName": "斧头",
"tags": [
1,
5
],
"logicType": "WeaponSlash",
"scalingStat": 5,
"scalingRatio": 0.8,
"rarity": 2,
"price": 140,
"attack": 200,
"cooldown": 2,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
2,
120
]
],
"statModifierConfigs": [],
"prefab": "WeaponSlash",
"sprite": "斧头"
},
{
"id": 3003,
"weaponType": 3,
"weaponName": "斧头",
"tags": [
1,
5
],
"logicType": "WeaponSlash",
"scalingStat": 5,
"scalingRatio": 0.8,
"rarity": 3,
"price": 180,
"attack": 300,
"cooldown": 2,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
2,
120
]
],
"statModifierConfigs": [],
"prefab": "WeaponSlash",
"sprite": "斧头"
},
{
"id": 3004,
"weaponType": 3,
"weaponName": "斧头",
"tags": [
1,
5
],
"logicType": "WeaponSlash",
"scalingStat": 5,
"scalingRatio": 0.8,
"rarity": 4,
"price": 300,
"attack": 400,
"cooldown": 2,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
2,
120
]
],
"statModifierConfigs": [],
"prefab": "WeaponSlash",
"sprite": "斧头"
},
{
"id": 4001,
"weaponType": 4,
"weaponName": "闪电",
"tags": [
7
],
"logicType": "WeaponLightning",
"scalingStat": 7,
"scalingRatio": 0.5,
"rarity": 1,
"price": 150,
"attack": 80,
@@ -75,8 +339,97 @@
"sprite": "闪电"
},
{
"id": 4002,
"weaponType": 4,
"weaponName": "闪电",
"tags": [
7
],
"logicType": "WeaponLightning",
"scalingStat": 7,
"scalingRatio": 0.5,
"rarity": 2,
"price": 180,
"attack": 80,
"cooldown": 2.8,
"damageType": 4,
"attackRange": 12,
"attackSoundId": 10000,
"parameters": [
[
1,
3
]
],
"statModifierConfigs": [],
"prefab": "WeaponLightning",
"sprite": "闪电"
},
{
"id": 4003,
"weaponType": 4,
"weaponName": "闪电",
"tags": [
7
],
"logicType": "WeaponLightning",
"scalingStat": 7,
"scalingRatio": 0.5,
"rarity": 3,
"price": 200,
"attack": 80,
"cooldown": 2.7,
"damageType": 4,
"attackRange": 12,
"attackSoundId": 10000,
"parameters": [
[
1,
3
]
],
"statModifierConfigs": [],
"prefab": "WeaponLightning",
"sprite": "闪电"
},
{
"id": 4004,
"weaponType": 4,
"weaponName": "闪电",
"tags": [
7
],
"logicType": "WeaponLightning",
"scalingStat": 7,
"scalingRatio": 0.5,
"rarity": 4,
"price": 250,
"attack": 80,
"cooldown": 2.5,
"damageType": 4,
"attackRange": 12,
"attackSoundId": 10000,
"parameters": [
[
1,
3
]
],
"statModifierConfigs": [],
"prefab": "WeaponLightning",
"sprite": "闪电"
},
{
"id": 5001,
"weaponType": 5,
"weaponName": "长枪",
"tags": [
1,
6
],
"logicType": "WeaponLance",
"scalingStat": 9,
"scalingRatio": 1,
"rarity": 1,
"price": 100,
"attack": 100,
@@ -88,14 +441,90 @@
[
3,
0.7
],
]
],
"statModifierConfigs": [],
"prefab": "WeaponLance",
"sprite": "长枪"
},
{
"id": 5002,
"weaponType": 5,
"weaponName": "长枪",
"tags": [
1,
6
],
"logicType": "WeaponLance",
"scalingStat": 9,
"scalingRatio": 1,
"rarity": 2,
"price": 200,
"attack": 100,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
4,
4.5
],
3,
0.7
]
],
"statModifierConfigs": [],
"prefab": "WeaponLance",
"sprite": "长枪"
},
{
"id": 5003,
"weaponType": 5,
"weaponName": "长枪",
"tags": [
1,
6
],
"logicType": "WeaponLance",
"scalingStat": 9,
"scalingRatio": 1,
"rarity": 3,
"price": 300,
"attack": 100,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
5,
0.5
3,
0.7
]
],
"statModifierConfigs": [],
"prefab": "WeaponLance",
"sprite": "长枪"
},
{
"id": 5004,
"weaponType": 5,
"weaponName": "长枪",
"tags": [
1,
6
],
"logicType": "WeaponLance",
"scalingStat": 9,
"scalingRatio": 1,
"rarity": 4,
"price": 400,
"attack": 100,
"cooldown": 1.5,
"damageType": 1,
"attackRange": 5,
"attackSoundId": 10000,
"parameters": [
[
3,
0.7
]
],
"statModifierConfigs": [],
Binary file not shown.
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: aa0f76bdb9694ea45b17171cdb5aa41a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,259 @@
[
{
"id": 101,
"tag": 1,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 5,
"value": 1,
"modifierType": 100
}
]
},
{
"id": 102,
"tag": 1,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 5,
"value": 3,
"modifierType": 100
}
]
},
{
"id": 103,
"tag": 1,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 5,
"value": 8,
"modifierType": 100
},
{
"statType": 3,
"value": 0.05,
"modifierType": 100
}
]
},
{
"id": 201,
"tag": 2,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.03,
"modifierType": 100
}
]
},
{
"id": 202,
"tag": 2,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.08,
"modifierType": 100
}
]
},
{
"id": 203,
"tag": 2,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 9,
"value": 0.15,
"modifierType": 100
}
]
},
{
"id": 301,
"tag": 3,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 11,
"value": 10,
"modifierType": 100
}
]
},
{
"id": 302,
"tag": 3,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 11,
"value": 25,
"modifierType": 100
}
]
},
{
"id": 303,
"tag": 3,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 11,
"value": 50,
"modifierType": 100
}
]
},
{
"id": 401,
"tag": 4,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 10,
"value": 2,
"modifierType": 100
}
]
},
{
"id": 402,
"tag": 4,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 10,
"value": 5,
"modifierType": 100
}
]
},
{
"id": 403,
"tag": 4,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 10,
"value": 10,
"modifierType": 100
}
]
},
{
"id": 501,
"tag": 5,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 12,
"value": 1,
"modifierType": 100
}
]
},
{
"id": 502,
"tag": 5,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 12,
"value": 3,
"modifierType": 100
}
]
},
{
"id": 503,
"tag": 5,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 12,
"value": 6,
"modifierType": 100
}
]
},
{
"id": 601,
"tag": 6,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 1,
"value": 3,
"modifierType": 100
}
]
},
{
"id": 602,
"tag": 6,
"requiredCount": 3,
"statModifierConfigs": [
{
"statType": 1,
"value": 6,
"modifierType": 100
}
]
},
{
"id": 603,
"tag": 6,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 1,
"value": 15,
"modifierType": 100
}
]
},
{
"id": 701,
"tag": 7,
"requiredCount": 2,
"statModifierConfigs": [
{
"statType": 7,
"value": 1,
"modifierType": 100
}
]
},
{
"id": 702,
"tag": 7,
"requiredCount": 4,
"statModifierConfigs": [
{
"statType": 7,
"value": 3,
"modifierType": 100
}
]
},
{
"id": 703,
"tag": 7,
"requiredCount": 6,
"statModifierConfigs": [
{
"statType": 7,
"value": 7,
"modifierType": 100
}
]
}
]
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 539ec5eae528e654dbaf3e4a48e227aa
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: