调整部分数据表配置,优化 SpriteCache 功能
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"id": 1001,
|
||||
"name": "小刀",
|
||||
"weaponType": 1,
|
||||
"logicType": "WeaponKnife",
|
||||
"rarity": 1,
|
||||
"price": 120,
|
||||
"attack": 100,
|
||||
@@ -15,11 +15,12 @@
|
||||
]
|
||||
],
|
||||
"modifiers": [],
|
||||
"prefab": "WeaponKnife"
|
||||
"prefab": "WeaponKnife",
|
||||
"sprite": "小刀"
|
||||
},
|
||||
{
|
||||
"id": 1002,
|
||||
"name": "手枪",
|
||||
"weaponType": 2,
|
||||
"logicType": "WeaponHandgun",
|
||||
"rarity": 1,
|
||||
"price": 130,
|
||||
"attack": 120,
|
||||
@@ -28,11 +29,12 @@
|
||||
"attackSoundId": 10000,
|
||||
"parameters": [],
|
||||
"modifiers": [],
|
||||
"prefab": "WeaponHandgun"
|
||||
"prefab": "WeaponHandgun",
|
||||
"sprite": "手枪"
|
||||
},
|
||||
{
|
||||
"id": 1003,
|
||||
"name": "斧头",
|
||||
"weaponType": 3,
|
||||
"logicType": "WeaponSlash",
|
||||
"rarity": 1,
|
||||
"price": 100,
|
||||
"attack": 150,
|
||||
@@ -46,11 +48,12 @@
|
||||
]
|
||||
],
|
||||
"modifiers": [],
|
||||
"prefab": "WeaponSlash"
|
||||
"prefab": "WeaponSlash",
|
||||
"sprite": "斧头"
|
||||
},
|
||||
{
|
||||
"id": 1004,
|
||||
"name": "闪电",
|
||||
"weaponType": 4,
|
||||
"logicType": "WeaponLightning",
|
||||
"rarity": 1,
|
||||
"price": 150,
|
||||
"attack": 80,
|
||||
@@ -64,11 +67,12 @@
|
||||
]
|
||||
],
|
||||
"modifiers": [],
|
||||
"prefab": "WeaponLightning"
|
||||
"prefab": "WeaponLightning",
|
||||
"sprite": "闪电"
|
||||
},
|
||||
{
|
||||
"id": 1005,
|
||||
"name": "长枪",
|
||||
"weaponType": 5,
|
||||
"logicType": "WeaponLance",
|
||||
"rarity": 1,
|
||||
"price": 100,
|
||||
"attack": 100,
|
||||
@@ -90,6 +94,7 @@
|
||||
]
|
||||
],
|
||||
"modifiers": [],
|
||||
"prefab": "WeaponLance"
|
||||
"prefab": "WeaponLance",
|
||||
"sprite": "长枪"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user