Phase2.1 添加武器tag配置和数据表定义
This commit is contained in:
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user